Add a file wav darksaber

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Filly66
 
Posts: 3
Joined: Sun Jan 23, 2022 1:58 pm

Add a file wav darksaber

Post by Filly66 »

Hi I have a problem with inserting wav files of darksaber sounds. If I try to insert another file "on" it does not play, and it goes into error. The files are of identical size and quality. I do not understand what the problem is Also because they are files always belonging to projects related to python.
Some advice? thank you

User avatar
tannewt
 
Posts: 3304
Joined: Thu Oct 06, 2016 8:48 pm

Re: Add a file wav darksaber

Post by tannewt »

What is the error? You can see it by connecting to the serial output.

https://learn.adafruit.com/welcome-to-c ... al-console

User avatar
Filly66
 
Posts: 3
Joined: Sun Jan 23, 2022 1:58 pm

Re: Add a file wav darksaber

Post by Filly66 »

Hi thanks, I simply put a file wav, with the specs of adafruit code, and wen I power on, don't work. I ama noob for this python. With other sound board is very simply to play a file. Sorry for my English I'm a Italian guy.

User avatar
Filly66
 
Posts: 3
Joined: Sun Jan 23, 2022 1:58 pm

Re: Add a file wav darksaber

Post by Filly66 »

If I paste the files into it, could you be kind enough to compile the code? I noticed that you could put a momentary rgb button in place of latching, and put the power off file, which is missing when you turn off the darksword. Thanks in advance.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”