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

Play a .wav file


  • Please log in to reply
4 replies to this topic

#1 sebastianpatten

sebastianpatten

    Member

  • Members
  • PipPip
  • 21 posts

Posted 24 February 2011 - 05:11 PM

I was trying to figure out how to play a .wav file through the netduino. Is it possible? I had an 8khz mono wav and was trying to play it through the PWM on pin 5. Seto seemed to think it might need a DAC. I know the Fez can do it as I've seen a video. Any info/explanation would be appreciated! Thanks!

#2 KodeDaemon

KodeDaemon

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 24 February 2011 - 05:48 PM

I would have to agree with Seto, you'll probably need a DAC. The microcontrollers that are used by the FEZ line have a built in 10-bit DAC which is what I believe would have been used in the video you saw.

#3 Chris Seto

Chris Seto

    Advanced Member

  • Members
  • PipPipPip
  • 405 posts

Posted 24 February 2011 - 06:05 PM

IIRC, FEZ does have a DAC since I seem to recall a post on TinyCLR today with someone asking for help on it, but yes, this is something you really need. I generally don't suggest things unless they are a necessary component :lol:

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 25 February 2011 - 02:26 AM

Could you use PWM to accomplish the same thing (perhaps with an inline component or two to translate the digital signal into an analog voltage)? Also, there should be external DAC chips that could be easily added to your project ... Chris

#5 sebastianpatten

sebastianpatten

    Member

  • Members
  • PipPip
  • 21 posts

Posted 25 February 2011 - 04:29 AM

Thanks Chris - I appreciate the reply. I'll look into the adding a dedicated DAC route.




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.