running-avg

gweimer/utils/running-avg

Calculate a running AVG. Variadic is dummy pin to select # of values to AVG. Unlabelled pins are for internal use only.
running-avg
@/running-avg
Calculate a running AVG. Variadic is dummy pin to select # of values to AVG. Unlabelled pins are for internal use only.
UPDpulse
Push another value onto the queue
VALnumber
Value to add to the queue on UPD
IN1number
internal use only
IN2number
Unused. Accumulator pin to match AVG output
dumynumber (variadic)
Only to select depth of queue, pin itself is not used.
running-avg
IN1
IN2
OUT1
OUT2
UPD
VAL
dumy
AVG
AVGnumber
AVG of numbers currently in the queue
OUT2number
internal use only
OUT1number
internal use only
To use the node in your project you should have the gweimer/utils library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.