Traceback (most recent call last):
File "d:/Python36/Audio_to_nump2.py", line 15, in callback
audio_data = librosa.load(audio_data)
File "D:\Python36\lib\site-packages\librosa\core\audio.py", line 129, in load
with sf.SoundFile(path) as sf_desc:
File "D:\Python36\lib\site-packages\soundfile.py", line 629, in __init__
self._file = self._open(file, mode_int, closefd)
File "D:\Python36\lib\site-packages\soundfile.py", line 1182, in _open
raise TypeError("Invalid file: {0!r}".format(
self.name))
TypeError: Invalid file: array([ 0.0000000e+00, 0.0000000e+00, -3.0517578e-05, ...,
0.0000000e+00, 0.0000000e+00, 0.0000000e+00], dtype=float32)
Traceback (most recent call last):
File "d:/Python36/Audio_to_nump2.py", line 45, in <module>
time.sleep(0.25)
TypeError
It says typeerror , can I load using librosa.load(live_audio) into this?
Thanks!