Set a track or plugin preset as the default?

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

Post

I'm in the process of setting up a project template for myself. Is there a way to set a track preset as the default for new tracks? Also, same question for plugins .. for example, the Volume & Pan Plugin. I'm used to my tracks having their volume set at -6.0 dB. Is there a way I can make that the default?

Post

You could write a script to do this sort of thing.
The next version of W9 will have a Javascript actions API so it will be easier to figure out but will essentially be something like:

Code: Select all

var track = Tracktion.insertTrack();
var preset = Tracktion.getPresetFromLibrary ('Master Mix Preset');
Tracktion.insertPluginPreset (track, preset);
There's currently no direct way to set the volume of a plugin without having to select it first but I'll add that to the list of actions to add so maybe in a later version.

Post

dRowAudio wrote:You could write a script to do this sort of thing.
The next version of W9 will have a Javascript actions API so it will be easier to figure out but will essentially be something like:

Code: Select all

var track = Tracktion.insertTrack();
var preset = Tracktion.getPresetFromLibrary ('Master Mix Preset');
Tracktion.insertPluginPreset (track, preset);
There's currently no direct way to set the volume of a plugin without having to select it first but I'll add that to the list of actions to add so maybe in a later version.
Problem with this workaround is, that you cannot drop them into racks...

Post

But this was a question about creating a new track with a given preset...

Post

dRowAudio wrote:You could write a script to do this sort of thing.
Thanks, I will give this a shot tonight! :tu:

It'd be pretty great if the API for the scripting was documented somewhere. I'd be all over that.

Post

Most productive idea to work on the API!

Anecdotally :) :) I spent a couple of prosper years in doing work around the MS Outlook Object Model, the guy who figures out how to fully work with all details will be king!! I love the power it gives me.

Post

dRowAudio wrote:But this was a question about creating a new track with a given preset...
Sorry, I should read properly before opening my mouth... :dog:

I only saw in the title: "...or plugin perset as default" and was refering to this...

Post

dRowAudio wrote:You could write a script to do this sort of thing.
I attempted to create a script using a "whole track" preset I saved from one of my tracks. The insertPluginPreset call doesn't appear to do anything. However, if I drag/drop the preset from the search box into the track list, I get a new track set up like I want. If I try something else for the preset name, for example: 'Tracktion Reverb: Default', I get a new track with the reverb inserted.

Can the insertPluginPreset method (or, function; this is JS, right? I'm a Java dev) take a Track preset as a parameter?

Code: Select all

var track = Tracktion.insertTrack('audio');
var preset = Tracktion.getPresetFromLibrary('Track: New Track (-6.0 dB)');
Tracktion.insertPluginPreset(track, preset);

Post

We'd usually refer to it as a method as it belongs to the "Tracktion" class :wink:

That can't currently take a track preset, it requires a plugin state preset.
So you'd have to save each plugin state you need individually (by selecting the plugin, clicking "save" then saving that), then insert the relevant plugin on the newly added track, then set its preset state.

This is a bit long-winded but these methods predate the new track presets. I'll make a note to add some methods to set a track's preset.

Post

Hmm. Considering a new track comes with a Volume/Pan and .. what was the other .. going from memory here. A meter, I think? Anyway, The goal I had in mind was to insert a new track that had a Volume/Pan set at -6. So, if I save one at -6, and use a macro, wouldn't it add an additional Volume/Pan, so I'd have two (one at 0, one at -6)? Sounds like I need to wait for that track preset method.

Post

object heritage might be great, as in OOP, and implemented intensely on GUI level in terms of DAW objects, not only abstract programming objects.

1. basic track on tracktion/factory default level
2. track template on user profile level
3. track template on project level
4. track template perhaps on submix level

each is created initially by heritage from the parent, but then can be modified by the user.

this might become relevant to other patterns also, e.g. chord progressions, or plugin default settings, especially soft synth configuration.
the preset system is ad-hoc, and the object heritage system is structural and hierarchic.

Post Reply

Return to “Tracktion”