hamster Posted July 14, 2014 Report Share Posted July 14, 2014 I've been inspired to play around with audio streams, and here is my first project: http://hamsterworks.co.nz/mediawiki/index.php/SDRAM_Audio_playback You can send 16-bit stereo data down the serial port, and it writes it to RAM and plays it back. Quick enhancements would be for it to only play back what was written or for it to clear the SDRAM before anything happens. At the moment it doesn't do either of these because I wanted to see how long the data would last in SDRAM when I removed and reapplied power. It could also be used as the basis of a wave-table synth, however 8MB of samples does take a long time to download through the serail port at 115200! Cheers Mike. Link to comment Share on other sites More sharing options...
Jack Gassett Posted July 15, 2014 Report Share Posted July 15, 2014 Ohhh, this looks nice Mike. I tagged it to look at once I get back from China. Jack. Link to comment Share on other sites More sharing options...
alvieboy Posted July 15, 2014 Report Share Posted July 15, 2014 Mike: I have a 3-mbit serial player with ZPUino, in case you're interested. Plays stereo 44100Hz/16bit with not many drops. It's mostly done by software. Link to comment Share on other sites More sharing options...
hamster Posted July 16, 2014 Author Report Share Posted July 16, 2014 I've managed to connect the whole thing to my FM transmitter project, so it can now download and transmit samples. So if you want to give it a try. a. Download the zip fileb. Send the bit file to the papilio proc. Put any old jumper wire into A0.c. Tune an FM radio to 91.0 - you should hear nothingd. Write the file named 'data' to the serial port with "stty 115200 < /dev/ttyUSB1; dd if=data of=/dev/ttyUSB1"e. Enjoy! I'll upload the source for the design later.upsample demo.zip Link to comment Share on other sites More sharing options...
Gericom Posted July 16, 2014 Report Share Posted July 16, 2014 I've managed to connect the whole thing to my FM transmitter project, so it can now download and transmit samples. So if you want to give it a try. a. Download the zip fileb. Send the bit file to the papilio proc. Put any old jumper wire into A0.c. Tune an FM radio to 91.0 - you should hear nothingd. Write the file named 'data' to the serial port with "stty 115200 < /dev/ttyUSB1; dd if=data of=/dev/ttyUSB1"e. Enjoy! I'll upload the source for the design later.Nice! I think I will give this a try.Edit: Lol! Works like a charm! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.