buddy Reference

Synchronize arriving data

buddy

Description

Outputs incoming data after something has been received in all inlets.

Examples

Output is synchronous, even if input is not synchronous

Arguments

inlets [int]

Optional

Sets the number of inlets and outlets. If there is no argument, there are two inlets and two outlets.

Attributes

Common Box Attributes

Messages

bang

In any inlet: Same as sending the number 0.

int

Arguments

input [int]
In any inlet: When data has been received in all its inlets, buddy sends the received messages out their corresponding outlets, then waits until data has arrived again in all inlets.

float

Arguments

input [float]
In any inlet: When data has been received in all its inlets, buddy sends the received messages out their corresponding outlets, then waits until data has arrived again in all inlets.

list

Arguments

input [list]
In any inlet: When data has been received in all its inlets, buddy sends the received messages out their corresponding outlets, then waits until data has arrived again in all inlets.

anything

Arguments

input [list]
In any inlet: When data has been received in all its inlets, buddy sends the received messages out their corresponding outlets, then waits until data has arrived again in all inlets.

clear

In left inlet: Deletes all values stored in the inlets.

Output

any message

When a data has arrived in each inlet, it is sent out the outlets, in order from right to left.

See Also

Name Description
bondo
onebang
join
pack
swap
thresh
unjoin
unpack