mc.edge~ Reference

Detect logical signal transitions (multichannel)

mc.edge~

Description

Use the edge~ to detect zero to non-zero (and vice versa) signal transitions and report a bang out of one of its two outlets according to which direction the transition has occurred.

Arguments

None.

Attributes

Common Box Attributes

Multichannel Group Attributes

Messages

signal

A signal that will change between zero and non-zero values

Multichannel Group Messages

Output

bang

Out left outlet: Sent when the input signal changes from zero to non-zero. The minimum time between bang messages will not be shorter than the minimum scheduler interval, which is generally equal to the signal vector size, but may be larger if Scheduler in Audio Interrupt mode is not enabled.

Out right outlet: Sent when the input signal changes from non-zero to zero. The output will not happen more often than the time represented by the number of samples in the current input/output vector size.

See Also

Name Description
change~
thresh~
zerox~