Use gate~ to route an input signal at the second inlet to one of several outlets, or to no outlet at all. When there is only one outlet (the default case), it acts as a simple switch. Unlike the Max gate object, any outlet which is not selected outputs a signal composed of zero values.
Number of outlets
Set the outlet that is initially selected. If 0, all signals are shut off and zero signals are sent out all outlets.
Common Box Attributes
Depending on the value of the left inlet (eitheror number), one of the object's outlets will send out the input signal and rest will send out zero signals, or (if the inlet is closed) all outlets will send out zero signals.
|MSP Basics Tutorial 4: Routing Signals||MSP Basics Tutorial 4: Routing Signals|
|MSP Panning Tutorial 1: Simple panning||MSP Panning Tutorial 1: Simple panning|