Implementing logic inside Drambo to read MIDI notes and send out CC strings
I know this can be done in either Mozaic or Streambyter - just wondering if it can be done entirely inside Drambo to minimise the dependency on other iOS tools.
I want to send MIDI notes from my Linnstrument to Drambo, then implement some logic inside Drambo so it can send a set of MIDI CC messages to my Linnstrument to set different light combinations. The bit I don't know about is whether the logic part can be implemented inside Drambo.
So for example, I might play a Cmaj chord on my Linnstrument, then I want Drambo to read those CEG notes, process them and send a whole string of MIDI CCs back to the Linnstrument to set the colors of various lights. It's not going to be a simple 1:1-type mapping between notes coming in and lights going out - there's going to be some quite complicated logic used, including tracking the state of the lights before the notes are received and working out which of those need to change after the notes are received.
The incoming MIDI notes will be pre-generated in something like Atom2, so they'll be "perfect" in terms of timing - I won't have to deal with odd corner cases like "if there's 50ms between successive notes, do they constitute part of this chord or the next one?" to deal with. Just listen for notes, look up which colors the lights are currently set to, then send MIDI CCs out to change the colors of those that need to change.
Is this doable entirely inside Drambo? If so, are there any pointers about how to go about it? - ideally a link to some project that's already done something vaguely like this, or even a list of the modules inside Drambo that I should start digging into.
Thanks in advance