Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 07-12-2018, 02:00 PM   #1
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default Is there a way to: Solo follows track selection without mouse?

Hi Gurus,

UPDATE --
I found a better script for A/B-ing tracks:

Script: me2beats_Auto solo for selected tracks (defer, obey track grouping).lua

Here is the repository URL... to add his awesome list of 400+ scripts, just do this Reaper>Extension>ReaPack>Import Repositories and add the link below to the input field:

https://github.com/me2beats/reapack/...ster/index.xml

------------------------------------------



[old]: here is a new thread with revised scripts: https://forum.cockos.com/showthread.php?t=208948

I'm familiar with the A/Bing with solo using CMD+Opt+Click on the Solo button on a track to audition tracks. It works great, but I don't like mousing around. Coming from Nuendo, I was able to do this in a Pref where Solo followed selected tracks... and this way I could Arrow-Up/Down different tracks without having to mouse around.

Great for A/Bing and a myriad of other things.

Is there a setting in Reaper that allows this?

Thanks for any help.

Cheers,

Andrew K

Last edited by Thonex; 08-17-2018 at 03:02 PM.
Thonex is offline   Reply With Quote
Old 07-12-2018, 03:24 PM   #2
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by Thonex View Post
Hi Gurus,

I'm familiar with the A/Bing with solo using CMD+Opt+Click on the Solo button on a track to audition tracks. It works great, but I don't like mousing around. Coming from Nuendo, I was able to do this in a Pref where Solo followed selected tracks... and this way I could Arrow-Up/Down different tracks without having to mouse around.

Great for A/Bing and a myriad of other things.

Is there a setting in Reaper that allows this?

Thanks for any help.
I've got my Toolbar-15 setup for this, it works for a lot of things, but my primary use is for A/Bing.

The middle 4 buttons are:
Slctd Trks: Un-solos all tracks and solos the selected track.
Prev Trks & Next Trks: Solo previous or next track.
Un-Solo: Un-solos all tracks.

I think the numbered buttons speak for them selves, they're for saving and restoring track solo and mute.

I'm sure you could tie at least some of them to a shortcut key. If you like I will dig up the actions I've
got for them.

Tod is offline   Reply With Quote
Old 07-12-2018, 03:43 PM   #3
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Actually I've got "Un-solos all tracks and solos the selected track" already tied to Ctrl+Alt+DoubleClick.

Custom: Unsolo all tracks, Solo a selected track 1
Track: Toggle mute for master track
Track: Unsolo all tracks
Track: Solo/unsolo tracks
Track: Toggle mute for master track

The reason for toggling the mute on the Master track is t prevent clicks.
Tod is offline   Reply With Quote
Old 07-12-2018, 04:05 PM   #4
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
Actually I've got "Un-solos all tracks and solos the selected track" already tied to Ctrl+Alt+DoubleClick.

Custom: Unsolo all tracks, Solo a selected track 1
Track: Toggle mute for master track
Track: Unsolo all tracks
Track: Solo/unsolo tracks
Track: Toggle mute for master track

The reason for toggling the mute on the Master track is t prevent clicks.
Thanks Tod,

I think we are thinking alike. I already had created a macro similar to your, but without the master mute (clever!)

Mine was attache a modifier key and either the up or down arrow. Here is the Up arrow equivalent:

Track: Unsolo Tracks
Track: Go to previous track (for down arrow: Tracks: Go to next track)
Track: Solo Tracks


I like the Master Mute idea.

That said, I do miss Nuendo's fluid way of handling this. You could even shift-arrow to select multiple solo tracks.

I might try scripting a version in Lua using the stop_ui_refresh command to see if that will help speed things up compared to a macro. But not today... too much going on. I think this could be a good FR for Justin.

Thanks again Tod!!

Cheers,

Andrew K
Thonex is offline   Reply With Quote
Old 07-12-2018, 04:25 PM   #5
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Hey Andrew,

I might look if I can put something together as script, unless you are faster :P
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   Reply With Quote
Old 07-12-2018, 04:39 PM   #6
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Yeah, heh heh, you got it, good luck with it Andrew.

Incidentally, I'm also into sampling and I've got a lot of ways to record and edit them in Reaper. But it looks like you're getting into the scripting which will expand your horizons almost infinitely.

I've been doing this since back in the old K2 days when we did the VI-Pro thing together. Not like you, you've taken it to another level.
Tod is offline   Reply With Quote
Old 07-12-2018, 06:46 PM   #7
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
Yeah, heh heh, you got it, good luck with it Andrew.

Incidentally, I'm also into sampling and I've got a lot of ways to record and edit them in Reaper. But it looks like you're getting into the scripting which will expand your horizons almost infinitely.

I've been doing this since back in the old K2 days when we did the VI-Pro thing together. Not like you, you've taken it to another level.
Thanks for the kind words Tod.

