latch~ Reference

Conditionally pass or hold input

latch~

Examples

Arguments

control [auto]

Optional

A zero value will close the latch while a non-zero value will open the latch.

Inlets

x [auto]

Input to be latched

control [auto]

A zero value will close the latch while a non-zero value will open the latch.

Outlets

out1 [signal]

The latched output

Dynamic Attributes

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

control [auto]

A zero value will close the latch while a non-zero value will open the latch.

reset [bang] (default: 0)

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

x [auto]

Input to be latched

See Also

Name Description
gate Pass an input to one of several outlets.
gate~ Pass a signal to one of several outlets.
selector~ Assign one of several inputs to an outlet