Hide empty tracks between locators

Hello, can someone help me setup this ple or macro ?

I already know about the “show only tracks with data between locators” and that’s not what I am looking for

I am not looking for “hide empty tracks between locators” because all my tracks have a little midi event at bar -1 to set up some midi cc

I am also looking for the “show only tracks with data between locators” but only for the currently visible tracks, I don’t think this is possible but if someone can find a way, I’ll be very grateful

thanks

1 Like

You first need to know which version of Cubase you are using.
If it is version 12 or 13 pro I think that a PLE with the pre and/or post processing commands should be able to do it

I am on 13
The problem with the pre and post-processing, I still need to use “show only tracks with data between locators”. It doesn’t take into account the current visible track or the current empty track

the answear probably lies within this condition

but I don’t know how to use

I don’t know if this would be suitable

For me it works
just choose the desired event first
and by activating the PLE the user arrives at the start of the event
and only shows tracks with data under this event
But hey I don’t know if that’s what you really want to do

Hello freudon, actually that’s not exactly what my intent is

I don’t want to see tracks with data under an event
I want to hide tracks that have no data between current locators
Even if those tracks have data BEFORE the locators, I still want to hide them

The issue is that “show tracks with data” currently in cubase do not work with any particular condition other than the one already present in the key commands “beyond cursor”, “between locators”

The other issue is that It shows me tracks with data between locators even amongs HIDDEN tracks, and do not wish to see them

Hi, if I understand correctly what you’re after, you can try the following PLE approach:

  • Append to the name of the hidden tracks a prefix (in the example that follows I’m using "Hide Again ").
  • Proceed with the function Show All Tracks with data between locators
  • Remove the prefix we set earlier ("Hide again ") and hide tracks which had this prefix.

It’s a combination of two PLEs:

This one is for adding the prefix to the hidden tracks’ names and then triggering the visibility agent for tracks with data between the locators. In the end, it has in the post-process, a second PLE:

This one is for removing the prefix, and then hiding the tracks that had it.

wow I am going to try but wth this is genius ! I didn’t think about using the rename feature

maybe it would be even faster and easier in term of processing to prepend visible tracks, then show tracks with data, then hide tracks without that prefix then delete the prefix

I say that because it’s less tracks to rename for cubase, but I am going to try, thanks !!!

1 Like

It would be good if Cubase had a command that allowed us to execute ‘for selected tracks only’, then you could select all the non-hidden tracks and apply it.

Hello @m.c your preset works like magic

But now I am trying to do one more thing, a little bit more complex.

Say I have a set of visible tracks, my brass. And let’s say I would like to make my strings visible, without hiding the brass, but WITHOUT the strings tracks that are empty between locators.
In other words, I have my brass tracks visible, I want to make visible on top of them my strings tracks (but only those with data between locators)

I tried your trick, but obviously, it also hide at some point my brass tracks

I am setting a visibility matrix on my stream deck with a button for my different sections, str, brass, winds etc. and also 2 modifiers/shift buttons that allow me to change the behavior of each button to “data only” or “add instead of replace” or in this case both "add instead of replace only with data) when both modifiers are ON

I know it’s a little bit fancy

Hi, again, if I understand this correctly, you may want to try this set of three PLEs.

The first one is for adding a prefix (say, "Show Again ") to all currently visible tracks:

The second one is for re-showing tracks containing this prefix, and then removing it from their names:

The third one, which is actually the one we will call, in the Pre-Process commands, will trigger the first PLE and then the visibility agent for tracks with data between the locators. Then, it will hide any track that does NOT contain “Strings” in its name. And finally, in the Post-Process commands, it will trigger our second PLE (for restoring the originally shown tracks):

incredible !!
I have exactly the behavior I wanted from the stream deck now

thanks @m.c

I gave this topic a vote because I think Cubase could benefit greatly with various built-in capabilities to “clear the junk from view”, so to speak. This particular request (a command or preference to momentarily hide tracks that have no content between the locators) is just one example of a capability that could streamline the workflow for many projects.

This particular request is analogous to “Hide empty staffs” in notation programs.

With a macro and incorporating the visibility function
Show Channels/Tracks with Data between the Locators
if you select one of the events you want to hear
and select the macro
it works very well

image

There’s some great wizardry going on here!

I’m looking for something similar, yet different.

I’ve unsuccesfully been trying to write a macro which I want to do the following:

  • To disable all midi (and instrument) tracks that may have events elsewhere but NOT between the locators.

I already have a macro which disables ALL midi (and instrument) tracks without a SINGLE event. This one works fine, and I use it all the time after enabling a bunch of tracks while hunting down a particular instrument or sound.

But this new macro would be a great one to keep my enabled track count low when working on a specific section that’s between the locators.

Thanks.

Do you want to deactivate the tracks or hide them?
It’s not the same thing

Besides, I don’t see the point in deactivating tracks for which you have data outside of the locators, it’s counterproductive
To simply hide tracks without data between locators
all you need is either a PLE with Post Commands or a macro if you prefer

Hi Freudon,

I’d like to deactivate them to save RAM for the parts I’m working on, which are usually between the locators.

As a film composer I usually start new cues by using the previous cue as my new template. This has the advantage that my instruments in use are easily found with a macro for showing tracks with events (which I already have).

The downside of doing this is that I haven’t found an easy way to turn them off to save RAM.

I understand that enabling/disabling tracks are different from hiding.

Thanks,

Erik