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.
The VMusic2 is very light. You could take off the case and just mount the board on something like a BoeBot. Keep in mind that you'd need a simple amplifier if you're going to drive a speaker. There are smaller devices that do the same sort of thing. Rogue Robotics has a music player that plays .mp3 files off an SD card for example.
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.
No, I mean a program that will convert any text I want into a mp3 file that I can then upload to a USB stick and from there to the VMUSIC2 or a substitue.
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