bondo

Synchronize a group of messages

Description

The bondo object 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.

Arguments

Name Type Opt Description
number-of-inlets/outlets and message-delay (milliseconds) int opt The first argument specifies the number of inlets and outlets. The default number of inlets and outlets is 2. The second argument specifies a number of milliseconds to delay when a message is received before sending messages out the outlets. By using the symbol "n" as a second argument, bondo is able to synchronize lists which arrive in different inlets.

Messages

bang In any inlet: Sends out all stored messages immediately.
int 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 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 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 there are more items in the list than outlets to pass them through, those items are simply dropped. By using the symbol "n" as a second argument, bondo is able to synchronize lists which arrive in different inlets.
anything 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 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.

Information for box attributes common to all objects

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.

Examples

bondo can synchronize messages arriving from different sources

See Also

Name Description
buddy Synchronize arriving data, output them together
onebang Traffic control for bang messages
pack Combine numbers and symbols into a list
thresh Combine numbers into a list when received close together