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:

Advertisement
Explore posts in the same categories: General

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 )

Connecting to %s


Follow

Get every new post delivered to your Inbox.