compute-mfcc icon indicating copy to clipboard operation
compute-mfcc copied to clipboard

Can I modify the sample rate?

Open JefferyO opened this issue 6 years ago • 1 comments

Since I just have wav file with sample rate of 44100, can I just simply modify the sampFreq in MFCC constructor from 16000 to 44100?

JefferyO avatar Jun 25 '18 04:06 JefferyO

Yes, 44.1kHz sampling frequency (or anything greater than 20kHz) requires a larger FFT size (because 25ms window has a sample count larger than 512). I updated the scripts to change it to 2048 in such cases. Thank you for the feedback.

dspavankumar avatar Jun 25 '18 09:06 dspavankumar