Counter
counter · v1Increments an Integer on each rising Trigger edge. Reset clears the count.
Counter
Inputs
Outputs
Select a port to see its purpose and an example connection. Its reference row will highlight.
Ports and connections
| Port / ID | Type | Connection |
|---|---|---|
Triggergate | gate | Each off-to-on Gate transition increments the counter by 1.Optional |
Resetreset | gate | An on Gate resets the internal state.Optional |
Outputout | integer | The integer result of Counter, available to other nodes on every sample.Output |
An output can feed multiple inputs of the same type. An input has one source; Function also requires matching signatures. All connection rules →
Parameters
There are no fixed numeric parameters. Custom nodes, collections and C++ expose additional settings through their definition in the inspector.
How to use it
LFO → Compare (> 0) → Trigger. Counter → Integer to Number → a graph parameter.
Things to check
The counter wraps from 2147483647 to −2147483648 on overflow.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →