jameslyons / python_speech_features

This library provides common speech features for ASR including MFCCs and filterbank energies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't get same result as compute-mfcc-feats.

bjtommychen opened this issue · comments

compute-mfcc-feats --window-type=hamming --dither=0.0 --use-energy=false --sample-frequency=8000 --num-mel-bins=40 --num-ceps=40 --low-freq=40 --raw-energy=false --remove-dc-offset=false --high-freq=3800 scp:wav.scp ark,scp:feats.ark,feats.scp

mfcc(signal=sig, samplerate=rate, winlen=0.025, winstep=0.01, numcep=40, nfilt=40, lowfreq=40, highfreq=3800,
appendEnergy=False, winfunc = lambda x: np.hamming(x) )

is there some difference ?

I am using a modified version of this code to produce the same results as with the compute-mfcc-feats and compute-fbank-feats commands in Kaldi. check here