Thx a bunch!colin@loomer wrote: ↑Tue Oct 26, 2021 2:21 pm Use [give note id] and a [MIDI switch 1 to N].
[give note id] will allocate a unique id to a noteon, starting from 0, and then release this id when it receives a matching noteoff (ie, a noteoff with the same key and channel.) You can combine this with a [MIDI switch] to route each MIDI note to a seperate processor. The [MIDI switch] is smart enough to send matching note off (and any polyphonic MIDI events) to the same channel as the previous note on.
There are a few cavets here. One is that you need to create enough processing layers for however many notes you expect to handle at once: at the moment, Architect doesn't automatically creates different instances. And [give note id] will output an `undefined` if it receives a MIDI message other than noteon, noteoff, or a polyphonic MIDI event. The [MIDI switch] won't be too happy about that value as a control, and will complain. If this is an issue, you can either filter out MIDI events before [get note id], or filter out the `undefined` values with the [is undefined] and [branch] modules.
it's a lot easier and much more elegant than i expected xD
if i make it work ill post it here, maybe someone will find it useful.
also, what's your policy on videos featuring the architect-since it's still in beta?