summaryrefslogtreecommitdiff
path: root/scripts/s_vamp_plugin_index.lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-23 20:48:02 +0100
committerRobin Gareus <robin@gareus.org>2020-02-23 20:48:02 +0100
commit180843f9bd28b191c7404245ba0a121107992511 (patch)
treec60312dc09f76c2f55ba2383245c427e15c38dea /scripts/s_vamp_plugin_index.lua
parentbf649cd68ad46c34a656700aa6cb89416d648c64 (diff)
Also move Lua scripts to share subfolder
Diffstat (limited to 'scripts/s_vamp_plugin_index.lua')
-rw-r--r--scripts/s_vamp_plugin_index.lua45
1 files changed, 0 insertions, 45 deletions
diff --git a/scripts/s_vamp_plugin_index.lua b/scripts/s_vamp_plugin_index.lua
deleted file mode 100644
index b559f57e89..0000000000
--- a/scripts/s_vamp_plugin_index.lua
+++ /dev/null
@@ -1,45 +0,0 @@
-ardour { ["type"] = "Snippet", name = "Vamp Plugin List" }
-function factory () return function ()
-
- local plugins = ARDOUR.LuaAPI.Vamp.list_plugins ();
- for id in plugins:iter () do
- local vamp = ARDOUR.LuaAPI.Vamp(id, Session:nominal_sample_rate())
- local vp = vamp:plugin ()
- print (" --- VAMP Plugin ---")
- print ("Id:", vp:getIdentifier ())
- print ("Name:", vp:getName ())
- print ("Description:", vp:getDescription ())
-
- local progs = vp:getPrograms();
- if not progs:empty () then
- print ("Preset(s):")
- for p in progs:iter () do
- print (" *", p)
- end
- end
-
- local params = vp:getParameterDescriptors ()
- if not params:empty () then
- print ("Parameters(s):")
- for p in params:iter () do
- -- http://manual.ardour.org/lua-scripting/class_reference/#Vamp:PluginBase:ParameterDescriptor
- print (" * Id:", p.identifier, "Name:", p.name, "Desc:", p.description)
- local i = 0; for vn in p.valueNames:iter() do
- print (" ^^ ", i, " -> ", vn)
- i = i + 1
- end
- end
- end
-
- local feats = vp:getOutputDescriptors ()
- if not feats:empty () then
- print ("Output(s):")
- for p in feats:iter () do
- -- http://manual.ardour.org/lua-scripting/class_reference/#Vamp:Plugin:OutputDescriptor
- print (" * Id:", p.identifier, "Name:", p.name, "Desc:", p.description)
- end
- end
-
- end
-end end
-