For a project I’m working on I need to coordinate playing audio with running a motor. I can put the audio file in any format (mp3, wma, wav, etc.). I have a good handle on driving the motor, and have a proto type working. I’m not sure what a good approach to playing the audio file would be. I have a regular Netduino that I tried hooking up to an adafruit wave shield. I can get the SD card to read correctly, but can’t drive the DAC chip on it. The way I understand it, even though the DAC has an SPI interface, I would need to send 16 bits, wait, send 16 more bits, wait, etc. but on the correct frequency with the recorded wav file, so something like 22000 times a second. I believe the Netduino is only able to do this something like 1000 – 2000 times a second. If I wired up to the built in SPI on the Netduino, I don’t know how I would get the playback synchronized correctly. So, I’m looking for some ideas for playing audio with the Netduino.
Thanks,
Chad
Audio playback ideas
Started by Chad, May 09 2011 08:32 PM
1 reply to this topic
#1
Posted 09 May 2011 - 08:32 PM
#2
Posted 10 May 2011 - 04:34 AM
So, I’m looking for some ideas for playing audio with the Netduino.
Hanzibal has posted some ideas and a working video of a networked music player here. He has include information about the board used.
Hope this helps,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users