Can I specify parameters such as frame_length and frame_shift when computing MFCC with librosa?
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
Most helpful comment
Hey @yaxiongma,
maybe you want to checkout this issue: #584
Best
Stefan