gate
Examples
Arguments
outputs [number]
Specifies the number of outlets. If there is no argument, there is only one outlet.
onoff [number]
Specifies which outlet is initially open. The default is
(none).Inlets
onoff [number]
Specifies which outlet is initially open. The default is
(none).input [bang, number, list]
Messages 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 [bang, number, list]
Messages will be passed to the outlet specified by the number sent to the left inlet.
onoff [number]
Specifies which outlet is initially open. The default is
(none).See Also
Name | Description |
---|---|
gate | Pass input to an outlet |
gate~ | Route a signal to one of several outlets |
switch | Accept messages from a specific inlet |
selector~ | Assign one of several inputs to an outlet |
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. |
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. |