Adding a Aux Send or Return using a Macro isn't working for me

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

Post

Code: Select all

// Insert Plugin With Preset
var track = Tracktion.getTrackFromSelectedObject();
var plugin = Tracktion.insertPlugin (track, "Aux Send", 0, "vst");
Tracktion.setPluginPreset (plugin, preset);
I know It is a Trackie that can help! :hyper: :tu:

Post

You didn't define "preset" - which preset within "Aux Send" is used ? Not sure what happens if there is no named preset for an Aux Send.
Waveform 13; Win10 desktop/8 Gig; Win11 Laptop; MPK261; VFX+disfunctional ESQ-1

Post

Aux Send is not a vst, but a TracktionInternal

Post

Thanks for the Help FigBug it work like charm! And to Peter yes it works without a preset. I just copy and paste from another macros to make plugin macros every the time.

Post

I have one more question is there a rule I can use to make any plugin I add go to the right of the selected plugin for some reason every new added plugin is going to the left of the selected plugin. This had to happen with a update because I always have had the Macros in place but now I got to put the back in order after I load them. Taking away from me just using my DAW controller.

Post

The 0 is the position in the track of the new plugin. You'll need to write something to get the index of the currently selected plugin.

Post

Okay thanks again it work. But I need to have every plugin I add perform like the add plugin tab. Is this possible?

Post

Can you update your code as you discover new things? As you're probably aware, trying to find out what can be done and how to do it is exhausting.
Surely there must be consensus by now...

Post

At last! Volume and Pan plugin creation.

Code: Select all

var track = Tracktion.getTrackFromSelectedObject();
var plugin = Tracktion.insertPlugin (track, "Volume and Pan", 0, "TracktionInternal");
Tracktion.setPluginPreset (plugin, preset);

Post Reply

Return to “Tracktion”