Shift function with OSC button
Posted: 14 Sep 2014 12:57
Hi,
I'm having trouble creating a button with shift functionallity that responds to OSC as well. The thing is, that the button also gets triggered by the OSC message, is there anyway around this? What I want to do is this:
Create a button to, for example, solo a track in Reaper.
- When shift is off the button just solos the track
- When shift is on the button sends an OSC command first to UNsolo all tracks, and then solos the current track (exclusive solo).
- The button is linked to the address in reaper. So when you solo a track in reaper the button on Lemur gets activated.
- This can be done so far by using a script that runs on expression X, checks the status of the shift button, and then runs either function 1 or 2.
The problem however is this: when you click solo in Reaper, the button also gets triggered. Which I don't want (because the function of the button then runs). However I do need to information from reaper to update the button status on the Lemur.
So basically my question is: is there a way on the Lemur to run a script when the button is pressed that only responds to a click on the Lemur (and not to its assigned OSC address).
My apologies if this is a very simple question, but I couldnt find it in the forums (the other shift topic was about midi).
Thanks!
n0ne
I'm having trouble creating a button with shift functionallity that responds to OSC as well. The thing is, that the button also gets triggered by the OSC message, is there anyway around this? What I want to do is this:
Create a button to, for example, solo a track in Reaper.
- When shift is off the button just solos the track
- When shift is on the button sends an OSC command first to UNsolo all tracks, and then solos the current track (exclusive solo).
- The button is linked to the address in reaper. So when you solo a track in reaper the button on Lemur gets activated.
- This can be done so far by using a script that runs on expression X, checks the status of the shift button, and then runs either function 1 or 2.
The problem however is this: when you click solo in Reaper, the button also gets triggered. Which I don't want (because the function of the button then runs). However I do need to information from reaper to update the button status on the Lemur.
So basically my question is: is there a way on the Lemur to run a script when the button is pressed that only responds to a click on the Lemur (and not to its assigned OSC address).
My apologies if this is a very simple question, but I couldnt find it in the forums (the other shift topic was about midi).
Thanks!
n0ne