Simple and Fast audio driver for propeller - 44.1KHz 2 channel 16 bit
aempirei
Posts: 6
heres an audio driver that i wrote.
the sample rate playback is adjustable and tested up to 44100 Hz
it takes in 2 channel 16 bit unsigned PCM data
it plays back on 2 adjacent pins
this demo also requires the setup of a SD card
its based on SPIN WAV Player Ver. 1a (Plays only mono WAV at 16ksps) by Raymond Allen
- aempirei
AIM: ambient empire
the sample rate playback is adjustable and tested up to 44100 Hz
it takes in 2 channel 16 bit unsigned PCM data
it plays back on 2 adjacent pins
this demo also requires the setup of a SD card
its based on SPIN WAV Player Ver. 1a (Plays only mono WAV at 16ksps) by Raymond Allen
- aempirei
AIM: ambient empire
zip
10K
Comments
Although minor points and may not affect or improve operation here, consecutive hub accesses aren't speed efficient, it's better to interleave instructions between them when you can, updating FRQA and FRQB simultaneously would be preferable from a purist viewpoint.
Something like ..
Also ... Is zero the best value to write to word[noparse][[/noparse]ptr] ? Can that not be a valid data item ?
Post Edited (hippy) : 4/8/2008 4:03:14 PM GMT