Simple OSC question

LXConsole support and feedback
Post Reply
Pace514
Posts: 105
Joined: Sat Aug 29, 2015 6:19 pm
Location: Montréal

Simple OSC question

Post 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
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post 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
Pace514
Posts: 105
Joined: Sat Aug 29, 2015 6:19 pm
Location: Montréal

Post 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
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post 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
Pace514
Posts: 105
Joined: Sat Aug 29, 2015 6:19 pm
Location: Montréal

Post by Pace514 »

I'm learning... Thanks to you !!!

Have a nice day !

Pascal
Post Reply