Hide muted tracks?

Discussion about: tracktion.com
User avatar
Stuttaton
KVRist
383 posts since 24 Jan, 2004 from Sweden

Post Fri May 17, 2019 12:05 am

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

chico.co.uk
KVRAF
2252 posts since 17 Jun, 2003

Re: Hide muted tracks?

Post Fri May 17, 2019 1:35 am

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"

UnionS8
KVRist
73 posts since 10 Dec, 2002

Re: Hide muted tracks?

Post Fri May 17, 2019 1:52 am

WOW!
Or is it all just an illusion...
...and I would say to you: "Perhaps".

AGreen
KVRist
143 posts since 2 Feb, 2015

Re: Hide muted tracks?

Post Fri May 17, 2019 10:46 am

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');


chico.co.uk
KVRAF
2252 posts since 17 Jun, 2003

Re: Hide muted tracks?

Post Tue May 21, 2019 2:54 am

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

AGreen
KVRist
143 posts since 2 Feb, 2015

Re: Hide muted tracks?

Post Tue May 21, 2019 6:59 am

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

Return to “Tracktion”