importing audio file onto python-3 -
i getting error when try import audio file, how import audio file?:
filenotfounderror traceback (most recent call last) <ipython-input-13-ce3f03976f66> in <module>() ----> 1 fs, oooh = wavfile.read('oooh.wav') #my vowel sound 2 audio(oooh, rate=fs) /anaconda/lib/python3.6/site-packages/scipy/io/wavfile.py in read(filename, mmap) 231 mmap = false 232 else: --> 233 fid = open(filename, 'rb') 234 235 try: filenotfounderror: [errno 2] no such file or directory: 'oooh.wav'
and code have written far:
import numpy np import matplotlib.pyplot plt %matplotlib inline scipy.io import wavfile import scipy.signal sig scipy.fftpack import fft, ifft ipython.display import audio np.set_printoptions(precision=3, suppress=true) fs, oooh = wavfile.read('oooh.wav') #my vowel sound audio(oooh, rate=fs)
Comments
Post a Comment