v0.1Latest
Edge Detector
Detect rising and falling edges on a non-zero signal.
Edge Detector converts zero-to-nonzero changes into single-sample Rising triggers and nonzero-to-zero changes into Falling triggers. Any nonzero value is high, including negative values and values below 0.5; moving between two nonzero values is not an edge. Connect a gate to create distinct start and end events. Edge history survives live graph edits and transport start, stop, or seek. Explicit reset or patch initialization starts low, so an initially high input produces one Rising trigger.
Inputs
Gate
| ID | gate |
|---|---|
| Signal | control · control rate |
| Default | 0 |
| Coercion | Implicit |
Outputs
Rising
One-sample trigger on false → true transitions.
| ID | rising |
|---|---|
| Signal | trigger · event rate |
| Coercion | Implicit |
Falling
One-sample trigger on true → false transitions.
| ID | falling |
|---|---|
| Signal | trigger · event rate |
| Coercion | Implicit |
Details
| Canonical ID | logic.edge |
|---|---|
| Category | utilities |
| Runtime Surface | control |
| Runtime Targets | control-main-thread |
| JUCE Early Access | Supported |
| Early Access Note | Native-supported in the plugin for the current catalog/runtime support contract. |