📜  wav 文件到数组 python 代码示例

📅  最后修改于: 2022-03-11 14:47:14.704000             🧑  作者: Mango

代码示例2
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