Represents a single Open Sound Control (OSC) message.

Hierarchy

  • OscMessage

Constructors

Properties

Constructors

  • Creates an instance of an OSC message.

    If values is omitted, it will be an empty array.

    Parameters

    • address: string

      The address for this message.

    • Optional values: OscValue[]

      The values to be contained in this message.

    Returns OscMessage

Properties

address: string

Represents the address of this OSC message.

timestamp: number

Represents the timestamp of this OSC message.

If this message was received as part of an OSC bundle, returns the timestamp as total milliseconds since Unix epoch.

When sending a message, this value is not used.

values: OscValue[]

The array of values contained in this message.

Generated using TypeDoc