In [1]:
filename = 'African Drum Music-wXV39pybgJU-sm.wav'
In [2]:
from scipy.io.wavfile import read, write
from librosa.core import stft, istft
# load wav data
_, y = read(filename)
In [5]:
from play import play
In [6]:
# play takes a numpy vector in and plays it through your speakers
play(y)