Written in Puredata - download here
Brief demo on youtube here:
Grab the source code. Open the main.pd patch with puredata. Turn dsp on, add some hits and otherwise fiddle, click the start button and you have a drum machine.
Bugs: Changing the divisions per beat selector requires you change the speed of the metronome
Euclidean Sequencer code stolen from here: https://forum.pdpatchrepo.info/topic/5188/euclidean-rhythms/7# http://www.pdpatchrepo.info/hurleur/euclid.pd
Drum voice code stolen from here: https://forum.pdpatchrepo.info/topic/1025/fairly-efficient-analog-drums http://www.pdpatchrepo.info/hurleur/efficient-drum.zip
The glue is all mine.
Bug: Starting the metronome is unreliable. Todo: Swing clock Bug: Deploy to ipad - currently not working.