Page 1 of 1
Simple OSC question
Posted: Sun Sep 17, 2017 5:47 pm
by Pace514
Hi all !!!
I know i can control submaster 1 with: /cmd.lxconsole/SUB-1.
But what if i want to control channel 1 : /cmd.lxconsole/chn-1 ???
Have a nice day !
Pascal
Posted: Tue Sep 19, 2017 2:35 am
by admin
You can map any arbitrary OSC message to various commands using the OSC tab of the setup window. See the online help for a reference.
OSC messages of the form /cmd.lxconsole/<command> can be used to execute commands that you might type on the command line and do not need a specific action assigned in the Setup window. The extraction of arguments to the message works like an OSC action (see the online help page for Setup->OSC tab). Assuming that the message has a floating point argument 0.0-1.0 you would use /cmd.lxconsole/1@%p
Posted: Wed Sep 20, 2017 2:03 pm
by Pace514
Thanks a lot !!!
Now why /cmd.lxconsole/SUB-1@100 is working for a submaster
and /cmd.lxconsole/GROUP-1@100. is not working for a group ???
Thanks again !
Pascal
Posted: Wed Sep 20, 2017 4:23 pm
by admin
/cmd.lxconsole/group:1@100
(this is what you would enter on the command line)
/cmd.lxconsole/SUB-1 controls sub 1 with the floating point argument of the OSC message
/cmd.lxconsole/SUB-1@100 is not a proper message but probably works because you are sending along an argument with the value 1.0. If you sent that address pattern with a float argument of 0.25, despite the fact it reads "@100", submaster 1 would be set to 25%. The command line form you are looking for is /cmd.lxconsole/sub:1@100
Posted: Wed Sep 20, 2017 7:12 pm
by Pace514
I'm learning... Thanks to you !!!
Have a nice day !
Pascal