welcome: please sign in

Revision 2 as of 2011-10-10 16:14:25

Clear message
location: Repatcher

Repatcher

About the Repatcher Shield

Programming Examples

The Audio Codec Shield can be used with any microcontroller, but we have layed it out for the Arduino and Maple to get more people involved in making interesting musical applications. To help promote this, we have also made a number of example sketches and libraries to get you started quickly. The main programming structure follows that of the MICrODEC: the program initializes the codec, and then waits in the main loop until it is interrupted by the codec, at which time it executes your code in the interrupt service routine. This gives the best audio quality, as it ensures that nothing else will delay the processing of your audio data. But, this also means that all of your functions must fit within the time allotted between audio samples, and other functions that rely on interrupts can't be used (like delay()). Different programming structures can be used, but this one is the easiest and gives the best results.

Documentation

Files: Version 1.0