Creates an OSCSender object with a specified hostname and port.
The remote host to which messages will be send.
The remote UDP port number.
Throws an exception if the connection cannot be established for the specified hostname and port.
The gain for this object.
Defaults to 1.0.
The dBFS level for this object.
Defaults to 0.0
Returns hostname for this object.
The identifier of this node.
The audio input channels of this audio unit.
The midi input for this audio unit.
The audio output channels of this audio unit.
The pan for this object.
Defaults to 0.0; -1.0 = left, 0.0 = centre, 1.0 = right.
Returns the UDP port for this object.
Connects this object's output to the specified destination object's input ("output" if the destination is a graph).
The AudioUnit | Graph to which to connect.
An index specifying which output of this AudioUnit to connect to the destination.
An index describing which input of the destination you want to connect this AudioUnit to.
Returns a reference to the destination AudioUnit object allowing you to chain multiple connect() calls. If the destination is a Graph object, connect() returns undefined.
Generated using TypeDoc
Represents an OSC sender.
An OSCSender object can send OSC messages to a specified host over UDP socket.