From 11e5228c0ac28e5feb3d69173af157f6677aa195 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 2 Aug 2020 18:33:02 +0200 Subject: LV2: makeplugin create control port defs in ttl. It has no way (yet) of knowing the specifics of the ports, so for now it will only create he correct number of ports, assign their symbols ('A', 'B' etc.) and corresponding index. --- plugins/LV2/Template/Plugin.ttl | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'plugins/LV2/Template/Plugin.ttl') diff --git a/plugins/LV2/Template/Plugin.ttl b/plugins/LV2/Template/Plugin.ttl index b149e85..1402c9e 100644 --- a/plugins/LV2/Template/Plugin.ttl +++ b/plugins/LV2/Template/Plugin.ttl @@ -14,31 +14,5 @@ # Define the ports for this plugin. lv2:port [ - a lv2:InputPort , lv2:ControlPort ; - lv2:index 0 ; - lv2:symbol "A" ; - lv2:name "Parameter A" ; - lv2:default 0.5 ; - lv2:minimum 0.0 ; - lv2:maximum 1.0 ; - ] , [ - a lv2:InputPort , lv2:AudioPort ; - lv2:index 1 ; - lv2:symbol "in_l" ; - lv2:name "In left" ; - ] , [ - a lv2:InputPort , lv2:AudioPort ; - lv2:index 2 ; - lv2:symbol "in_r" ; - lv2:name "In right" ; - ] , [ - a lv2:OutputPort , lv2:AudioPort ; - lv2:index 3 ; - lv2:symbol "out_l" ; - lv2:name "Out left" ; - ] , [ - a lv2:OutputPort , lv2:AudioPort ; - lv2:index 4 ; - lv2:symbol "out_r" ; - lv2:name "Out right" ; +@TTLPortDefs@ ] . -- cgit v1.2.3