accum~ Reference

Additive accumulator

accum~

Examples

Arguments

reset [auto]

Optional

A non-zero number will trigger the output to reset to 0 on the next input value

Inlets

x [auto]

Signals sent through the left inlet will be accumulated as long as the calculation is not reset.

reset [auto]

A non-zero number will trigger the output to reset to 0 on the next input value

Outlets

out1 [signal]

The accumulated output

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

reset [auto]

A non-zero number will trigger the output to reset to 0 on the next input value

x [auto]

Signals sent through the left inlet will be accumulated as long as the calculation is not reset.

See Also

Name Description
accum Store, add to, and multiply a number
accum Additive accumulator
mulequals Multiplicative accumulator
counter keep count based on input events
int
float