Hide muted tracks?

Discussion about: tracktion.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Is there a command to hide/unhide all muted tracks?
If not, that's definitely a FR from me.

Post

Kind of. Create a mix group called "Muted", and make it share Mute and Visibility settings. Mute one of the tracks in the group. Add any tracks you want to mute to that group.

Then if you make one of those tracks visible or not, they all become visible, or don't.
"my gosh it's a friggin hardware"

Post

WOW!
Waveform 12 Pro, Cubase Pro 13, Windows 11, i7-13700H

Post

Here's a couple of macros that do what you want

Hide muted tracks:

Code: Select all

var tracks = Tracktion.getEditElements ('track');
var numTracks = tracks.length;

for (var i = 0; i < numTracks; ++i)
{
    if(Tracktion.isMute (tracks[i]) == true)
    {
        tracks[i].setProperty ('hidden', '1');
        
    }

}

Tracktion.toggleVisibility ('mixer');
Tracktion.toggleVisibility ('mixer');

Show muted tracks:

Code: Select all

var tracks = Tracktion.getEditElements ('track');
var numTracks = tracks.length;

for (var i = 0; i < numTracks; ++i)
{
    if(Tracktion.isMute (tracks[i]) == true)
    {
        tracks[i].setProperty ('hidden', '0');
        
    }

}

Tracktion.toggleVisibility ('mixer');
Tracktion.toggleVisibility ('mixer');


Post

Nice use of macros ;)
"my gosh it's a friggin hardware"

Post

chico.co.uk wrote: Tue May 21, 2019 10:54 am Nice use of macros ;)
Thanks. I get the impression macros are underused in Waveform. They can do a lot of useful things!

Post Reply

Return to “Tracktion”