📜  如何使用 python 代码示例加载 wav 文件

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

代码示例1
from scipy.io import wavfile
samplerate, data = wavfile.read('./output/audio.wav')

# method 2
import librosa
#Store the sampling rate as `sr`
y, sr = librosa.load(filename)