I had a system with Nuendo, Workspace Marco Pro, Keyboard Maestro, and Garths tools, and god knows what else. But when I found out that reaper did scripting in Lua (and the simpler languages ) I knew I had to try it (I guess i've been under a rock for a few years). I'm still feeling my way around and Reaper's way of treating Mono is sometime baffling to me but... you know how it goes... I know what I know... and then there's a steep decline in my Reaper knowledge. LOL

But this forum is a great resource.

Thanks.

Cheers,

Andrew K


@ Stevie... I'll give it a shot after I do the dishes.
Thonex is offline   Reply With Quote
Old 07-12-2018, 07:25 PM   #8
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

HI Tod,

Here is my script with your Master Mute suggestion coded in Lua... not sure there is an appreciable difference...

Code:
function MAIN()
  reaper.PreventUIRefresh(1)
  reaper.Main_OnCommand(14, 0 )     -- Track: Toggle mute for master track
  reaper.Main_OnCommand(40340, 0 )  -- Track: Unsolo all tracks
  reaper.Main_OnCommand(40285, 0 )  -- Track: Go to next track
  -- reaper.Main_OnCommand(40286, 0 )  -- Track: Go to Previous track
  reaper.Main_OnCommand(40728, 0 )  -- Track: Solo tracks
  reaper.Main_OnCommand(14, 0 )     -- Track: Toggle mute for master track
  reaper.PreventUIRefresh(-1)

end

MAIN ()
That would be for the down arrow. For the Up arrow, just uncomment (remove the first 2 hyphens) from this line in the code above: -- reaper.Main_OnCommand(40286, 0 ) -- Track: Go to Previous track and comment out the "Track: Go to next track" line.

Will see if I can figure out a way to hold down shift and add other soloed tracks.

Cheers,

Andrew K

Last edited by Thonex; 07-12-2018 at 08:37 PM.
Thonex is offline   Reply With Quote
Old 07-12-2018, 07:34 PM   #9
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Here is one to shift Arrow (select multiple tracks to solo):

Code:
function MAIN()
  reaper.PreventUIRefresh(1)
  reaper.Main_OnCommand(14, 0 )     -- Track: Toggle mute for master track
  reaper.Main_OnCommand(40340, 0 )  -- Track: Unsolo all tracks
  reaper.Main_OnCommand(40287, 0 )  -- Track: Go to next track (leaving other tracks selected)
  -- reaper.Main_OnCommand(40286, 0 )  -- Track: Go to Previous track
  reaper.Main_OnCommand(7, 0 )  -- Track: Toggle solo for selected tracks
  reaper.Main_OnCommand(14, 0 )     -- Track: Toggle mute for master track
  reaper.PreventUIRefresh(-1)

end

MAIN ()
Same drill for previous tracks... use the same script except replace the lines: Track: Go to next track with Track: Go to Previous track.

Last edited by Thonex; 07-12-2018 at 08:37 PM.
Thonex is offline   Reply With Quote
Old 07-12-2018, 08:27 PM   #10
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Thanks Andrew, I'll check these out tomorrow.

The custom macros work quite well and are pretty fast, but I've found that in the more complex
commands, the scripts tend to work much faster and better. Perhaps less chance of messing up
too.
Tod is offline   Reply With Quote
Old 07-13-2018, 12:35 AM   #11
ericzang
Human being with feelings
 
ericzang's Avatar
 
Join Date: Mar 2014
Location: Phoenix, AZ
Posts: 488
Default

Looks like you have it covered, but in case you haven't seen these:

Script: me2beats_Toggle exclusive solo for selected tracks.lua

Script: X-Raym_Solo exclusive selected tracks.eel

Script: X-Raym_Select next visible track only with conditional solo exclusive.eel
Script: X-Raym_Select previous visible track only with conditional solo exclusive.eel

BTW Tod, that's a cool toolbar button set. How did you make that? I know how to make a new icon, but in a group like that?
ericzang is offline   Reply With Quote
Old 07-13-2018, 06:50 AM   #12
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by ericzang View Post
BTW Tod, that's a cool toolbar button set. How did you make that? I know how to make a new icon, but in a group like that?
Hi ericzang, basically I draw the picture of the whole toolbar and just slice it up into the individual pictures. Then make each one
in triplicate for the mouse over and depression. They're kind of ugly but I get a lot more icons in each toobar this way.

Tod is offline   Reply With Quote
Old 07-13-2018, 11:37 AM   #13
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Just a quick note, they all work good Thonex.
Tod is offline   Reply With Quote
Old 07-13-2018, 02:26 PM   #14
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by ericzang View Post
Looks like you have it covered, but in case you haven't seen these:

Script: me2beats_Toggle exclusive solo for selected tracks.lua

Script: X-Raym_Solo exclusive selected tracks.eel

Script: X-Raym_Select next visible track only with conditional solo exclusive.eel
Script: X-Raym_Select previous visible track only with conditional solo exclusive.eel

BTW Tod, that's a cool toolbar button set. How did you make that? I know how to make a new icon, but in a group like that?
Thanks ericzang,

Thanks for sharing these. As you know, there is such a myriad of features in Reaper, half the battle is finding the correct name of the scrip... and yo helped with that.

I'll test them out this weekend.

Cheers,

Andrew K
Thonex is offline   Reply With Quote
Old 07-13-2018, 02:27 PM   #15
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
Just a quick note, they all work good Thonex.
Thanks Tod!!

Always good to have confirmation that it actually works

Cheers,

Andrew K
Thonex is offline   Reply With Quote
Old 07-13-2018, 02:30 PM   #16
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
... Then make each one
in triplicate for the mouse over and depression.
I didn't realize Reaper's custom icons would support hover-states. Nice!!

Must.resist.getting.side.tracked....


Cheers,

Andrew K
Thonex is offline   Reply With Quote
Old 07-13-2018, 02:47 PM   #17
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Quote:
Originally Posted by Thonex View Post
half the battle is finding the correct name of the scrip...
So true, so true!

Getting side tracked is completely normal with Reaper
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   Reply With Quote
Old 07-14-2018, 11:36 AM   #18
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

I updated the scripts here:

https://forum.cockos.com/showthread....91#post2011091

In case anyone is interested....


Cheers,

Andrew K
Thonex is offline   Reply With Quote
Old 07-14-2018, 12:20 PM   #19
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by Thonex View Post
I updated the scripts here:

https://forum.cockos.com/showthread....91#post2011091

In case anyone is interested....
Thanks Andrew, may I ask what the update is?
Tod is offline   Reply With Quote
Old 07-14-2018, 01:07 PM   #20
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
Thanks Andrew, may I ask what the update is?
There was 1 fix.... I had mis-copied a command in one of the scripts and also, I commented out the Master Mute Toggle because it didn't seem to make a difference in my scripts. But I left the code in in case anyone wants to have it in.

Also, I broke it down into 4 scripts for easy assignment to key commands.

Cheers,

Andrew K
Thonex is offline   Reply With Quote
Old 07-14-2018, 02:18 PM   #21
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by Thonex View Post
There was 1 fix.... I had mis-copied a command in one of the scripts and also, I commented out the Master Mute Toggle because it didn't seem to make a difference in my scripts. But I left the code in in case anyone wants to have it in.

Also, I broke it down into 4 scripts for easy assignment to key commands.
Aah okay, I'd already created the 4 scripts, but will use your new ones.

The deal with the mute on the Master was that occasionally I got kind of stutter. It didn't happen all the time
but enough to add the Master mute. Maybe it had to do with certain FX, I didn't try to track it down.

Thanks Andrew.
Tod is offline   Reply With Quote
Old 07-14-2018, 02:24 PM   #22
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

Quote:
Originally Posted by Tod View Post
Hi ericzang, basically I draw the picture of the whole toolbar and just slice it up into the individual pictures. Then make each one
in triplicate for the mouse over and depression. They're kind of ugly but I get a lot more icons in each toobar this way.


VERY KEWL idea Tod.... pure genius!
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 07-14-2018, 06:56 PM   #23
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by hopi View Post
VERY KEWL idea Tod.... pure genius!
Wow, heh heh, I'm not sure about that but thankyou my friend.

Coming from the great graphics guy you are I appreciate it.
Tod is offline   Reply With Quote
Old 08-17-2018, 02:56 PM   #24
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
Aah okay, I'd already created the 4 scripts, but will use your new ones.

The deal with the mute on the Master was that occasionally I got kind of stutter. It didn't happen all the time
but enough to add the Master mute. Maybe it had to do with certain FX, I didn't try to track it down.

Thanks Andrew.
@Tod,

I found a better script for A/B-ing tracks:

Script: me2beats_Auto solo for selected tracks (defer, obey track grouping).lua

Here is the repository URL... to add his awesome list of 400+ scripts, just do this Reaper>Extension>ReaPack>Import Repositories and add the link below to the input field:

https://github.com/me2beats/reapack/...ster/index.xml

__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
Thonex is offline   Reply With Quote
Old 08-17-2018, 05:15 PM   #25
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by Thonex View Post
@Tod,

I found a better script for A/B-ing tracks:

Script: me2beats_Auto solo for selected tracks (defer, obey track grouping).lua

Here is the repository URL... to add his awesome list of 400+ scripts, just do this Reaper>Extension>ReaPack>Import Repositories and add the link below to the input field:

https://github.com/me2beats/reapack/...ster/index.xml

Thanks Andrew, I think I followed your directions, but I'm not finding it in "ReaPack". where might I have gone wrong?
Tod is offline   Reply With Quote
Old 08-17-2018, 10:24 PM   #26
Thonex
Human being with feelings
 
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
Default

Quote:
Originally Posted by Tod View Post
Thanks Andrew, I think I followed your directions, but I'm not finding it in "ReaPack". where might I have gone wrong?
Maybe you don’t have Reapack installed?

https://reapack.com/
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
Thonex is offline   Reply With Quote
Old 08-18-2018, 11:57 AM   #27
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Kalispell
Posts: 14,745
Default

Quote:
Originally Posted by Thonex View Post
Maybe you don’t have Reapack installed?

https://reapack.com/
Actually I do have it installed and that's where I went to first import it and then find it. Here's what I did. I imported this link into Reapack but I was unable to find it in Reapack after that.

"https://raw.githubusercontent.com/me2beats/reapack/master/index.xml"

Like this:


Did I not do something correctly?
Tod 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 05:03 PM.


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