-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwasm4.ttl.in
202 lines (201 loc) · 6.58 KB
/
wasm4.ttl.in
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix midi: <http://lv2plug.in/ns/ext/midi#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix urid: <http://lv2plug.in/ns/ext/urid#> .
@prefix pprops: <http://lv2plug.in/ns/ext/port-props#> .
@prefix param: <http://lv2plug.in/ns/ext/parameters#> .
@prefix group: <http://lv2plug.in/ns/ext/port-groups#> .
@prefix bufsize: <http://lv2plug.in/ns/ext/buf-size#> .
<https://github.com/desttinghim/wasm4-lv2>
a lv2:Plugin ,
lv2:GeneratorPlugin ;
doap:name "WASM4 APU Instrument" ;
doap:license <http://opensource.org/licenses/isc> ;
lv2:project <https://github.com/desttinghim/wasm4-lv2> ;
lv2:optionalFeature lv2:hardRTCapable ;
lv2:requiredFeature urid:map ;
lv2:requiredFeature bufsize:boundedBlockLength ;
lv2:minorVersion @VERSION_MINOR@ ;
lv2:microVersion @VERSION_MICRO@ ;
lv2:port [
a lv2:InputPort , atom:AtomPort ;
lv2:index 0 ;
lv2:symbol "midi_in" ;
lv2:name "MIDI in" ;
atom:bufferType atom:Sequence ;
atom:supports midi:MidiEvent ;
] , [
a lv2:OutputPort, lv2:AudioPort ;
lv2:index 1 ;
lv2:symbol "audio_left" ;
lv2:name "Audio Output Left" ;
lv2:designation group:left ;
] , [
a lv2:OutputPort, lv2:AudioPort ;
lv2:index 2 ;
lv2:symbol "audio_right" ;
lv2:name "Audio Output Right" ;
lv2:designation group:right ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 3 ;
lv2:symbol "attack" ;
lv2:name "Attack" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 255 ;
lv2:designation param:attack ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 4 ;
lv2:symbol "decay" ;
lv2:name "Decay" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 255 ;
lv2:designation param:decay ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 5 ;
lv2:symbol "sustain" ;
lv2:name "Sustain" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 255 ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 6 ;
lv2:symbol "release" ;
lv2:name "Release" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 255 ;
lv2:designation param:release ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 7 ;
lv2:symbol "peak" ;
lv2:name "Peak" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 100 ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 8 ;
lv2:symbol "pan" ;
lv2:name "Pan" ;
lv2:portProperty lv2:integer , lv2:enumeration ;
lv2:scalePoint [ rdfs:label "Center" ; rdf:value 0 ] ;
lv2:scalePoint [ rdfs:label "Left" ; rdf:value 1 ] ;
lv2:scalePoint [ rdfs:label "Right" ; rdf:value 2 ] ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 2 ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 9 ;
lv2:symbol "volume" ;
lv2:name "Volume" ;
lv2:portProperty lv2:integer ;
lv2:default 50 ;
lv2:minimum 0 ;
lv2:maximum 100 ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 10 ;
lv2:symbol "mode" ;
lv2:name "Mode" ;
lv2:portProperty lv2:integer , lv2:enumeration ;
lv2:scalePoint [ rdfs:label "1/8" ; rdf:value 0 ] ;
lv2:scalePoint [ rdfs:label "1/4" ; rdf:value 1 ] ;
lv2:scalePoint [ rdfs:label "1/2" ; rdf:value 2 ] ;
lv2:scalePoint [ rdfs:label "3/4" ; rdf:value 3 ] ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 4 ;
lv2:designation param:pulseWidth ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 11 ;
lv2:symbol "start_freq" ;
lv2:name "Start Frequency" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 1000 ;
lv2:designation param:frequency ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 12 ;
lv2:symbol "end_freq" ;
lv2:name "End Frequency" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 1000 ;
lv2:designation param:frequency ;
lv2:portProperty pprops:logarithmic ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 13 ;
lv2:symbol "sustain_mode" ;
lv2:name "Sustain Mode" ;
lv2:portProperty lv2:integer , lv2:enumeration ;
lv2:scalePoint [ rdfs:label "On" ; rdf:value 0 ] ;
lv2:scalePoint [ rdfs:label "Off" ; rdf:value 1 ] ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 4 ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 14 ;
lv2:symbol "pulse1_channel" ;
lv2:name "Pulse 1 Midi Channel" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 16 ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 15 ;
lv2:symbol "pulse2_channel" ;
lv2:name "Pulse 2 Midi Channel" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 16 ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 16 ;
lv2:symbol "triangle_channel" ;
lv2:name "Triangle Midi Channel" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 16 ;
] , [
a lv2:InputPort , lv2:ControlPort ;
lv2:index 17 ;
lv2:symbol "noise_channel" ;
lv2:name "Noise Midi Channel" ;
lv2:portProperty lv2:integer ;
lv2:default 0 ;
lv2:minimum 0 ;
lv2:maximum 16 ;
] .