OSCBundle:
Filter:
Classes | External Control > OSC

OSCBundle : Object

network bundle object
Source: OSCBundle.sc
Subclasses: MixedBundle

Description

A bundle object that allows to add preparation messages for async processes. If this feature is not needed, a list object can be used instead.

Class Methods

Inherited class methods

Instance Methods

.add(msg)

Add an osc message to the bundle.

.addAll(mgs)

Add an array of osc messages to the bundle.

.addPrepare(msg)

Add a preparation osc message, which is sent before the bundle is sent.

.send(server, time, timeOfRequest)

Send the bundle to a server. If preparation messages are given, they are sent, the process waits for their reception abd then sends the bundle.

.schedSend(server, clock, quant)

Like send, but the sending is synced to a given clock to the next beat.

Arguments:

server

A Server.

clock

A TempoClock.

quant

Can be a pair of values: [quant, offset].

Inherited instance methods

Undocumented instance methods

.addCancel(msg)

.cancel

.doPrepare(server, onComplete)

.messages

.preparationMessages

.sendAtTime(server, atTime, timeOfRequest)

Examples