oscStream

webbci. oscStream

Listen for messages over OSC

Constructor

new oscStream(address, port)

Source:
Parameters:
Name Type Description
address string

Address to listen on

port number

Port to listen on

Methods

on(header, callback)

Source:

Call a callback function when data containing a specified OSC header is seen

Parameters:
Name Type Description
header string

The OSC header

callback requestCallback

Called with the OSC data passed as the parameter

start()

Source:

Start listening for OSC messages

stop()

Source:

Stop listening for OSC messages