May 16, 2013

Formatting audio samples to work with the Arduino IDE

 Once again Arduino enthusiast Sebastian Tomczak has written another useful guide with regards to working with real audio and an Arduino, and in his latest instalment he explains how to convert digital audio samples into non-variable arrays so that they can be used for sound effects or other sampling purposes. You won't get very much into the Arduino, however sticking with 8-bit mono samples at low data rates will be a good idea. For the conversion Sebastion explains how to use various software tools which result in arrays of 8-bit data (that is, the value for each data point falls between 0 and 255).

For more information and other interesting notes, check out his webpage. And we're on twitter and Google+, so follow us for news and product updates as well.

When making your own projects that require a buzzer or the ability to play a reasonable tune - use the Freetronics SOUND: sound and buzzer module:

This versatile piezo-element module can be used for both input or output! It can be used as a noise-maker driven by your microcontroller for audible feedback of events, and it can also be used as a knock-detector input to sense events and react to them. Includes a built-in 1M resistor to allow the piezo element to detect shocks. For more information and to order, click here

Leave a comment

Comments have to be approved before showing up.