Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import librosa
- sample_rate = 44100
- mfcc_size = 13
- # Load the audio
- pcm_data, _ = librosa.load(file_path)
- # Compute a vector of n * 13 mfccs
- mfccs = librosa.feature.mfcc(pcm_data,
- sample_rate,
- n_mfcc=mfcc_size)
Add Comment
Please, Sign In to add comment