OSCBus creates an OSC responder for a specific OSC tag, and puts incoming data onto a bus. The data is assumed to be all floats or integers.
See also OSCFunc for issues regarding the NetAddr to supply.
Creates a new OSCBus
cmdName |
OSC tag to listen for. |
nchan |
Number of channels the bus will be. The incoming OSC messages should have a lengt equal to this. |
addr |
NetAddr from which the OSC message comes |
server |
An instance of Server. If none is given the default server is used. |
Create the bus, and add the OSCFunc. This is called automatically when a new instance is created, but it may be used if the method free was called previously during the session.
Free the bus, and remove the OSCFunc.
Scale factor with which the incoming OSC values is scaled before putting the values on the bus.
The Bus object to which the data is set.
OSC tag to listen for.
Number of channels of the bus.
The Server object on which the bus is.