Models the loudness as being drawn either from a Gaussian distribution
(corresponding to the background noise level) or a positive exponential
distribtion (corresponding to speech). It returns parameters of these
distributions.
- Parameters:
x - a time-series of loudness.
- Returns: tuple(float, float, float, float)
- four floats: (1) the estimate of the background noise level, (2)
the width of the noise Gaussian, (3) the mean speech level, (4)
the fraction of time with no speech (just background noise).
return (zz, sz, e, Pz)
|