@@ -207,10 +207,10 @@ def spectrogram(
207207 blackman_coeff (float): Constant coefficient for generalized Blackman window. (Default: ``0.42``)
208208 channel (int): Channel to extract (-1 -> expect mono, 0 -> left, 1 -> right) (Default: ``-1``)
209209 dither (float): Dithering constant (0.0 means no dither). If you turn this off, you should set
210- the energy_floor option, e.g. to 1.0 or 0.1 (Default: ``1 .0``)
210+ the energy_floor option, e.g. to 1.0 or 0.1 (Default: ``0 .0``)
211211 energy_floor (float): Floor on energy (absolute, not relative) in Spectrogram computation. Caution:
212212 this floor is applied to the zeroth component, representing the total signal energy. The floor on the
213- individual spectrogram elements is fixed at std::numeric_limits<float>::epsilon(). (Default: ``0 .0``)
213+ individual spectrogram elements is fixed at std::numeric_limits<float>::epsilon(). (Default: ``1 .0``)
214214 frame_length (float): Frame length in milliseconds (Default: ``25.0``)
215215 frame_shift (float): Frame shift in milliseconds (Default: ``10.0``)
216216 min_duration (float): Minimum duration of segments to process (in seconds). (Default: ``0.0``)
@@ -443,10 +443,10 @@ def fbank(
443443 blackman_coeff (float): Constant coefficient for generalized Blackman window. (Default: ``0.42``)
444444 channel (int): Channel to extract (-1 -> expect mono, 0 -> left, 1 -> right) (Default: ``-1``)
445445 dither (float): Dithering constant (0.0 means no dither). If you turn this off, you should set
446- the energy_floor option, e.g. to 1.0 or 0.1 (Default: ``1 .0``)
446+ the energy_floor option, e.g. to 1.0 or 0.1 (Default: ``0 .0``)
447447 energy_floor (float): Floor on energy (absolute, not relative) in Spectrogram computation. Caution:
448448 this floor is applied to the zeroth component, representing the total signal energy. The floor on the
449- individual spectrogram elements is fixed at std::numeric_limits<float>::epsilon(). (Default: ``0 .0``)
449+ individual spectrogram elements is fixed at std::numeric_limits<float>::epsilon(). (Default: ``1 .0``)
450450 frame_length (float): Frame length in milliseconds (Default: ``25.0``)
451451 frame_shift (float): Frame shift in milliseconds (Default: ``10.0``)
452452 high_freq (float): High cutoff frequency for mel bins (if <= 0, offset from Nyquist) (Default: ``0.0``)
@@ -562,10 +562,10 @@ def mfcc(
562562 cepstral_lifter (float): Constant that controls scaling of MFCCs (Default: ``22.0``)
563563 channel (int): Channel to extract (-1 -> expect mono, 0 -> left, 1 -> right) (Default: ``-1``)
564564 dither (float): Dithering constant (0.0 means no dither). If you turn this off, you should set
565- the energy_floor option, e.g. to 1.0 or 0.1 (Default: ``1 .0``)
565+ the energy_floor option, e.g. to 1.0 or 0.1 (Default: ``0 .0``)
566566 energy_floor (float): Floor on energy (absolute, not relative) in Spectrogram computation. Caution:
567567 this floor is applied to the zeroth component, representing the total signal energy. The floor on the
568- individual spectrogram elements is fixed at std::numeric_limits<float>::epsilon(). (Default: ``0 .0``)
568+ individual spectrogram elements is fixed at std::numeric_limits<float>::epsilon(). (Default: ``1 .0``)
569569 frame_length (float): Frame length in milliseconds (Default: ``25.0``)
570570 frame_shift (float): Frame shift in milliseconds (Default: ``10.0``)
571571 high_freq (float): High cutoff frequency for mel bins (if <= 0, offset from Nyquist) (Default: ``0.0``)
0 commit comments