Answers for "how to load wav file with python"

1

how to load wav file with python

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)
Posted by: Guest on January-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language