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