pysptk.util.mcepalpha¶
-
pysptk.util.
mcepalpha
(fs, start=0.0, stop=1.0, step=0.001, num_points=1000)[source]¶ Compute appropriate frequency warping parameter given a sampling frequency
It would be useful to determine alpha parameter in mel-cepstrum analysis.
The code is traslated from https://bitbucket.org/happyalu/mcep_alpha_calc.
Parameters: - fs : int
Sampling frequency
- start : float
start value that will be passed to numpy.arange. Default is 0.0.
- stop : float
stop value that will be passed to numpy.arange. Default is 1.0.
- step : float
step value that will be passed to numpy.arange. Default is 0.001.
- num_points : int
Number of points used in approximating mel-scale vectors in fixed- length.
Returns: - alpha : float
frequency warping paramter (offen denoted by alpha)
See also