Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 04-07-2018, 02:21 PM   #1
denisp
Human being with feelings
 
Join Date: Feb 2018
Posts: 43
Default osc remote control "toggle repeat" does not actually toggle

Hello all
as said, an OSC command (i.e. /repeat) does not toggle repeat. Instead, "/repeat 1" sets repeat to On and "/repeat 0" sets it to Off.
it seems other "toggle" actions only need the same OSC commands to set them on and off. For example you can "toggle snapping" with a single OSC command "/snap" regardless of anything following.
Then if you have your remote OSC control interface (i.e. TouchOSC), you have to think carefully which OSC command is a toggle and which is a button, for the same type of Reaper action. Not very consistent in my opinion.
Would it be possible to correct it ? thanks a lot.

Last edited by denisp; 04-11-2018 at 01:27 PM. Reason: resolved
denisp is offline   Reply With Quote
Old 04-08-2018, 12:16 AM   #2
azslow3
Human being with feelings
 
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
Default

In which Reaper version?

I have just tested in 5.78/Win64 and REPEAT works according to the pattern.
I mean if in the pattern I have:
Code:
REPEAT t/repeat b/cycle
Then "/repeat" toggle and "/cycle 1" ("/cycle 0") turn On/Off.
azslow3 is offline   Reply With Quote
Old 04-08-2018, 10:46 AM   #3
denisp
Human being with feelings
 
Join Date: Feb 2018
Posts: 43
Default

Not sure I understand what you mean...
I was talking about the action "Transport : toggle repeat".
What is "cycle" doing here ?
I use Reaper 5.78 Win64 as well.
denisp is offline   Reply With Quote
Old 04-08-2018, 12:33 PM   #4
azslow3
Human being with feelings
 
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
Default

Well... its my turn in not understanding what you do/want to do

OSC is working throw 2 different ways:
1) something is defined in the pattern file, here you specify exactly what you need, toggle or binary (as in my example)
2) when you "Learn" in the actions list.

I have just tested the way (2) and I get "toggle" effect for "Transport: toggle repeat", no matter with or without value.

But in case you use the same OSC path ("/repeat") in both places, you can get strange effects since corresponding actions are executed twice when the command is received (so "OSC leaks" like "MIDI leaks"... it seems like that is Reaper philosophy to allow users do stupid things...).
azslow3 is offline   Reply With Quote
Old 04-11-2018, 01:26 PM   #5
denisp
Human being with feelings
 
Join Date: Feb 2018
Posts: 43
Default

thank you very much ! I made it work.
I used the "learn" method I suppose there was a double action somewhere. Apparently the "learn" method can create confusion. I just discovered about the predefined OSC commands, and the different encoding in the Default.ReaperOSC and reaper-osc-actions.ini files.
thanks again.
denisp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.