Package lib :: Module pseudo_dur
[frames] | no frames]

Module pseudo_dur

source code

Duration estimator for speech.

It takes a local spectrum, bins it onto the Bark scale, converts to perceptual loudness (via **E). Then, it computes a measure of how far you can go from each point before the spectrum changes too much.

Functions
 
pdur_guts(s, t, dir, Dt, C)
t is an integer; an index into the data.
source code
 
pdur(data, dt, Dt, out, c=None, lfac=None, Nsv=None, cache_info=None)
Note that if cache_info is non-Null, it *must* uniquely identify the data.
source code
Variables
  TYP_DUR = 0.1
  __package__ = 'lib'

Imports: M, numpy, die, CC, gpkmisc, FVP, FVM


Function Details

pdur_guts(s, t, dir, Dt, C)

source code 

t is an integer; an index into the data. S is the normalized perceptual spectrum.