From 2f3614d228e13cca6a15689c096129db667b19f7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 21 Aug 2019 22:29:55 +0200 Subject: [PATCH] Define LV2 port-groups for whirl This specifies the output to specifically stereo-group with a mono source. --- b_whirl/b_whirl-configurable.ttl.in | 23 +++++++++++++---------- b_whirl/b_whirl.ttl.in | 23 +++++++++++++---------- b_whirl/manifest.ttl.in | 20 ++++++++++++++++---- 3 files changed, 42 insertions(+), 24 deletions(-) diff --git a/b_whirl/b_whirl-configurable.ttl.in b/b_whirl/b_whirl-configurable.ttl.in index ffe8a547..bdaff99b 100644 --- a/b_whirl/b_whirl-configurable.ttl.in +++ b/b_whirl/b_whirl-configurable.ttl.in @@ -1,12 +1,12 @@ -@prefix doap: . -@prefix foaf: . -@prefix lv2: . -@prefix mod: . -@prefix pg: . -@prefix pp: . -@prefix units: . -@prefix rdf: . -@prefix rdfs: . +@prefix bwhirl: . +@prefix doap: . +@prefix foaf: . +@prefix lv2: . +@prefix pg: . +@prefix pp: . +@prefix rdf: . +@prefix rdfs: . +@prefix units: . a foaf:Person ; @@ -14,7 +14,7 @@ foaf:mbox ; foaf:homepage . - +bwhirl:extended a doap:Project, lv2:Plugin, lv2:SimulatorPlugin; doap:maintainer ; doap:name "x42 Whirl - Rotary Speaker"; @@ -29,6 +29,7 @@ lv2:index 0 ; lv2:symbol "in" ; lv2:name "Input" ; + pg:group bwhirl:mainIn ; lv2:designation pg:center ; ], [ @@ -37,6 +38,7 @@ lv2:index 1 ; lv2:symbol "left" ; lv2:name "Left Output" ; + pg:group bwhirl:mainOut ; lv2:designation pg:left ; ], [ @@ -45,6 +47,7 @@ lv2:index 2 ; lv2:symbol "right" ; lv2:name "Right Output" ; + pg:group bwhirl:mainOut ; lv2:designation pg:right ; ], [ diff --git a/b_whirl/b_whirl.ttl.in b/b_whirl/b_whirl.ttl.in index f94fac02..832ac6fb 100644 --- a/b_whirl/b_whirl.ttl.in +++ b/b_whirl/b_whirl.ttl.in @@ -1,12 +1,12 @@ -@prefix doap: . -@prefix foaf: . -@prefix lv2: . -@prefix mod: . -@prefix pg: . -@prefix pp: . -@prefix units: . -@prefix rdf: . -@prefix rdfs: . +@prefix bwhirl: . +@prefix doap: . +@prefix foaf: . +@prefix lv2: . +@prefix pg: . +@prefix pp: . +@prefix rdf: . +@prefix rdfs: . +@prefix units: . a foaf:Person ; @@ -14,7 +14,7 @@ foaf:mbox ; foaf:homepage . - +bwhirl:simple a doap:Project, lv2:Plugin, lv2:SimulatorPlugin; doap:maintainer ; doap:name "x42 Whirl - Rotary Speaker -- Simple"; @@ -29,6 +29,7 @@ lv2:index 0 ; lv2:symbol "in" ; lv2:name "Input" ; + pg:group bwhirl:mainIn ; lv2:designation pg:center ; ], [ @@ -37,6 +38,7 @@ lv2:index 1 ; lv2:symbol "left" ; lv2:name "Left Output" ; + pg:group bwhirl:mainOut ; lv2:designation pg:left ; ], [ @@ -45,6 +47,7 @@ lv2:index 2 ; lv2:symbol "right" ; lv2:name "Right Output" ; + pg:group bwhirl:mainOut ; lv2:designation pg:right ; ], [ diff --git a/b_whirl/manifest.ttl.in b/b_whirl/manifest.ttl.in index 7755adfe..a7b53c4f 100644 --- a/b_whirl/manifest.ttl.in +++ b/b_whirl/manifest.ttl.in @@ -1,7 +1,8 @@ -@prefix lv2: . -@prefix rdfs: . -@prefix ui: . -@prefix bwhirl: . +@prefix bwhirl: . +@prefix lv2: . +@prefix pg: . +@prefix rdfs: . +@prefix ui: . bwhirl:simple a lv2:Plugin ; @@ -12,3 +13,14 @@ bwhirl:extended a lv2:Plugin ; lv2:binary <@LV2NAME@@LIB_EXT@> ; rdfs:seeAlso . + +bwhirl:mainIn + a pg:MonoGroup, pg:InputGroup ; + lv2:name "Input" ; + lv2:symbol "in" . + +bwhirl:mainOut + a pg:StereoGroup, pg:OutputGroup ; + pg:source bwhirl:mainIn ; + lv2:name "Output" ; + lv2:symbol "out" .