ggate
Description
Switches the right inlet between two output pathways.
Arguments
None.
Attributes
bgcolor [4 floats]7.0.0
Sets the outline color of the gswitch2 object in RGBA format.
color [4 floats]7.0.0
Sets the color of the gswitch2 pathway in RGBA format.
int [atom_long] (default: 0)
Specifies which one of the two outlets is to be open. The default is 0 (left outlet).
outputs [atom_long] (default: 2)
Sets the number of outputs. Default value is 2.
parameter_enable [int]
Enables use of this object with Max for Live Parameters and allows for setting initial parameter values in the Max environment.
parameter_mappable [int] (default: 1)
When parameter_mappable is enabled, the object will be available for mapping to keyboard or MIDI input using the Mappings feature.
style [symbol] (default: )7.0.0
Sets the style to be applied to the object. Styles can be set using the Format palette.
switchcolor [4 floats]7.0.0
Sets the color of the switch contacts in RGBA format.
Common Box Attributes
Parameter Attributes
Messages
bang
int
Arguments
float
Arguments
(mouse)
Output
anything
Messages received in the right inlet are passed out one of the two outlets. If the number in the left inlet is 0, incoming messages are sent out the left outlet. If the number in the left inlet is not 0, messages are sent out the right outlet.
See Also
Name | Description |
---|---|
gate | |
gswitch | |
onebang | |
pictctrl | |
route | |
router | |
send | |
switch | |
Max MIDI Tutorial 1: Basic MIDI | Max MIDI Tutorial 1: Basic MIDI |