I see, some kind of intelligent/macro sequencer. Seems like a lot of work.
While I am generally very interested in microcontroller coding I found out that it is just another distraction from just making music so I try to stick with the modules other people came up with :)
Anyway, best luck with your project!