Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OSCMessage

Represents an OSC Message.

An OSCMessage consists of an address pattern and zero or more arguments. http://opensoundcontrol.org/spec-1_0

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new OSCMessage(addressPattern: string, ...args: (string | number | ArrayBuffer)[]): OSCMessage
  • Parameters

    • addressPattern: string

      An OSC address pattern is an string beginning with the character '/' (forward slash).

    • Rest ...args: (string | number | ArrayBuffer)[]

    Returns OSCMessage

Properties

addressPattern

addressPattern: string

Returns the addressPattern for this message.

http://opensoundcontrol.org/spec-1_0

arguments

arguments: Array<number | string | ArrayBuffer>

Returns the arguments for this message.

http://opensoundcontrol.org/spec-1_0

Optional id

id: ObjectID | undefined

The identifier of this object.

Generated using TypeDoc