+ --- check for available plugins
+ -- gates
+ local xt_eg = not ARDOUR.LuaAPI.new_plugin_info ("XT-EG Expander Gate (Mono)", ARDOUR.PluginType.LV2):isnil ()
+ local xt_tg = not ARDOUR.LuaAPI.new_plugin_info ("XT-TG Tom Gate (Mono", ARDOUR.PluginType.LV2):isnil ()
+ -- char
+ local xt_tg = not ARDOUR.LuaAPI.new_plugin_info ("XT-BC Bass Character (Mono)", ARDOUR.PluginType.LV2):isnil ()
+ local xt_vc = not ARDOUR.LuaAPI.new_plugin_info ("XT-VC Vocal Character (Mono)", ARDOUR.PluginType.LV2):isnil ()
+
+ if (xt_eg and xt_tg) then
+ table.insert (dialog_options,
+ { type = "checkbox", key = "gates", default = false, title = "Add Gate(s)?", col=0 }
+ )
+ end
+ if (xt_tg and xt_vc) then
+ table.insert (dialog_options,
+ { type = "checkbox", key = "char", default = false, title = "Add Character Plugin(s)?", col=0 }
+ )
+ end
+
+
+