RNBO Objects & Operators edge~
Open Help

edge~

detect logical signal transitions

Description

Use the edge~ object to detect zero to non-zero (and vice versa) signal transitions. A bang is output from one of its two outlets according to which direction the transition has occurred.

Inlets

input [signal]

The input signal to analyze.

Outlets

onout [bang]

Outputs a bang whenever the input signal transitions from a zero to non-zero value.

offout [bang]

Outputs a bang whenever the input signal transitions from a non-zero to zero value.

Dynamic Attributes

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

input [signal]

The input signal to analyze.

See Also

Name Description
edge~
change~ Report signal direction
gate~ Pass a signal to one of several outlets.
gatetotrig~ A gate to trigger operator.
silencedetector~ Outputs a bang if a signal buffer of silence is detected after a note off
thresh~ Detect input above a certain level
zerox~ Detect zero crossings