Hi Claude,
I’m building a TouchOSC layout to select channels in LXConsole via OSC.
If I send: /cmd.lxconsole/56 it selects channel 56, but it replaces the previous selection (so I can’t build a multi-selection by pressing multiple channel buttons).
I tried using the AND key over OSC (/key.lxconsole/&) before sending the channel number, but it doesn’t work well when nothing is selected yet (first button press).
Is there an OSC command to “add channel(s) to the current selection” (append selection), without deselecting the previous channels?
Example: press 56 → select 56
press 57 → selection becomes 56 + 57 (not only 57)
Or maybe i over complicate the thing...
Thanks again !
Pascal
adding channels to selection via touchosc
Re: adding channels to selection via touchosc
This is probably not the best way to achieve what you are asking for...
"/lxconsole/key/$" OSC messages were previously restricted to a single character.
("/key.lxconsole/" was the older address pattern that still works but should be replaced by the newer "/lxconsole/key/" whenever possible)
With the latest build of LXConsole ( available from today, Version 6.7.3 (21125.1) ) the string can have more than a single character. Each character is treated as if it was typed into the command line.
Thus, with 21125.1, you can send /lxconsole/key/&26 1.0 and add the selection of channel 26 to already selected channels.
Note that /lxconsole/key/$ must be accompanied by a floating point argument of 1.0.
"/lxconsole/key/$" OSC messages were previously restricted to a single character.
("/key.lxconsole/" was the older address pattern that still works but should be replaced by the newer "/lxconsole/key/" whenever possible)
With the latest build of LXConsole ( available from today, Version 6.7.3 (21125.1) ) the string can have more than a single character. Each character is treated as if it was typed into the command line.
Thus, with 21125.1, you can send /lxconsole/key/&26 1.0 and add the selection of channel 26 to already selected channels.
Note that /lxconsole/key/$ must be accompanied by a floating point argument of 1.0.