Here's a macro giving you grouping functionality for tracks

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

Post

If you miss some sort of track grouping functionality in Waveform, this macro will give you basic grouping. To use it assign a shortcut key to the macro, then add text plugins to your tracks and give them the name of your groups. For example you could add text plugins named Guitar to your guitar tracks and text plugins named Vocals to your vocal tracks. To group tracks select one of the text plugins then press your shortcut key.

Code: Select all

var plugins = Tracktion.getSelectedEditElements ('plugin');
var plugin = plugins[0];
var title = "";
var tracks = [];
var j = 0;

for (var i = 0; i < plugins.length; ++i)
	title = plugins[0].getProperty ('title');

Tracktion.selectItem ('none');

plugins = Tracktion.getEditElements ('plugin');

for (var i = 0; i < plugins.length; ++i)
{
   plugin = plugins[i];

   if (plugin.getProperty ('type') == 'text'
      	&& plugin.getProperty ('title') == title)
		{
        	Tracktion.addObjectsToSelection (plugin);
		     tracks[j] = Tracktion.getTrackFromSelectedObject();
		     Tracktion.selectItem ('none');
		     j = j + 1;
		}
}


var numTracks = tracks.length;
for (var i = 0; i < numTracks; ++i)
	Tracktion.addObjectsToSelection (tracks[i]);

Tracktion.soloSelectedTracks(); 
//Tracktion.muteSelectedTracks();


The macro currently solo's tracks but if you want it to mute tracks remove // from the last line and add // to the line above. If you just want to select tracks add // to the second from last line.

Post

Why not use folder tracks to group tracks?
That's how I do it. One folder track for the vocals, one for the drums etc.

Post

You can also group tracks using tags, then show and hide tracks based on tags (from the browser on the left). Tracks can have multiple tags, if that's useful.

Submixes and folder tracks are other existing ways to group tracks together. I'm not sure that adding text filters really adds to the existing grouping functionality in waveform
"my gosh it's a friggin hardware"

Post

Yes thanks guys, I know about tags and folder tracks. I started this when it wasn't possible to solo submix bus tracks by soloing the submix bus, but that's been sorted out in the latest beta. Also, you can't tag folders or submix busses so if you use a lot of them they take up arranger and mixer room when you select tags which I don't like and so I don't use them. I use another track for submix busses. I often want to solo or mute groups of tracks repeatedly and in Waveform it means constantly reselecting them if they're not in a folder.

The text box solution is very flexible and I'm currently working on being able to select the volume controls in these groups so that their levels can be lowered easily.

Post Reply

Return to “Tracktion”