OSC (Open Sound Control) is a very handy and flexible network protocol. OSC messages consist of an address pattern, a type and arguments. OSC address pattern are very similar to Audiostack addresses, so that managing Audiostack through OSC is quite easy.

Do I need OSC Extension?

Remotely driving Audiostack through OSC may help your use Audiostack in a game engine without dedicated Audiostack plugin.

OSC Extension helps connecting Audiostack to tracking systems, remotes, etc.



OSCServer is a class that enables to control parameters, commands and callbacks through OSC network protocol. These are aimed with the same address as they are usually in Audiostack. For callbacks, the value that has to be given is the remote handler of an other OSC server.

For advanced features, some methods are proposed to add user defined commands.

OSCServer(AudiostackContext& _context)

Construct an OSCServer that can interact with the AudiostackContext _context.

start(int _listeningPort)

Starts listening for OSC messages incoming on prt _listeningPort.

void stop()

Stops listening to OSC messages.

void setCallbackDestination(const char* _ipAddress, int _port)

Configures the OSC server to send audiostack callbacks to an other OSC server at _ipAddress that listen to port _port.

void registerCommand(const char* _address, Fn _functionPointer, void* _context)

Registers a handler called when receiving an OSC message at address _address. The _context argument can be used to store custom user information. _functionPointer is a function pointer of a supported type. This method is useful to handle other message that those linked to parameters, commands and callbacks.

void sendCallback(const char* _address, const char* _content)

Requires revision

Sends an OSC message containing _content to callback destination with address _address.

Usage :

AudiostackContext myContext;
[...]	// usual license setting, diagram building

OSCServer myServer;

// Now, another local/remote program could send osc messages such as:
//		"/source/4/position" -> [0,1,2]
//		"/source/6/play"
//	/!\ Please note that OSC messages always begin with a slash


More samples will be added. Please contact us to get support if you wish to use OSC.

Client Server mode

Please see Server documentation