Arduino developer David Cuartielles gives gives us a peek into one of his late night hacking sessions –
If you have nothing better to do during a winter night in Sweden, you can always hack a couple of libraries together and make a third one. SDplayWAV is for people interested in playing sounds from SD cards. Builds upon previous work by Ladyada, Ronald Riegel, and Michael Smith.
Using this new library allows one to play back mono 22kHz 8-bit wav files through PWM on pin 3 of the Arduino. The standalone board seen in the above video is a Smapler, an Arduino-compatible outfitted with audio amp and PS/2 connectivity. [via Arduino Blog]
In the Maker Shed:
Waveshield Kit
ADVERTISEMENT