1from scipy.io import wavfile
2
3#To read your file ('filename.wav'), simply do
4
5output = wavfile.read('filename.wav')
1from scipy.io import wavfile
2#To read your file ('filename.wav'), simply do
3
4output = wavfile.read('filename.wav')
5#This will output a tuple (which I named 'output'):
6
7#output[0], the sampling rate
8#output[1], the sample array you want to analyze