Receive specific argument

Hi, there are two ways to separate the arguments received by open stage control:

Using a custom module

Incoming messages can be routed to different addresses (ie different widgets) using a user-written piece of code refereed as custom module, I posted a short example in this topic.

Using a script widget

A script widget listening on /oscRobot/move can dispatch the arguments it receives, its script property would look like:

// o-s-c v1.0.0
set('knob_1', value[0])
set('knob_2', value[1])

or

JS{{
// o-s-c v0.49.12
set('knob_1', value[0])
set('knob_2', value[1])
}}
1 Like