playing back prerecorded samples at varing speeds
lipservice
Posts: 4
what electronics components are required to playback prerecorded samples (wav,mp3, whatever sound format required) at varing speeds?
Comments
Post Edited (Paul Baker) : 1/28/2005 4:15:46 PM GMT
Cheers,
Paul
1) whats that minimum/maximum playback speed you want (ie. half speed to twice speed)
2) what quality playback do you want (just enough to make out the sound, internet voice, internet music, FM radio, cassette tape, CD)
3) do you have the means of transferring your sounds to a flash memory?
I'll draw up a vague schematic of what I'm leaning towards assuming your using a basic stamp (though this is much more easily accomplished with the SX)
This schematic is for playback only and assumes you have prerecorded the audio information onto the flash memory. To record the data onto the flash will require a different circuit. It also assumes you want to play the entire message·from start to finish. If any of these assumptions are wrong, they are easily changable, but it will require more chips.
The synopsis of the circuit is as follows: The stamp loads a value into a register (not shown) which feeds a parralel load input of a counter,·that acts as a clock divider (setting your playback speed). The output of the prescale counter drives the address counter which cycles through the addresses of your flash audio data. That data is fed to a·Digital to Analog Converter and the outputted analog signal·is amplified before sending·it to your speaker.
If you did this with an SX48/52 all you'd need·is the flash memory and audio amplifier.