Guest User

Untitled

a guest
Nov 21st, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import librosa
  2.  
  3. sample_rate = 44100
  4. mfcc_size = 13
  5.  
  6. # Load the audio
  7. pcm_data, _ = librosa.load(file_path)
  8.  
  9. # Compute a vector of n * 13 mfccs
  10. mfccs = librosa.feature.mfcc(pcm_data,
  11. sample_rate,
  12. n_mfcc=mfcc_size)
Add Comment
Please, Sign In to add comment