Phew the 2d array has been expanded, and the sequencer is semi operational! I've modelled it after the sequencer in korgs monologue synth but have already added some things it can't do.
you select a sequencer step (when its red its currently selected) and press a note on the keyboard and records that note as well as every other setting like wavetype, modulator frequency into the corresponding column in the 2d array, so this means it can not only record a note in each step but an entirely different sound (this is how the sidchip on c64 did so much with only 3 voices) which is currently mostly working but I need to sort out a few niggles.
So when you select another step you will notice the last one you set is green, when the sequencer is playing it only plays the green blocks, the white blocks can be considered rests (though they can and do hold data and notes) you can toggle blocks on and off as you see fit, even while the sequencer is playing. This allows some progressive melodies in live performances.
Heres a video showing the basics of the sequencer
next up I need to work on a step recorder, so it just automatically fills in the notes to the sequencer blocks as you play, also need to fix some minor issues and niggles. Hopefully in the next video I'll show how it can play through 16 different patches.