I'm looking for a software drum machine that's easy to work with programatically. My goal is to use this as an intelligent metronome for creating drills to practice against.
Simplistically, I want to be able to lay out a drum pattern, then be able to code against it sort of like this:
tempo = 40 while tempo <= 40 play pattern 30 times tempo = tempo + 1 end
Does anybody know of anythicn like this which already exists?