+ 5
I need an explanation of the wave library in the sound sense.
Necesito una explicación de la librería wave en el sentido de sonido.
6 Respostas
+ 4
I only know is about WAV
BUT FOR WAVE LIBARY
YOU CAN FIND FROM THE RESOURCES :--
https://stackoverflow.com/questions/2060628/reading-wav-files-in-JUMP_LINK__&&__python__&&__JUMP_LINK
https://docs.python.org/3/library/wave.html
+ 3
I said I don't know much about it I just sent you for I thought it might help you
+ 2
꧁Ankit Chatterjee[LESS ACTIVE THAN EVER]꧂
What mean this?:
"Traceback (most recent call last):
File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module>
start(fakepyfile,mainpyfile)
File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start
exec(open(mainpyfile).read(), __main__.__dict__)
File "<string>", line 2, in <module>
File "/data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.9/wave.py", line 509, in open
return Wave_read(f)
File "/data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.9/wave.py", line 163, in __init__
self.initfp(f)
File "/data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.9/wave.py", line 130, in initfp
raise Error('file does not start with RIFF id')
wave.Error: file does not start with RIFF id"
I run the example of the website in Pydroid
+ 2
★«Caleb Guerra Ortega»★ you are trying to use the "wave" library to play music in that ".wav" format. RIFF is an identifier to check whether the file format is a wave audio file or not, so if you try to play an audio file that doesn't have the id "RIFF", the wave library will throw an error, even when the name of the song has a .wav extension.
Also, if you are using PyDroid, the problem will probably continue, as this application has a lot of problems with libraries.
+ 1
꧁Ankit Chatterjee[LESS ACTIVE THAN EVER]꧂
Thank you
About What is Wav?
+ 1
Hacker-KR4636
How can I make it work?