I'm currently working on a T4.1 MIDI sequencer with built in Chord/Scale modes, as someone with little music theory knowledge I'm finding the idea of programming it all in from scratch a bit daunting, does anyone know of any existing code library that I can use that would help with this?