Page 1 of 1

Simple TouchOSC question

Posted: Fri Mar 16, 2018 15:14
by crv74
I'm doing well with the ports and everything is going fine sending one command.

My question is simple: can i send 2 commands from a push button?

I only want to "kill" 2 layers at the same time...

/composition/layers/5/clear
/composition/layers/4/clear

like these 2 commands at once, but i can't get it working.

Thanks,

Carles

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 15:23
by Zoltán
Maybe if you place 2 buttons on top of each other in the TouchOSC layout.

or as an alternative you could place 2 buttons next to each other, and use 2 fingers to push the two buttons simultaneously.

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 15:36
by edwin
Or add the Layers to a Group and send a Group Clear message?

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 15:57
by Oaktown
In TouchOSC you can send OSC, MIDI, and Key from one button at the same time.

As an alternative you could send MIDI and program both your Layer 4 & 5 to clear on the same note.

You could also use a third party interface such as Touch Designer to take one OSC command in and send two out.

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 16:38
by crv74
Thanks for the hints.

So in resume the answer is NO.

All other solutions are "dirty" ones.

Also 2 button one over the other don't work.
Even OSC + "key" is not working for me, but maybe i'm doing somethig wrong there...

So i put 2 buttons close enough ;)

Cheers, Carles

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 16:55
by Oaktown
So i can send the OSC and the "key" for the 2 command order.
Or just one OSC + one MIDI or any combination.

As a note you could send one Key and program both Layers to clear with the same key.

Don't forget to run TouchOSC Bridge on your host computer AND enable it in the controller,

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 16:59
by crv74
The send key alone is not working for me...

But i'll solve it with the 2 button close together, and figure aout what is wrong with the key send...
(with keyboard it works)

Thanks again!

Carles

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 17:19
by Oaktown
If you want to use a Key command, don't forget to run TouchOSC Bridge on your host computer AND enable it in the controller. If you're having issues such as nothing is happening, check your firewall.

More about the TouchOSC Bridge at: https://hexler.net/docs/touchosc-getting-started-midi

Re: Simple TouchOSC question

Posted: Fri Mar 16, 2018 18:29
by crv74
THAT was the thing.

Thanks a lot Oaktown!