bucket
Description
Outputs incoming values to outlets in bucket-brigade fashion. bucket acts as an n-stage shift register which can shift its contents from outlet to outlet in either direction.
Examples

Arguments
outlets [int]
Sets the number of outlets. If there is no argument, there will be one outlet.
output-flag [int]
A second non-zero argument sets the bucket object to "echo to output" mode, whereby the number received in the inlet is stored and sent out the left outlet when it is received. This makes it somewhat easier to visualize the data coming from the outlets.
Attributes
Common Box Attributes
Messages
bang
int
Arguments
float
Arguments
L2R
R2L
freeze
l2r
r2l
roll
set
Arguments
thaw
Output
int or float
When a number is received, it is not sent out immediately, but the numbers stored in bucket are sent out. The numbers are all moved one outlet to the right, and the newly received number is stored in the left position. When using the "echo to output" mode (set with a non-zero second argument to the object) the number received is sent out immediately, instead of the previous input value.
See Also
Name | Description |
---|---|
cycle | |
decode | |
gate | |
spray | |
Max Basic Tutorial 15: Abstractions | Max Basic Tutorial 15: Abstractions |