Class: OSCBundle

Environment: Siren
Superclass: Siren.AbstractOSCPacket
Category: MusicIO-OSC
Instance variables: messages time
Class variables: MillisecScale MillisecToNTP SecsInAYear

OSCBundle represents a bundle of OSC messages

Instance Variables:
messages my contents
time my action time

Shared Variables:
MillisecScale msec/year (?)
MillisecToNTP msec scale for NTP
SecsInAYear sec/year

osc

timeTagToOSCBytes: aConvertor
Store a time thingy into the given convertor

toOSCBytes: aConvertor
^self

initialize-release

init: aCollection

init: aCollection time: aTime
Initialize the receiver.

MetaClass: OSCBundle class

instance creation

with: aCollection

with: aCollection at: aTimestamp

support

asNTPMilliseconds: aTimestamp
Convert aTimestamp to the OSC representation of the same

asSecondsSince1900: aTimestamp
Convert aTimestamp to seconds since 1900

timestampToOSC: aTimestamp
Convert aTimestamp to the OSC representation of the same

class initialization

initialize
Initialize the values of the shared variables.

examples

example1
Simple example

example2