Blog‎ > ‎

MFCC in Python

posted Dec 18, 2019, 1:04 AM by MUHAMMAD MUN`IM AHMAD ZABIDI   [ updated Dec 18, 2019, 1:20 AM ]
Easy with librosa.
The code below gives an array with dim (40,40).

import librosa

sound_clip, s = librosa.load(filename.wav)
mfcc=librosa.feature.mfcc(sound_clip, n_mfcc=40, n_mels=60)

Comments