📅  最后修改于: 2022-03-11 14:47:14.704000             🧑  作者: Mango
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