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

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

Postby fionakit » Tue Feb 14, 2012 4:44 pm

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.
fionakit
 
Posts: 2
Joined: Tue Feb 14, 2012 4:13 pm

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

Postby adafruit_support_bill » Tue Feb 14, 2012 5:20 pm

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.
User avatar
adafruit_support_bill
 
Posts: 15995
Joined: Sat Feb 07, 2009 9:11 am

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

Postby fionakit » Wed Feb 15, 2012 3:16 am

Thank you. I may try to run another program along with arduino such as processing. But sound quality will be bad.
fionakit
 
Posts: 2
Joined: Tue Feb 14, 2012 4:13 pm


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: mibignistinly and 5 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]