I want to read the wav file in python.
>>import specie
>>> from scope importio
>>>> from scipy.io import wavfile
>>>sample_rate,X=scipy.io.wavfile.read("test.wav")
ValueError: Not a WAV file.
I want to read the wav file as above, but I get an error.
The file type is shown as WAVE audio.
What's wrong?I'm using a mac, but can't I handle wav well with a mac?
Also, the above story is based on Chapter 9 of the Practical Machine Learning System, and the last part above is
>>sample_rate,X=scipy.io.wavfile.read(wave_filename)
It says that it reads all the data in the folder.
Is that possible?
I would like to know if there is a way to read music data together instead of one by one.
Thank you for your cooperation.
Not a WAV file
As the error message says, it is not a WAV file.
Have you tried to see if this file can be played by players?
620 Uncaught (inpromise) Error on Electron: An object could not be cloned
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
582 PHP ssh2_scp_send fails to send files as intended
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.