Send Note message to individual component?
-
Is there an easy way to sort input notes and send them directly to specific components? I'm trying to figure out a way to use multiple arpeggiators connected to samplers, but there doesn't seem to be a straight forward way to do this.
Seems like I should be able to do something like test the noteNumber(), ignore it with ignoreEvent(true), and then send it directly to the component I want (with something like playNote), but can't find a way to send to ONLY the component I want as the receiver.
Thanks in advance :)
a
-
@amounra what do you mean by component?
-
A container, or a sampler, etc. Trying to set up different samplers, each with its own arpeggiator, and route specific notes to specific samplers. So presumably, the easiest way to do this would be to add an arp to each sampler, then use a top level script to route MIDI messages to the target sampler. Let me know if I'm missing something here....
For instance, note 60 will go to sampler/arp 1, note 61 will go to sampler/arp 2, etc.
a
-
-
I think you're approaching it incorrectly. You don't need a script to route notes to specific modules. What you need is a script for each module that filters notes you don't want the module to respond to. The one @Tod-Slaughter linked to is a good place to start.
-
Awesome, thanks to you both. I think that's what I'm after, I'll do a little testing and check in afterwards!
a
-
That does the trick, thanks so much!
a