# OSCBus

## Put data from an incoming OSC message onto a bus

Inherits from:: Object

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 OSCresponderNode for issues regarding the NetAddr to supply.

### Creation / Class Methods

*new(addr,cmdName,nchan,server)
  Creates a new OSCBus
  nchan
    Number of channels the bus will be. The incoming OSC messages should have a lengt equal to this.
  cmdName
    OSC tag to listen for.
  server
    An instance of Server. If none is given the default server is used.
  addr
    NetAddr from which the OSC message comes

### Accessing Instance and Class Variables

renew
  Create the bus, and add the responder. 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
  Free the bus, and remove the responder.
scale
  Scale factor with which the incoming OSC values is scaled before putting the values on the bus.
scale_
  Set the scaling.
bus
  The Bus object to which the data is set.
nc
  Number of channels of the bus.
server
  The Server object on which the bus is.

This helpfile was created with the class HelpFile2