gate~
Pass a signal to one of several outlets.
Description
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 gate , any outlet which is not selected outputs a signal composed of zero values.
Arguments
outputs [number]
Specifies the number of outlets. If there is no argument, there is only one outlet.
Inlets
onoff [auto]
Specifies which outlet is initially open. The default is
(none).input [signal]
Signals will be passed to the outlet specified by the number sent to the left inlet.
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
outputs [number] (default: 1)
Specifies the number of outlets. If there is no argument, there is only one outlet.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
input [signal]
Signals will be passed to the outlet specified by the number sent to the left inlet.
onoff [auto]
Specifies which outlet is initially open. The default is
(none).See Also
Name | Description |
---|---|
gate | |
gate~ | |
switch | |
selector~ | |
gate~ | Pass a signal to one of several outlets. |
matrix~ | Signal routing and mixing matrix |
receive | Receive messages without patch cords |
receive~ | Receive signals without patch cords |
route | Select outlet based on input matching. |
route~ | |
routepass | Select outlet based on input matching. |
select | Output bangs based on input matching |
selector~ | Assign one of several inputs to an outlet |
send | Send messages without patch cords |
send~ | Send signals without patch cords |
switch | Accept messages from a specific inlet. |