Loading Patchies...

scan

programming

Accumulate values over time ($1=acc, $2=input)

Inlets

MessageDescription
anyNew input value, becomes $2 in expression
MessageDescription
bangReset to initial value
anySet accumulator directly

Outlets

MessageDescription
anyCurrent accumulator value

Tags

programmingscanaccumulatereducestate