Routing w/ midiin, gate and notein
I'm currently building a synth that toggles between mono and poly modes. The poly mode has a chord trigger. However, when I switch to note mode (mono), it's still triggering the sounds that are supposed to be the poly / chord sounds in the second gate that's only supposed to be open when synth_mode is set to 2.
In p ChordGenerator, the midiin comes in through a notein object. Does anyone know how I could make it so that this is only triggered when its gate is open?
Thanks.

it should work.
closed gate

out 1

out 2

that is as simple as it can get.
P.S.
routing midi like that can not work in max, only in rnbo.
Cool, thanks! I had a feeling the error was stemming from elsewhere but just wanted to be sure.
what could be elsewhere ?
if you really control the gate, there is no chance midi could pass through inactive outlet ....
It turns out I just wasn't including `in 1` so it was receiving it from the top-level. Oops! Thanks again.