I was wondering if there is an object where you can pass an input yellow/red/blue to one of two outlets if a toggle (connected to the object) is on or off?
Object similar to ggate in max msp
lokki
#2
demux (2 in your case) should do the job.
d0 and d1 set the default value for the unused output.