Playing .wav files
Dan Taylor
Posts: 207
Is there a way to simply play .wav files from a SD card with the BASIC Stamp? Any sample programs?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Comments
The BASIC Stamps are simply too slow to play .wav files and they can't handle SD cards by themselves (mostly the FAT file system).
There are a variety of .mp3 players, including some that can play .wav files as well, that can be attached to a Stamp which is used as the controller. The VMusic2 from Vinculum (www.vinculum.com) can play .mp3 files on a USB memory stick or an SD card plugged into a USB card reader. It's functionally similar to Parallax's Memory Stick Datalogger, uses the same USB host chip from Vinculum, and the sample code for the Datalogger can be used with minor changes to make it play a file.
The Propeller can play .wav files from an SD card. There is sample code (and objects) in the Propeller Object Exchange for this.
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
If you're playing short .wav files (like 8-32KByte), you could use a Propeller Backpack and just record the .wav information in the EEPROM.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
There is speech synthesis software for the Propeller though (in the Object Exchange).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
www.spokentext.net/
www.codeplex.com/Wikipage?ProjectName=clipspeak
letsmakerobots.com/node/13210
www.adafruit.com/index.php?main_page=product_info&cPath=17_21&products_id=94
www.rcsys.com/index.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A complex design is the sign of an inferior designer."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor