Need some sounds for your Adafruit Wave Shield ? Steven at Code in the Attic has a MacOS Classic Sound Pack. Just make sure you visit http://bit.ly/vnlUrJ for the correct file conversion steps.
Adding quality audio to an electronic project is surprisingly difficult. Here is a shield for Arduinos that solves this problem. It can play up to 22KHz,
12bit uncompressed audio files of any length. It’s low cost, available as an easy-to-make kit. It has an onboard DAC, filter and op-amp for high quality output. Audio files are read off of an SD/MMC card, which are available at nearly any store. Volume can be controlled with the onboard thumbwheel potentiometer.
This shield is a kit, and comes with all parts you need to build it. Arduino, SD card, tools, speaker and headphones are not included. It is fairly easy to construct and anyone with a successful soldering project under their belt should be able to build it.
The shield comes with an Arduino library for easy use; simply drag uncompressed wave files onto the SD card and plug it in. Then use the library to play audio when buttons are pressed, or when a sensor goes off, or when serial data is received, etc. Audio is played asynchronously as an interrupt, so the Arduino can perform tasks while the audio is playing.
Can play any uncompressed 22KHz, 16bit, mono Wave (.wav) files of any size. While it isnt CD quality, it is certainly good enough to play music, have spoken word, or audio effects. Check out the demo video/audio at the webpage
Output is mono, into L and R channels, standard 3.5mm headphone jack and a connection for a speaker that is switched on when the headphones are unplugged
Files are read off of a FAT16-formatted SD/MMC card
Included library and examples makes playing audio easy
Please note that the library is rather bulky, requiring 10K of flash and more than 1/2 K of RAM for buffering audio. It works fine using an ATmega168-based
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
This is cool. I took a quick (10 minute) look at the documentation and schematic (but not the source). Sorry if some questions/suggestions are dumb…
1.0. Usability questions pop-up…
1.1. How do you safely insert and remove the SD-card? I presume it is read-only in this application But keep in-mind SD on-card “write protect” is not reliable in my experience.
1.2. So this can play only ONE .wav file on the SD-card? Is there a button to play next file etc. or does it just roll into the next file? The documentation seems to be clear that it can’t play two files at once, but how does it play multiple files individually on the SD-card?
2.0. Enhancements (let’s add to the code)…
2.1. We need a button input to “commercial skip” when listening to podcasts (for-example). 5 second increments, better if multiple clicks add-up for longer 5 second increments. Or, are we in violation of some Government Nonsense like the DCMA if this is implemented?
2.2. We need a way (another button?) to “bookmark” where we are in the playback. Again, important for Podcasts and especially audio books. So when we stop the playback we start when we left off. It would be great if the “bookmarks” would reside on the SD-card and read when inserted so we can use multiple cards with bookmarking.
This is cool. I took a quick (10 minute) look at the documentation and schematic (but not the source). Sorry if some questions/suggestions are dumb…
1.0. Usability questions pop-up…
1.1. How do you safely insert and remove the SD-card? I presume it is read-only in this application But keep in-mind SD on-card “write protect” is not reliable in my experience.
1.2. So this can play only ONE .wav file on the SD-card? Is there a button to play next file etc. or does it just roll into the next file? The documentation seems to be clear that it can’t play two files at once, but how does it play multiple files individually on the SD-card?
2.0. Enhancements (let’s add to the code)…
2.1. We need a button input to “commercial skip” when listening to podcasts (for-example). 5 second increments, better if multiple clicks add-up for longer 5 second increments. Or, are we in violation of some Government Nonsense like the DCMA if this is implemented?
2.2. We need a way (another button?) to “bookmark” where we are in the playback. Again, important for Podcasts and especially audio books. So when we stop the playback we start when we left off. It would be great if the “bookmarks” would reside on the SD-card and read when inserted so we can use multiple cards with bookmarking.
hey @drone, post up in our forums and we’ll able to assist you with the technical questions, thanks!
those features sound interesting, the code is all open source, hack away!