comparison Example VamPy plugins/examples.n3 @ 69:f5b8646494d2

Metadata fixes
author Chris Cannam
date Mon, 17 Nov 2014 12:53:51 +0000
parents
children
comparison
equal deleted inserted replaced
68:44d56a3d16b7 69:f5b8646494d2
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
3 @prefix vamp: <http://purl.org/ontology/vamp/> .
4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/vampy#> .
5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
7 @prefix af: <http://purl.org/ontology/af/> .
8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
9 @prefix doap: <http://usefulinc.com/ns/doap#> .
10 @prefix cc: <http://web.resource.org/cc/> .
11 @prefix : <#> .
12
13
14 ## Properties of this document
15
16 <> a vamp:PluginDescription ;
17 foaf:maker <http://vamp-plugins.org/rdf/template-generator> ;
18 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/vampy> .
19
20
21 ## Maker of the whole plugin library
22
23 :library_maker
24 foaf:name "Vampy Example Plugins" ;
25 # foaf:page <> ; # Place maker's homepage URL in here and uncomment
26 # foaf:logo <> ; # URL of an image here, if you happen to have a logo
27 .
28
29
30 ## Properties of the plugin library, and references to the plugins it contains
31
32 plugbase:library a vamp:PluginLibrary ;
33 vamp:identifier "vampy" ;
34 foaf:maker :library_maker ;
35 vamp:available_plugin plugbase:vampy-mfcc ;
36 vamp:available_plugin plugbase:vampy-sc3 ;
37 vamp:available_plugin plugbase:vampy-sf3 ;
38 vamp:available_plugin plugbase:vampy-zc2 ;
39 # dc:title "" ; # Place library name here and uncomment
40 # dc:description "" ; # Place library description here and uncomment
41 # foaf:page <> ; # Place more-info HTML page URL here and uncomment
42 # doap:download-page <> ; # Place download HTML page URL here and uncomment
43 .
44
45
46 ## Properties of the Vampy MFCC Plugin plugin
47
48 plugbase:vampy-mfcc a vamp:Plugin ;
49 dc:title "Vampy MFCC Plugin" ;
50 vamp:name "Vampy MFCC Plugin" ;
51 dc:description """A simple MFCC plugin""" ;
52 foaf:maker :library_maker ;
53 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
54 # cc:license <Place plugin license URI here and uncomment> ;
55 vamp:identifier "vampy-mfcc" ;
56 vamp:vamp_API_version vamp:api_version_2 ;
57 owl:versionInfo "2" ;
58 vamp:input_domain vamp:FrequencyDomain ;
59
60 vamp:parameter plugbase:vampy-mfcc_param_melbands ;
61 vamp:parameter plugbase:vampy-mfcc_param_minHz ;
62 vamp:parameter plugbase:vampy-mfcc_param_maxHz ;
63 vamp:parameter plugbase:vampy-mfcc_param_cnull ;
64 vamp:parameter plugbase:vampy-mfcc_param_two_ch ;
65
66 vamp:output plugbase:vampy-mfcc_output_mfccs ;
67 vamp:output plugbase:vampy-mfcc_output_warped-fft ;
68 vamp:output plugbase:vampy-mfcc_output_mel-filter-matrix ;
69 .
70 plugbase:vampy-mfcc_param_melbands a vamp:QuantizedParameter ;
71 vamp:identifier "melbands" ;
72 dc:title "Number of bands (coefficients)" ;
73 dc:format "" ;
74 vamp:min_value 2 ;
75 vamp:max_value 128 ;
76 vamp:unit "" ;
77 vamp:quantize_step 1 ;
78 vamp:default_value 40 ;
79 vamp:value_names ();
80 .
81 plugbase:vampy-mfcc_param_minHz a vamp:QuantizedParameter ;
82 vamp:identifier "minHz" ;
83 dc:title "minimum frequency" ;
84 dc:format "Hz" ;
85 vamp:min_value 0 ;
86 vamp:max_value 24000 ;
87 vamp:unit "Hz" ;
88 vamp:quantize_step 1 ;
89 vamp:default_value 0 ;
90 vamp:value_names ();
91 .
92 plugbase:vampy-mfcc_param_maxHz a vamp:QuantizedParameter ;
93 vamp:identifier "maxHz" ;
94 dc:title "maximum frequency" ;
95 dc:format "Hz" ;
96 vamp:min_value 100 ;
97 vamp:max_value 24000 ;
98 vamp:unit "Hz" ;
99 vamp:quantize_step 100 ;
100 vamp:default_value 11025 ;
101 vamp:value_names ();
102 .
103 plugbase:vampy-mfcc_param_cnull a vamp:QuantizedParameter ;
104 vamp:identifier "cnull" ;
105 dc:title "Return C0" ;
106 dc:format "" ;
107 vamp:min_value 0 ;
108 vamp:max_value 1 ;
109 vamp:unit "" ;
110 vamp:quantize_step 1 ;
111 vamp:default_value 0 ;
112 vamp:value_names ();
113 .
114 plugbase:vampy-mfcc_param_two_ch a vamp:QuantizedParameter ;
115 vamp:identifier "two_ch" ;
116 dc:title "Process channels separately" ;
117 dc:format "" ;
118 vamp:min_value 0 ;
119 vamp:max_value 1 ;
120 vamp:unit "" ;
121 vamp:quantize_step 1 ;
122 vamp:default_value 0 ;
123 vamp:value_names ();
124 .
125 plugbase:vampy-mfcc_output_mfccs a vamp:DenseOutput ;
126 vamp:identifier "mfccs" ;
127 dc:title "MFCCs" ;
128 dc:description """MFCC Coefficients""" ;
129 vamp:fixed_bin_count "true" ;
130 vamp:unit "" ;
131 a vamp:QuantizedOutput ;
132 vamp:quantize_step -2.14949e+08 ;
133 vamp:bin_count 39 ;
134 vamp:bin_names ( "C 1" "C 2" "C 3" "C 4" "C 5" "C 6" "C 7" "C 8" "C 9" "C 10" "C 11" "C 12" "C 13" "C 14" "C 15" "C 16" "C 17" "C 18" "C 19" "C 20" "C 21" "C 22" "C 23" "C 24" "C 25" "C 26" "C 27" "C 28" "C 29" "C 30" "C 31" "C 32" "C 33" "C 34" "C 35" "C 36" "C 37" "C 38" "C 39");
135 # vamp:computes_event_type <Place event type URI here and uncomment> ;
136 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
137 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
138 .
139 plugbase:vampy-mfcc_output_warped-fft a vamp:DenseOutput ;
140 vamp:identifier "warped-fft" ;
141 dc:title "Mel Scaled Spectrum" ;
142 dc:description """Mel Scaled Magnitide Spectrum""" ;
143 vamp:fixed_bin_count "true" ;
144 vamp:unit "Mel" ;
145 a vamp:QuantizedOutput ;
146 vamp:quantize_step -2.14949e+08 ;
147 vamp:bin_count 40 ;
148 # vamp:computes_event_type <Place event type URI here and uncomment> ;
149 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
150 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
151 .
152 plugbase:vampy-mfcc_output_mel-filter-matrix a vamp:DenseOutput ;
153 vamp:identifier "mel-filter-matrix" ;
154 dc:title "Mel Filter Matrix" ;
155 dc:description """Returns the created filter matrix in getRemainingFeatures.""" ;
156 vamp:fixed_bin_count "true" ;
157 vamp:unit "" ;
158 a vamp:QuantizedOutput ;
159 vamp:quantize_step -2.14949e+08 ;
160 vamp:bin_count 39 ;
161 # vamp:computes_event_type <Place event type URI here and uncomment> ;
162 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
163 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
164 .
165
166 ## Properties of the Spectral Centroid (using legacy process interface) plugin
167
168 plugbase:vampy-sc3 a vamp:Plugin ;
169 dc:title "Spectral Centroid (using legacy process interface)" ;
170 vamp:name "Spectral Centroid (using legacy process interface)" ;
171 dc:description """Calculate the linear frequency centroid of the short-time Fourier spectrum""" ;
172 foaf:maker :library_maker ;
173 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
174 # cc:license <Place plugin license URI here and uncomment> ;
175 vamp:identifier "vampy-sc3" ;
176 vamp:vamp_API_version vamp:api_version_2 ;
177 owl:versionInfo "2" ;
178 vamp:input_domain vamp:FrequencyDomain ;
179
180 vamp:parameter plugbase:vampy-sc3_param_threshold ;
181
182 vamp:output plugbase:vampy-sc3_output_vampy-sc3 ;
183 .
184 plugbase:vampy-sc3_param_threshold a vamp:Parameter ;
185 vamp:identifier "threshold" ;
186 dc:title "Noise threshold" ;
187 dc:format "v" ;
188 vamp:min_value 0 ;
189 vamp:max_value 0.5 ;
190 vamp:unit "v" ;
191 vamp:default_value 0.05 ;
192 vamp:value_names ();
193 .
194 plugbase:vampy-sc3_output_vampy-sc3 a vamp:DenseOutput ;
195 vamp:identifier "vampy-sc3" ;
196 dc:title "Spectral Centroid" ;
197 dc:description """Spectral Centroid (Brightness)""" ;
198 vamp:fixed_bin_count "true" ;
199 vamp:unit "" ;
200 a vamp:QuantizedOutput ;
201 vamp:quantize_step 1 ;
202 vamp:bin_count 1 ;
203 # vamp:computes_event_type <Place event type URI here and uncomment> ;
204 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
205 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
206 .
207
208 ## Properties of the Vampy Spectral Features plugin
209
210 plugbase:vampy-sf3 a vamp:Plugin ;
211 dc:title "Vampy Spectral Features" ;
212 vamp:name "Vampy Spectral Features" ;
213 dc:description """A collection of low-level spectral descriptors.""" ;
214 foaf:maker :library_maker ;
215 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
216 # cc:license <Place plugin license URI here and uncomment> ;
217 vamp:identifier "vampy-sf3" ;
218 vamp:vamp_API_version vamp:api_version_2 ;
219 owl:versionInfo "2" ;
220 vamp:input_domain vamp:FrequencyDomain ;
221
222 vamp:parameter plugbase:vampy-sf3_param_threshold ;
223
224 vamp:output plugbase:vampy-sf3_output_vampy-sc ;
225 vamp:output plugbase:vampy-sf3_output_vampy-scf ;
226 vamp:output plugbase:vampy-sf3_output_vampy-bw ;
227 vamp:output plugbase:vampy-sf3_output_vampy-sd ;
228 .
229 plugbase:vampy-sf3_param_threshold a vamp:Parameter ;
230 vamp:identifier "threshold" ;
231 dc:title "Noise threshold" ;
232 dc:format "v" ;
233 vamp:min_value 0 ;
234 vamp:max_value 1 ;
235 vamp:unit "v" ;
236 vamp:default_value 0.05 ;
237 vamp:value_names ();
238 .
239 plugbase:vampy-sf3_output_vampy-sc a vamp:DenseOutput ;
240 vamp:identifier "vampy-sc" ;
241 dc:title "Spectral Centroid" ;
242 dc:description """Spectral Centroid (Brightness)""" ;
243 vamp:fixed_bin_count "true" ;
244 vamp:unit "Hz" ;
245 vamp:bin_count 1 ;
246 # vamp:computes_event_type <Place event type URI here and uncomment> ;
247 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
248 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
249 .
250 plugbase:vampy-sf3_output_vampy-scf a vamp:DenseOutput ;
251 vamp:identifier "vampy-scf" ;
252 dc:title "Spectral Crest Factor" ;
253 dc:description """Spectral Crest (Tonality)""" ;
254 vamp:fixed_bin_count "true" ;
255 vamp:unit "v" ;
256 vamp:bin_count 1 ;
257 # vamp:computes_event_type <Place event type URI here and uncomment> ;
258 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
259 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
260 .
261 plugbase:vampy-sf3_output_vampy-bw a vamp:DenseOutput ;
262 vamp:identifier "vampy-bw" ;
263 dc:title "Band Width" ;
264 dc:description """Spectral Band Width""" ;
265 vamp:fixed_bin_count "true" ;
266 vamp:unit "Hz" ;
267 vamp:bin_count 1 ;
268 # vamp:computes_event_type <Place event type URI here and uncomment> ;
269 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
270 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
271 .
272 plugbase:vampy-sf3_output_vampy-sd a vamp:DenseOutput ;
273 vamp:identifier "vampy-sd" ;
274 dc:title "Spectral Difference" ;
275 dc:description """Eucledian distance of successive magnitude spectra.""" ;
276 vamp:fixed_bin_count "true" ;
277 vamp:unit "Hz" ;
278 vamp:bin_count 1 ;
279 # vamp:computes_event_type <Place event type URI here and uncomment> ;
280 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
281 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
282 .
283
284 ## Properties of the Vampy Zero Crossings plugin
285
286 plugbase:vampy-zc2 a vamp:Plugin ;
287 dc:title "Vampy Zero Crossings" ;
288 vamp:name "Vampy Zero Crossings" ;
289 dc:description """Count the number of simple zero-crossings for the signal within each processing block""" ;
290 foaf:maker :library_maker ;
291 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
292 # cc:license <Place plugin license URI here and uncomment> ;
293 vamp:identifier "vampy-zc2" ;
294 vamp:vamp_API_version vamp:api_version_2 ;
295 owl:versionInfo "2" ;
296 vamp:input_domain vamp:TimeDomain ;
297 vamp:parameter plugbase:vampy-zc2_param_threshold ;
298
299 vamp:output plugbase:vampy-zc2_output_vampy-counts ;
300 vamp:output plugbase:vampy-zc2_output_vampy-crossings ;
301 .
302 plugbase:vampy-zc2_param_threshold a vamp:Parameter ;
303 vamp:identifier "threshold" ;
304 dc:title "Noise threshold" ;
305 dc:format "v" ;
306 vamp:min_value 0 ;
307 vamp:max_value 0.5 ;
308 vamp:unit "v" ;
309 vamp:default_value 0.005 ;
310 vamp:value_names ();
311 .
312 plugbase:vampy-zc2_output_vampy-counts a vamp:DenseOutput ;
313 vamp:identifier "vampy-counts" ;
314 dc:title "Number of Zero Crossings" ;
315 dc:description """Number of zero crossings per audio frame""" ;
316 vamp:fixed_bin_count "true" ;
317 vamp:unit " " ;
318 a vamp:QuantizedOutput ;
319 vamp:quantize_step 1 ;
320 vamp:bin_count 1 ;
321 # vamp:computes_event_type <Place event type URI here and uncomment> ;
322 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
323 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
324 .
325 plugbase:vampy-zc2_output_vampy-crossings a vamp:SparseOutput ;
326 vamp:identifier "vampy-crossings" ;
327 dc:title "Zero Crossing Locations" ;
328 dc:description """The locations of zero crossing points""" ;
329 vamp:fixed_bin_count "true" ;
330 vamp:unit "discrete" ;
331 vamp:bin_count 0 ;
332 vamp:sample_type vamp:VariableSampleRate ;
333 # vamp:computes_event_type <Place event type URI here and uncomment> ;
334 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
335 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
336 .
337