Skip to content

Commit

Permalink
Define LV2 port-groups for whirl
Browse files Browse the repository at this point in the history
This specifies the output to specifically stereo-group with
a mono source.
  • Loading branch information
x42 committed Aug 21, 2019
1 parent 67e6ea5 commit 2f3614d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 24 deletions.
23 changes: 13 additions & 10 deletions b_whirl/b_whirl-configurable.ttl.in
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix mod: <http://moddevices.com/ns/mod#> .
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix pp: <http://lv2plug.in/ns/ext/port-props#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bwhirl: <http://gareus.org/oss/lv2/b_whirl#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix pp: <http://lv2plug.in/ns/ext/port-props#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .

<http://gareus.org/rgareus#me>
a foaf:Person ;
foaf:name "Robin Gareus" ;
foaf:mbox <mailto:[email protected]> ;
foaf:homepage <http://gareus.org/> .

<http://gareus.org/oss/lv2/b_whirl#extended>
bwhirl:extended
a doap:Project, lv2:Plugin, lv2:SimulatorPlugin;
doap:maintainer <http://gareus.org/rgareus#me> ;
doap:name "x42 Whirl - Rotary Speaker";
Expand All @@ -29,6 +29,7 @@
lv2:index 0 ;
lv2:symbol "in" ;
lv2:name "Input" ;
pg:group bwhirl:mainIn ;
lv2:designation pg:center ;
],
[
Expand All @@ -37,6 +38,7 @@
lv2:index 1 ;
lv2:symbol "left" ;
lv2:name "Left Output" ;
pg:group bwhirl:mainOut ;
lv2:designation pg:left ;
],
[
Expand All @@ -45,6 +47,7 @@
lv2:index 2 ;
lv2:symbol "right" ;
lv2:name "Right Output" ;
pg:group bwhirl:mainOut ;
lv2:designation pg:right ;
],
[
Expand Down
23 changes: 13 additions & 10 deletions b_whirl/b_whirl.ttl.in
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix mod: <http://moddevices.com/ns/mod#> .
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix pp: <http://lv2plug.in/ns/ext/port-props#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bwhirl: <http://gareus.org/oss/lv2/b_whirl#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix pp: <http://lv2plug.in/ns/ext/port-props#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .

<http://gareus.org/rgareus#me>
a foaf:Person ;
foaf:name "Robin Gareus" ;
foaf:mbox <mailto:[email protected]> ;
foaf:homepage <http://gareus.org/> .

<http://gareus.org/oss/lv2/b_whirl#simple>
bwhirl:simple
a doap:Project, lv2:Plugin, lv2:SimulatorPlugin;
doap:maintainer <http://gareus.org/rgareus#me> ;
doap:name "x42 Whirl - Rotary Speaker -- Simple";
Expand All @@ -29,6 +29,7 @@
lv2:index 0 ;
lv2:symbol "in" ;
lv2:name "Input" ;
pg:group bwhirl:mainIn ;
lv2:designation pg:center ;
],
[
Expand All @@ -37,6 +38,7 @@
lv2:index 1 ;
lv2:symbol "left" ;
lv2:name "Left Output" ;
pg:group bwhirl:mainOut ;
lv2:designation pg:left ;
],
[
Expand All @@ -45,6 +47,7 @@
lv2:index 2 ;
lv2:symbol "right" ;
lv2:name "Right Output" ;
pg:group bwhirl:mainOut ;
lv2:designation pg:right ;
],
[
Expand Down
20 changes: 16 additions & 4 deletions b_whirl/manifest.ttl.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ui: <http://lv2plug.in/ns/extensions/ui#> .
@prefix bwhirl: <http://gareus.org/oss/lv2/b_whirl#> .
@prefix bwhirl: <http://gareus.org/oss/lv2/b_whirl#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ui: <http://lv2plug.in/ns/extensions/ui#> .

bwhirl:simple
a lv2:Plugin ;
Expand All @@ -12,3 +13,14 @@ bwhirl:extended
a lv2:Plugin ;
lv2:binary <@LV2NAME@@LIB_EXT@> ;
rdfs:seeAlso <b_whirl-configurable.ttl> .

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" .

0 comments on commit 2f3614d

Please sign in to comment.