BS2 playing WAV audio files?
The Interloper
Posts: 4
I'm trying to see if I can create a circuit and program the BS2 so I can download a set of short, downsampled WAV audio files (11khz/8-bit) to the unit (more than likely an IC chip) which are triggered by·a simple switch. When you press the switch, the program randomly selects a wav file from the set and plays it. Essentially, I'm doing what many kids games and toy products do. Will connect a little 23mm Mylar speaker to the circuit.
Is this possible for the BS2? What's the programming script to get the WAV files on the chip? I'm only on Chapter 2 with the LEDs, but this is the whole reason I bought this kit.
Thanks!
Zee Interloper
Is this possible for the BS2? What's the programming script to get the WAV files on the chip? I'm only on Chapter 2 with the LEDs, but this is the whole reason I bought this kit.
Thanks!
Zee Interloper
Comments
http://www.efx-tek.com/topics/ap-8.html
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
I'd still like to figure out how to download the audio to a chip directly though, and have audio of various lengths (segments) of my own choosing, which I can then program.
For instance, I'd love to be able to program audio on a Sonix 735, or SunPlus or Windbond.
It will have 2MB of flash memory enough for 90 seconds of 22K audio or 180 seconds of 11025 audio (I may even support 250 seconds of 8K audio).
You will be able to load in .WAV files using hyperterminal/xmodem.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
Post Edited (Bean (Hitt Consulting)) : 4/23/2007 7:31:19 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Bean - keep me abreast of the module you're working on. I'm interested.
Zee Interloper