+ 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.

26th Nov 2021, 12:59 AM
CGO!
CGO! - avatar
6 Réponses
26th Nov 2021, 2:57 AM
꧁Ankit Chatterjee[LESS ACTIVE THAN EVER]꧂
꧁Ankit Chatterjee[LESS ACTIVE THAN EVER]꧂ - avatar
+ 3
I said I don't know much about it I just sent you for I thought it might help you
26th Nov 2021, 3:49 PM
꧁Ankit Chatterjee[LESS ACTIVE THAN EVER]꧂
꧁Ankit Chatterjee[LESS ACTIVE THAN EVER]꧂ - avatar
+ 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
26th Nov 2021, 12:34 PM
CGO!
CGO! - avatar
+ 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.
26th Nov 2021, 7:14 PM
Hacker-KR4636
Hacker-KR4636 - avatar
+ 1
26th Nov 2021, 5:43 PM
CGO!
CGO! - avatar
+ 1
Hacker-KR4636 How can I make it work?
26th Nov 2021, 7:58 PM
CGO!
CGO! - avatar