Local Leaky Impulse Bucket (LogiX node)
Jump to navigation
Jump to search
Local Leaky Impulse Bucket | ||
---|---|---|
![]() | ||
Inputs | ||
Impulse | Trigger | |
Impulse | Reset | |
Float | Interval | |
Int | MaximumCapacity | |
Outputs | ||
Impulse | Pulse | |
Impulse | Overflow | |
Int | CurrentCapacity |
The Local Leaky Impulse Bucket node can be used as a buffer to store multiple impulses and release them at a constant rate. This node operates according to the Leaky bucket algorithm.
Usage
Trigger
is the impulse source for the bucket. Reset
will remove all remaining impulses from the bucket. Interval
is a configurable time interval which affects how often impulses are poured out of the bucket. MaximumCapacity
is the maximum number of impulses that can be stored in the bucket. Pulse
fires whenever the specified time interval has elapsed if there are impulses remaining. Overflow
fires whenever an impulse is received through Trigger
while the bucket is full. CurrentCapacity
is the current number of impulses in the bucket.