-
Notifications
You must be signed in to change notification settings - Fork 0
/
channelSwitch.ttl
47 lines (40 loc) · 1.45 KB
/
channelSwitch.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
<https://github.com/hmollercl/channelSwitch> a lv2:Plugin , lv2:UtilityPlugin , doap:Project ;
lv2:binary <channelSwitch.so> ;
doap:name "Channel Switcher" ;
lv2:optionalFeature lv2:hardRTCapable ;
lv2:port
[
a lv2:InputPort , lv2:AudioPort ;
lv2:index 0 ;
lv2:symbol "in" ;
lv2:name "Audio input";
] ,
[
a lv2:OutputPort , lv2:AudioPort ;
lv2:index 1 ;
lv2:symbol "out_a" ;
lv2:name "Audio output A" ;
] ,
[
a lv2:OutputPort , lv2:AudioPort ;
lv2:index 2 ;
lv2:symbol "out_b" ;
lv2:name "Audio output B" ;
] ,
[
a lv2:InputPort , lv2:ControlPort ;
lv2:index 3 ;
lv2:symbol "channel" ;
lv2:name "Channel Selection" ;
# for sliders disable portProperty and scalePoint
lv2:portProperty lv2:integer, lv2:enumeration;
lv2:scalePoint [rdfs:label "A"; rdf:value 0]; # for labels
lv2:scalePoint [rdfs:label "B"; rdf:value 1]; # for labels
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 1 ;
] .