Represents a single Open Sound Control (OSC) bundle. An OSC bundle can receive an arbitrary amount of OSC messages.

Hierarchy

  • OscBundle

Constructors

Properties

Constructors

  • Creates an instance of an OSC bundle.

    If timestamp is omitted, the current time on the device is set.

    Parameters

    • messages: OscMessage[]

      The messages to be contained in this bundle

    • Optional timestamp: number

      The timestamp of this bundle

    Returns OscBundle

Properties

messages: OscMessage[]

The array of messages contained in this bundle.

timestamp: number

Represents the timestamp of this OSC bundle. Returns total milliseconds since Unix epoch.

Generated using TypeDoc