Hi.
I have a library which consists of one program preset and 6 layer presets. The program preset has a macro page with a menu to load one of the layer presets. I’m using this script:
path=("vstsound://EBAC9E0818AD4AD09537B38D43E05B6E/VST3 Presets/Steinberg Media Technologies/HALion Sonic SE/")
preset={"Leeds Townhall Organ 1.vstpreset","Leeds Townhall Organ 2.vstpreset","Leeds Townhall Organ 3.vstpreset","Leeds Townhall Organ 4.vstpreset","Leeds Townhall Organ 5.vstpreset","Leeds Townhall Organ 6.vstpreset",}
presetName={"Preset 1","Preset 2","Preset 3","Preset 4","Preset 5","Preset 6",}
function onSelectedPresetChanged()
layers=this.parent:findLayers()
if layers then
for i, layer in ipairs(layers) do
this.parent:removeLayer(layer)
end
end
layer=loadPreset(path..preset[SelectedPreset])
if layer then
this.parent:insertLayer(layer,1)
end
end
defineParameter("SelectedPreset",nil,1,presetName,onSelectedPresetChanged)
This works as long as all presets reside directly in VST3 Presets folder of the library.
But I’d like to move the layer presets to VST3 Sub Presets folder of the library, so they don’t appear in media bay as they only serve as sublayer presets for the program (like Studio Strings and Hot Brass).
I have tried the obvious, change the path in the script to:
path=("vstsound://EBAC9E0818AD4AD09537B38D43E05B6E/VST3 Sub Presets/Steinberg Media Technologies/HALion Sonic SE/")
and move the layer presets to the VST3 Sub Presets folder, but that doesn’t work.
Does anyone know what’s the correct path to the VST3 Sub Presets folder? Or how to make this work?
There’s no easy way to check as the presets in that folder don’t appear in mediabay.