Accumulator
accumulator · v1Adds Increment to its state every sample. Outputs 0 while Reset is on.
Accumulator
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 |
|---|---|---|
Incrementincrement | number | Controls Increment with a number stream. Without a wire, the manual value is 1.Manual value when disconnected |
Resetreset | gate | An on Gate resets the internal state.Optional |
Outputout | number | The number result of Accumulator, 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
Values describe manual settings. A connected stream replaces a parameter’s manual value; disconnecting restores it.
| Parameter | Range | Default | Control |
|---|---|---|---|
Incrementincrement | -1000000…1000000 | 1 | Input or manualLinear scale |
How to use it
Increment = 1 / Sample Rate from Time / Context creates a time counter in seconds.
Things to check
This is a per-sample accumulator, not a pulse counter. Use Counter for Gate edges.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →