Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 12-10-2018, 03:49 AM   #1
kapverden
Human being with feelings
 
Join Date: Mar 2018
Posts: 58
Default Select Track by Name, do action / Cycle Action question / Help needed

Hi
this is my first post here.
I hope this is the right section to ask the following:

I am relatively new to reaper and in the process to built some custom actions.

What i would like to A/B between 2 tracks, so i want to toggle only the "send to master" on 2 different channels, no matter where they are in the track list. They have specific names, IN and MST.
Further i would like to toggle between on of these and a third one, MST and REF.

So for a start i tried to set up a cycle action:

CONSOLE s*MST*
_SWS_DISMPSEND
CONSOLE s*IN*
_SWS_ENMPSEND
!
CONSOLE s*IN*
_SWS_DISMPSEND
CONSOLE s*MST*
_SWS_ENMPSEND

The thing is it always depends on how the channels are selected and set before i trigger the cycle action, it has to be in a certain constellation, otherwise it does not work as expected.
Things get more complicated when i want to toggle between MST and REF.

I reckon i would need to work with an IF / ELSE but the SWS actions don't feedback the toggle state.
Is there any workaround?

Thank you,
Kapverden
kapverden is offline   Reply With Quote
Old 12-10-2018, 09:37 PM   #2
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,255
Default

Small "s" in console toggle-adds to current selection. You need a big "S" to make exclusive selections.

But you'll probably need at least one IF or IF NOT to make sure the toggles go in the expected direction.
__________________
foxyyymusic
foxAsteria is offline   Reply With Quote
Old 12-11-2018, 01:33 AM   #3
kapverden
Human being with feelings
 
Join Date: Mar 2018
Posts: 58
Default

Thanks, foxAsteria!

Ok i’ll try wirh a capital S.
As said the problem with IFs and SWS actions is that the latter don’t save a toggle state. so actually it’s not possible to use IF with SWS.
Im hoping for a workaround...
kapverden is offline   Reply With Quote
Old 12-11-2018, 01:55 AM   #4
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,255
Default

Quote:
Originally Posted by kapverden View Post
so actually it’s not possible to use IF with SWS.
That's not quite true. Not all toggles report their state, but most of them do. Same with native Reaper actions. You can check for sure in the actions list; there's a column for state.

But I think maybe I see what you want to do and it would be far simpler to just use a second master track instead of toggling what gets sent there:

Create a new track, disable its master send and then in the routing window, create a new hardware send directly to your device outputs (just like the regular master track). Send your reference tracks here and then you can just toggle mute on the two master tracks.
__________________
foxyyymusic
foxAsteria is offline   Reply With Quote
Old 12-11-2018, 07:24 AM   #5
kapverden
Human being with feelings
 
Join Date: Mar 2018
Posts: 58
Default

Using exclusive select seems to work pretty good already.
Didn’t try the idea with different Masters yet.

Many thanks!
kapverden 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 03:37 AM.


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