Class Osc.Input

An OSC input.

Constructors

Input(integer port, integer protocol) create an OSC input that listens to a network port.
Input(integer port, string address) create an OSC input that listens to a multicast group.
Input(string path) create an OSC input that listens to a UNIX domain socket.

Properties

port port number for this input.

Methods

onReceive(function handler) register a callback to handle received messages.

Constructor Documentation


Input(integer port, integer protocol)

Create an OSC input that listens to a network port.

Parameters


Input(integer port, string address)

Create an OSC input that listens to a multicast group.

Parameters


Input(string path)

Create an OSC input that listens to a UNIX domain socket.

Parameters

Property Documentation


integer port

Port number for this input.

Method Documentation


void onReceive(function handler)

Register a callback to handle received messages.

Parameters



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.