Adds a new value to the sample buffer. If the buffer is already full the new value replaces the oldest element.
add
@/add
Adds a new value to the sample buffer. If the buffer is already full the new value replaces the oldest element.
Buffer@/sample-buffer
Sample buffer.
Newnumber
New value to be stored in buffer.
UPDpulse
Update. Push new value into sample buffer.
Donepulse
Pulses when a new value is stored in the sample buffer.
To use the node in your project you should have the wayland/running-median 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.