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

Reply
 
Thread Tools Display Modes
Old 05-21-2018, 01:14 AM   #1
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default Reaper Trick: Show only Tracks that have items under Play Cursor.

Hope someone finds this a nice addition to his/her Reaper workflow:

https://www.youtube.com/watch?v=U9jfdoNC3ns

Big Shoutouts ofcourse to mpl for making the used Custom Action possible.
And to janne83 for his great (and free!) Reaper Theme used in the video.

Warm Regards.
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 05-21-2018, 02:47 AM   #2
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Nice, many thanks.

BTW. I know your tutorial videos from another forum and find them pretty cool.
Eliseat is offline   Reply With Quote
Old 05-21-2018, 03:55 AM   #3
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

Quote:
Originally Posted by Eliseat View Post
Nice, many thanks.

BTW. I know your tutorial videos from another forum and find them pretty cool.
That's great to hear, thank you too !
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 05-21-2018, 01:49 PM   #4
onewayout
Human being with feelings
 
Join Date: Feb 2008
Location: So Florida
Posts: 1,395
Default

Quote:
Originally Posted by vanhaze View Post
That's great to hear, thank you too !
Hey vanhaze,

I just copied all the script and saved it in a notepad.lua and I'm getting an error...Should I do something different?

thx, jeff

Looks cool BTW!
onewayout is offline   Reply With Quote
Old 05-22-2018, 12:08 AM   #5
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

That's wrong ..

What you should do:

1) Open Reaper Action List
2) In Reaper Action List Window, click on the button "new"(to the right of "Custom actions"
3) Now lookup the 2 Actions that my Custom Action consists of (see my video at 1.24) and drag these to the right area of Reaper Action List
4) Give the Custom Action a name and hit the OK button.
5) Assign a selfchoosen keyshortcut to the custom Action.

Hope this helps !
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 05-22-2018, 03:00 AM   #6
skippertag
Human being with feelings
 
Join Date: Jun 2015
Posts: 474
Default

Very cool!

Thank you!!
skippertag is offline   Reply With Quote
Old 05-22-2018, 04:26 AM   #7
onewayout
Human being with feelings
 
Join Date: Feb 2008
Location: So Florida
Posts: 1,395
Default

Quote:
Originally Posted by vanhaze View Post
That's wrong ..

What you should do:

1) Open Reaper Action List
2) In Reaper Action List Window, click on the button "new"(to the right of "Custom actions"
3) Now lookup the 2 Actions that my Custom Action consists of (see my video at 1.24) and drag these to the right area of Reaper Action List
4) Give the Custom Action a name and hit the OK button.
5) Assign a selfchoosen keyshortcut to the custom Action.

Hope this helps !
BRILLIANT!! Thx (-:
onewayout is offline   Reply With Quote
Old 05-22-2018, 06:29 AM   #8
skippertag
Human being with feelings
 
Join Date: Jun 2015
Posts: 474
Default

These are the kind of things that make REAPER the BEST DAW in the world without doubt :-)
skippertag is offline   Reply With Quote
Old 05-22-2018, 09:26 AM   #9
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Yeah I recently updated this script to properly follow situation when tracks were already hidden in TCP or MCP before executing script.

In any case I strongly recommend to use ReaPack for downloading scripts and keeping them up-to-date. Also Im pretty sure errors came from not having recent version of SWS (I used SWS API).
mpl is offline   Reply With Quote
Old 05-22-2018, 09:45 AM   #10
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

Mpl,

I have got some people commenting on my youtube video:
They were asking if it is maybe possible that your script( once it is run) automatically keeps updating track visibility when playcursor crosses items on them.
So i guess such a script keeps running in background and is constantly “scanning” all tracks contents at playcursor. (Maybe thats gonna be a real CPU hog ?)
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 05-22-2018, 11:27 AM   #11
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

First of all, attaching edit cursor to play cursor is kind of strange thing so if I willn`t forget, tomorrow or today I`ll add version performs all stuff around play cursor rather than edit cursor (so you dont need a custom action).

Well, keeping that at background is possible but it will be damn annoying to see poping-up tracks almost always. I`d say it is very bad idea both for workflow and CPU usage.

Also
Quote:
Then import the Repository from mpl.
Here is the URL you have to import:
https://github.com/MichaelPilyavskiy/...
My repository is ReaPack build-in, no need to import it (as well as X-Raym`s and Reateam repositories).
mpl is offline   Reply With Quote
Old 05-22-2018, 11:35 AM   #12
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

"Well, keeping that at background is possible but it will be damn annoying to see poping-up tracks almost always. I`d say it is very bad idea both for workflow and CPU usage."

Yup, that's what i thought already
Many thx in advance mpl, for adapting your Script to work with Play Cursor instead of Edit Cursor !
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 01-15-2019, 07:22 AM   #13
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

Note that it would possible to have a real time version of this.



But it isn't CPU friendly.

This is because it loops between all tracks and allitems before cursor.

ANother approach would be to display only tracks with emit sounds. This should be mor CPU friendly. (but will not work with empty items or MIDI tracks withot VSTi)

(also, it is not very convenient, it is for analyzing only).

Last edited by X-Raym; 01-15-2019 at 07:30 AM.
X-Raym is offline   Reply With Quote
Old 01-15-2019, 08:25 AM   #14
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

Actually I just though about how the loop could be optimized. also as it is not for editing, it could cached tracks and items position and loop into that without reaper api calls sobit would be way way more efficient and surely usable on big projects.
X-Raym 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 06:34 AM.


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