RegulateChunkSizes¶
Fix up chunk size irregularities in streaming data using a buffer.
This node maintains a running estimate of the average number of samples that it receives on each update (e.g., 135 samples), and adjusts the amount of data that it outputs on each update to be this quantity of samples. The node maintains a buffer of configurable length to be able to absorb "hitches" in the input pipeline. As a result, the node outputs a very regular stream of samples even if the input processing chain has very irregular latency characteristics. One use of this node is to drive smooth-scrolling plots and other visualizations that shall be smoothly updating. Version 1.0.0
Ports/Properties¶
data¶
Data to process.
buffer_length¶
Buffer length. This is the length of the buffer to absorb hitches, in seconds.
reset_on_gap¶
Reset the state if a gap is encountered that is longer than this. In seconds.
also_reset_buffer¶
Also reset buffer on gap.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.