scan
programmingAccumulate values over time ($1=acc, $2=input)
Inlets
| Message | Description |
|---|---|
any | New input value, becomes $2 in expression |
| Message | Description |
|---|---|
bang | Reset to initial value |
any | Set accumulator directly |
Outlets
| Message | Description |
|---|---|
any | Current accumulator value |
Tags
programmingscanaccumulatereducestate