TouchOSC: Toggle Play/Stop with one button? >>
wr-forum WOW mod

SearchSearch   Users   Registration   Entrance
Today: 15.09.2025 - 10:35:54
Pages:  1  

TouchOSC: Toggle Play/Stop with one button?

AuthorMessage

Zoeb2s

user




Statistics:
Messages: 473
Registration: 01.13.2003

Hi all, I'm extending the existing LogicTouch layout (and corresponding ReaperOSC file) to have a new page with really big buttons for play, stop, cycle, and record. I'd like to go further and combine the play and stop buttons. However, right now, while reaper is playing when you hit play reaper *pauses* which is useless to me (some people may like that but I don't). If reaper is in a playing state, when I hit play I'd like reaper to stop. I've fiddled about but have reached my practical limit. Anyone know how I can do that? Thanks!

---------------------
Message # 1 27.08.23 - 04:05:30
RE: TouchOSC: Toggle Play/Stop with one button?

PeteK

user




Statistics:
Messages: 166
Registration: 03.27.2003

You may just have to assign the OSC button to the "Transport: Play/stop" action instead of "Transport: Play/pause"

---------------------
- Pete
Message # 2 27.08.23 - 04:09:49
RE: TouchOSC: Toggle Play/Stop with one button?

EuroSpec325is

user




Statistics:
Messages: 51
Registration: 03.01.2001

A bit late for the party, I know. But if anyone is still looking for a solution, here it is: On the 'Play' button you can add this script to the 'onValue' session. It will fire the stop button whenever it's own value is '0'. if (value == 0) { send('127.0.0.1:5000', '/stop', 1) } Where '127.0.0.1:5000' = your ip and port of Reaper interface. Now, if you want it to react just like the original Play button from the transport bar, you add this code: if (value == 0) { send('127.0.0.1:5000', '/stop', 1) send('127.0.0.1:5000', '/play', 1) }

---------------------
Too often, we lose sight of life's simple pleasures. Remember, when someone annoys you, it takes 42 muscles in your face to frown, but it only takes 4 muscles to extend your arm and bitch-slap the f*cker upside the head...
Message # 3 27.08.23 - 04:18:11
RE: TouchOSC: Toggle Play/Stop with one button?
Anyone Have Firewire Audiophile?? : Previous topicNext topic: pro tools digi 002, or Cubasesx with EMU 1820m
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants