It is possible to remotely control some panLab parameters via OSC. By default, panLab listens for incoming OSC on port 5300, but this can be changed in the preferences window.

 

Any OSC commands sent to panLab will address the front-most active document.

 

In the documentation below, the OSC arguments are documented within {curly brackets} and any numbers should be sent as floating point numbers.

 

panLab v1.0 will respond to the following OSC commands:

 

 

Current Source:

 

/panLab/currentSource/maxLevel {Number between -100 and +10}

 

/panLab/currentSource/maxLevel/+ {will increment maxLevel by a number (in dB)}

 

/panLab/currentSource/maxLevel/- {will decrement maxLevel by a number (in dB)}

 

/panLab/currentSource/panLaw {Number between 0 and 1}

 

/panLab/currentSource/panLaw/+ {will increment panLaw by a number (should be between 0 and 1}

 

/panLab/currentSource/panLaw/- [will decrement panLaw by a number (should be between 0 and 1)]

 

/panLab/currentSource/position {[x, y]} (an array of two numbers, both between 0 and 1)

 

/panLab/currentSource/preview

 

/panLab/currentSource/pause

 

/panLab/currentSource/stop

 

/panLab/currentSource/previewGroup

 

/panLab/currentSource/pauseGroup

 

/panLab/currentSource/stopGroup

 

 

Current Sequence:

 

/panLab/currentSequence/sync

 

/panLab/currentSequence/totalDuration {Number representing time in seconds}

 

/panLab/currentSequence/adjustPreWaits

 

/panLab/currentSequence/preview

 

/panLab/currentSequence/pause

 

/panLab/currentSequence/stop