Algorithmic MIDI sequencer