@@ -194,7 +194,7 @@ def _subtract_column_mean(tensor, subtract_mean):
194194
195195
196196def spectrogram (
197- waveform , blackman_coeff = 0.42 , channel = - 1 , dither = 1 .0 , energy_floor = 0 .0 ,
197+ waveform , blackman_coeff = 0.42 , channel = - 1 , dither = 0 .0 , energy_floor = 1 .0 ,
198198 frame_length = 25.0 , frame_shift = 10.0 , min_duration = 0.0 ,
199199 preemphasis_coefficient = 0.97 , raw_energy = True , remove_dc_offset = True ,
200200 round_to_power_of_two = True , sample_frequency = 16000.0 , snip_edges = True ,
@@ -429,7 +429,7 @@ def get_mel_banks(num_bins, window_length_padded, sample_freq,
429429
430430
431431def fbank (
432- waveform , blackman_coeff = 0.42 , channel = - 1 , dither = 1 .0 , energy_floor = 0 .0 ,
432+ waveform , blackman_coeff = 0.42 , channel = - 1 , dither = 0 .0 , energy_floor = 1 .0 ,
433433 frame_length = 25.0 , frame_shift = 10.0 , high_freq = 0.0 , htk_compat = False , low_freq = 20.0 ,
434434 min_duration = 0.0 , num_mel_bins = 23 , preemphasis_coefficient = 0.97 , raw_energy = True ,
435435 remove_dc_offset = True , round_to_power_of_two = True , sample_frequency = 16000.0 ,
@@ -547,8 +547,8 @@ def _get_lifter_coeffs(num_ceps, cepstral_lifter):
547547
548548
549549def mfcc (
550- waveform , blackman_coeff = 0.42 , cepstral_lifter = 22.0 , channel = - 1 , dither = 1 .0 ,
551- energy_floor = 0 .0 , frame_length = 25.0 , frame_shift = 10.0 , high_freq = 0.0 , htk_compat = False ,
550+ waveform , blackman_coeff = 0.42 , cepstral_lifter = 22.0 , channel = - 1 , dither = 0 .0 ,
551+ energy_floor = 1 .0 , frame_length = 25.0 , frame_shift = 10.0 , high_freq = 0.0 , htk_compat = False ,
552552 low_freq = 20.0 , num_ceps = 13 , min_duration = 0.0 , num_mel_bins = 23 , preemphasis_coefficient = 0.97 ,
553553 raw_energy = True , remove_dc_offset = True , round_to_power_of_two = True ,
554554 sample_frequency = 16000.0 , snip_edges = True , subtract_mean = False , use_energy = False ,
0 commit comments