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