Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Audio playback ideas


  • Please log in to reply
1 reply to this topic

#1 Chad

Chad

    Member

  • Members
  • PipPip
  • 16 posts

Posted 09 May 2011 - 08:32 PM

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

#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

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

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.