Not being much of a coder, I’ve been struggling a bit the last couple of days. I’m finally past one of the hurdles and have the rudimentary but functioning skeleton for an 8 step sequencer in Processing.
The issue was all around timing: how to allow real-time control AND trigger timed-events simultaneaously. In the end it was quite simple; I made a timer and this now works!
So… using a handful of knobs/potentiometers I can control the pitch and velocity of a couple of notes, the overall tempo and a note randomizer. The remaining analog on the arduino (in total there are 6), controls an audio effect on the Master channel in Ableton Live – where all the midi notes from the sequencer are sent.
It needs a bit more work, but I’m quite happy that responsiveness is in check again.
