I wanted to display an mp3 file as a waveform in order to extract the characteristics of the music.
test.py
import librosa
a = librosa.load('test.mp3')
librosa.display.waveplot(a[0],sr=22050)
I referred to the following. Urban Sound Classification with Neural Networks in Tensorflow
Thank you very much.
Recommended Posts