Bitwig Studio Control Surface API  5.0.11
OscModule Interface Reference

Public Member Functions

OscAddressSpace createAddressSpace ()
 
void createUdpServer (int port, OscAddressSpace addressSpace)
 
OscServer createUdpServer (OscAddressSpace addressSpace)
 
OscConnection connectToUdpServer (String host, int port, OscAddressSpace addressSpace)
 

Detailed Description

Interface to create Osc related object.

Since
API version 5

Member Function Documentation

◆ connectToUdpServer()

OscConnection connectToUdpServer ( String  host,
int  port,
OscAddressSpace  addressSpace 
)

Tries to connect to an OscServer.

Parameters
addressSpacecan be null
Returns
a new OscConnection
Since
API version 5

◆ createAddressSpace()

OscAddressSpace createAddressSpace ( )

Creates a new OscAddressSpace.

In short the OscAddressSpace dispatches the incoming messages to services. An OscAddressSpace is an OscService.

Since
API version 5

◆ createUdpServer() [1/2]

void createUdpServer ( int  port,
OscAddressSpace  addressSpace 
)

Creates a new OSC Server.

Parameters
addressSpaceUse createAddressSpace()
Since
API version 5

◆ createUdpServer() [2/2]

OscServer createUdpServer ( OscAddressSpace  addressSpace)

Creates a new OSC Server. This server is not started yet, you'll have to start it by calling server.start(port); Use this method if the port is not known during the initialization (coming from a setting) or if the port number can change at runtime.

Parameters
addressSpaceUse createAddressSpace()
Returns
a new OscServer
Since
API version 10

The documentation for this interface was generated from the following file: