Sebastian’s Arduino beat code could be a good starting point for those interested in the blue board’s rhythmic applications –
Today i have been working on a sample-based drum machine for the Arduino. At the moment, bars and patterns have to be programmed into the code manually. However, i am hoping to expand upon this basic idea by adding a small and simple physical interface for real-time pattern sequencing.
Currently, the code contains four drum sounds (kick, snare, hi-hat and cymbal). More sounds can be added easily. Each sound is 128 samples long with a depth of 8 bits. The samples are stored in separate arrays. Thus, the present sketch is only 3228 bytes long.
Check the site for sound sample & code – Arduino beats @ Little-scale
More: continued here