Set a track or plugin preset as the default?
- KVRian
- 1000 posts since 26 Sep, 2013 from The Frozen North
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?
-
- KVRAF
- 1790 posts since 30 Dec, 2012
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:
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.
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);-
- KVRAF
- 5080 posts since 27 Jul, 2004
Problem with this workaround is, that you cannot drop them into racks...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:
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.Code: Select all
var track = Tracktion.insertTrack(); var preset = Tracktion.getPresetFromLibrary ('Master Mix Preset'); Tracktion.insertPluginPreset (track, preset);
-
- KVRAF
- 1790 posts since 30 Dec, 2012
- KVRian
- Topic Starter
- 1000 posts since 26 Sep, 2013 from The Frozen North
Thanks, I will give this a shot tonight!dRowAudio wrote:You could write a script to do this sort of thing.
It'd be pretty great if the API for the scripting was documented somewhere. I'd be all over that.
-
- KVRist
- 320 posts since 9 Sep, 2017
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.
Anecdotally
-
- KVRAF
- 5080 posts since 27 Jul, 2004
Sorry, I should read properly before opening my mouth...dRowAudio wrote:But this was a question about creating a new track with a given preset...
I only saw in the title: "...or plugin perset as default" and was refering to this...
- KVRian
- Topic Starter
- 1000 posts since 26 Sep, 2013 from The Frozen North
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.dRowAudio wrote:You could write a script to do this sort of thing.
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);-
- KVRAF
- 1790 posts since 30 Dec, 2012
We'd usually refer to it as a method as it belongs to the "Tracktion" class 
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.
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.
- KVRian
- Topic Starter
- 1000 posts since 26 Sep, 2013 from The Frozen North
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.
-
- KVRist
- 320 posts since 9 Sep, 2017
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.
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.
