edge~ Reference

detect logical signal transitions

edge~

Examples

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~ Detect logical signal transitions
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