onebang
Description
Allows a
in the left inlet to pass through ONLY if a has been received in the right inlet. After that, a in the left inlet will not get through again until a has been received again in the right inlet.Examples

Allow just one of (potentially) many bang messages to get through
Arguments
initialization [int]
Optional
A non-zero argument sets onebang to permit a to be sent out the left outlet the first time a is received in the left inlet.
Attributes
Common Box Attributes
Messages
bang
In left inlet: Causes a
In right inlet: Resets onebang to permit a to be sent out the next time a is received in the left inlet.
to be sent out the left inlet only if a bang has been received in the right inlet since the last bang was sent out. In right inlet: Resets onebang to permit a to be sent out the next time a is received in the left inlet.
int
Arguments
input
[int]
In either inlet: Same as a
. float
Arguments
input
[float]
In either inlet: Same as a
. list
Arguments
input
[list]
In either inlet: Same as a
. anything
Arguments
input
[list]
In either inlet: Converted to
. stop
In left inlet: Undoes the effect of a
in the right inlet. Output
bang
When onebang receives a in its left inlet, it sends a out its left outlet only if it has received a in its right inlet since the last time it sent out a . Otherwise, it sends a out its right outlet.
See Also
Name | Description |
---|---|
Sharing Max Patchers | Sharing Max Patchers |
gate | |
Ggate |