how to play two sound files at same time on arduino wave shield

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
fionakit
 
Posts: 2
Joined: Tue Feb 14, 2012 5:13 pm

how to play two sound files at same time on arduino wave shield

Post by fionakit »

I am working on a project that three FSR triggers different sound files through wave shield and arduino. I have studied examples for "6 buttons, 6 files". However, I need to play one sound in a loop as background music when other sound files can be played on top of it. Please help me out if anybody knows how to do it.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: how to play two sound files at same time on arduino wave shield

Post by adafruit_support_bill »

Don't know that it is possible. There is only one channel of DAC, so you would have to merge the .WAV data in real-time.

fionakit
 
Posts: 2
Joined: Tue Feb 14, 2012 5:13 pm

Re: how to play two sound files at same time on arduino wave shield

Post by fionakit »

Thank you. I may try to run another program along with arduino such as processing. But sound quality will be bad.

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

Return to “Arduino Shields from Adafruit”