Librosa: computing MFCC

Created on 17 Dec 2018  路  3Comments  路  Source: librosa/librosa

Can I specify parameters such as frame_length and frame_shift when computing MFCC with librosa?

question

Most helpful comment

Hey @yaxiongma,

maybe you want to checkout this issue: #584

Best
Stefan

All 3 comments

Hey @yaxiongma,

maybe you want to checkout this issue: #584

Best
Stefan

@stefan-balke ,Thank you. Finally, I do it like this.
y,sr = librosa.load(wav,sr = None) frame_size = int(sr/1000*20) frame_shift = int(sr/1000*10) mfccs = librosa.feature.mfcc(y=y, sr=sr, n_mfcc=13,fmax=8000,hop_length = frame_shift, n_fft = frame_size)

moving this discussion to #804

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

alexandreCameron picture alexandreCameron  路  3Comments

danmackinlay picture danmackinlay  路  3Comments

dim5 picture dim5  路  3Comments

mvollrath picture mvollrath  路  4Comments