SD Cards and wave files

Remember that SD Slot i made last time? Well i actually put it to use and interfaced those cards to my XC-2.

Okey so how about doing something neat with it? How about playing *.wav audio files from the card. But how do you get a analog audio signal out of a XC-2, well i went for the quickest and simplest way of doing that. Its PWM going trough a RC low pass filter and out to a audio jack trough a dc blocking cap. Its not really the best DAC in the world but it works quite good actually. So all i needed then is a buffer to keep feeding the PWM generator with data at exactly the right speed to match the wav files sample rate.

DAC sawtooth test:

Advertisements
Explore posts in the same categories: General

2 Comments on “SD Cards and wave files”

  1. Patch Says:

    I love these aritelcs. How many words can a wordsmith smith?


  2. That’s way more clever than I was expecting. Thanks!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: