bondo Reference

Synchronize a group of messages

bondo

Description

Synchronizes and outputs a set of inputs when any input is received. It can also be set with a time interval value (in milliseconds) to wait before sending its output.

Examples

bondo can synchronize messages arriving from different sources

Arguments

inlets-outlets [int]

Optional

Specifies the number of inlets and outlets. The default number of inlets and outlets is 2.

delay [int]

Optional
Unitsms

Specifies the number of milliseconds to delay when a message is received before sending messages out the outlets.

list-flag [symbol]

Optional

Using the symbol "n" as an argument, bondo is able to synchronize lists which arrive in different inlets.

Attributes

Common Box Attributes

Messages

bang

Send all stored messages

int

Arguments

input [int]
In any inlet: The input is stored in the location corresponding to that inlet, and causes anything previously stored to be sent out its corresponding outlet. If no message has yet been received in a particular inlet, 0 is sent out of the corresponding outlet.

float

Arguments

input [float]
In any inlet: The input is stored in the location corresponding to that inlet, and causes anything previously stored to be sent out its corresponding outlet. If no message has yet been received in a particular inlet, 0 is sent out of the corresponding outlet.

list

Arguments

input [list]
In any inlet: The elements of the list are parsed among the inlets. The first element in the list is sent out the outlet which corresponds to the inlet which received the list and each subsequent element in the list is sent out each subsequent outlet.

If the "n" argument was used, bondo will store and output lists for each outlet in addition to single numbers.

anything

Arguments

input [list]
In any inlet: The input is stored in the location corresponding to that inlet, and causes anything previously stored to be sent out its corresponding outlet. If no message has yet been received in a particular inlet, 0 is sent out of the corresponding outlet.

set

Arguments

input [list]
In any inlet: The word set, followed by any message, stores the input in the location corresponding to that inlet without triggering any output.

Output

any message

Anything stored in an inlet is sent out the corresponding outlet numbers. Output is immediate if triggered by a bang. If output is triggered by a message, and a second argument has been typed in, output will be delayed by the number of milliseconds specified in the second argument.

See Also

Name Description
buddy
join
onebang
pack
thresh