onoff~ Reference

Trigger an output alternating between 0 and 1

onoff~

Examples

Outlets

out1 [signal]

An alternating sequence of boolean values triggered from each DSP block processed at the current sampling rate.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

See Also

Name Description
gate Pass an input to one of several outlets.
switch Accept messages from a specific inlet.