jameslyons / python_speech_features

This library provides common speech features for ASR including MFCCs and filterbank energies.
MIT License
2.37k stars 618 forks source link

missing frequencies in Mel FillterBank #83

Open saddlekiller opened 5 years ago

saddlekiller commented 5 years ago

Hi,

When I tried to extract fbank features I found missing frequencies. So, I checked the filter bank in your code and found this: image I am curious about why remove values in 2nd and 6th rows? Is there any trick or that's a bug actually?

tadangkhoa1999 commented 2 years ago

Hi, i have same problem. Have you fixed it?

jameslyons commented 2 years ago

Hi, i have same problem. Have you fixed it?

This is because of rounding in the mel.filterbank calculation. Increase NFFT to fix it. In any case, it wont affect the accuracy of derived features to any significant degree.