config.h: remove, unused
[vamp-aubio-plugins.git] / vamp-aubio.n3
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/vamp-aubio#> .
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 cc:       <http://web.resource.org/cc/> .
10 @prefix :         <#> .
11
12 <>  a   vamp:PluginDescription ;
13     foaf:maker          <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
14     foaf:primaryTopic   <http://vamp-plugins.org/rdf/plugins/vamp-aubio> .
15
16 :vamp-aubio a  vamp:PluginLibrary ;
17     vamp:identifier "vamp-aubio"  ; 
18     vamp:available_plugin plugbase:aubionotes ; 
19     vamp:available_plugin plugbase:aubioonset ; 
20     vamp:available_plugin plugbase:aubiopitch ; 
21     vamp:available_plugin plugbase:aubiosilence ; 
22     vamp:available_plugin plugbase:aubiotempo ; 
23 #   foaf:page <Place more-information HTML page URL here and uncomment> ;
24     .
25
26 plugbase:aubionotes a   vamp:Plugin ;
27     dc:title              "Aubio Note Tracker" ;
28     vamp:name             "Aubio Note Tracker" ;
29     dc:description        """Estimate note onset positions, pitches and durations""" ;
30     foaf:maker            [ foaf:name "Paul Brossier (plugin by Chris Cannam)" ] ; # FIXME could give plugin author's URI here
31     dc:rights             """GPL""" ;
32 #   cc:license            <Place plugin license URI here and uncomment> ; 
33     vamp:identifier       "aubionotes" ;
34     vamp:vamp_API_version vamp:api_version_2 ;
35     owl:versionInfo       "4" ;
36     vamp:input_domain     vamp:TimeDomain ;
37
38     vamp:parameter   plugbase:aubionotes_param_onsettype ;
39     vamp:parameter   plugbase:aubionotes_param_pitchtype ;
40     vamp:parameter   plugbase:aubionotes_param_minpitch ;
41     vamp:parameter   plugbase:aubionotes_param_maxpitch ;
42     vamp:parameter   plugbase:aubionotes_param_wraprange ;
43     vamp:parameter   plugbase:aubionotes_param_avoidleaps ;
44     vamp:parameter   plugbase:aubionotes_param_peakpickthreshold ;
45     vamp:parameter   plugbase:aubionotes_param_silencethreshold ;
46     vamp:parameter   plugbase:aubionotes_param_minioi ;
47
48     vamp:output      plugbase:aubionotes_output_notes ;
49     .
50 plugbase:aubionotes_param_onsettype a  vamp:QuantizedParameter ;
51     vamp:identifier     "onsettype" ;
52     dc:title            "Onset Detection Function Type" ;
53     dc:format           "" ;
54     vamp:min_value       0 ;
55     vamp:max_value       7 ;
56     vamp:unit           "" ;
57     vamp:quantize_step   1  ;
58     vamp:default_value   3 ;
59     vamp:value_names     ( "Energy Based" "Spectral Difference" "High-Frequency Content" "Complex Domain" "Phase Deviation" "Kullback-Liebler" "Modified Kullback-Liebler" "Spectral Flux");
60     .
61 plugbase:aubionotes_param_pitchtype a  vamp:QuantizedParameter ;
62     vamp:identifier     "pitchtype" ;
63     dc:title            "Pitch Detection Function Type" ;
64     dc:format           "" ;
65     vamp:min_value       0 ;
66     vamp:max_value       4 ;
67     vamp:unit           "" ;
68     vamp:quantize_step   1  ;
69     vamp:default_value   4 ;
70     vamp:value_names     ( "YIN Frequency Estimator" "Spectral Comb" "Schmitt" "Fast Harmonic Comb" "YIN with FFT");
71     .
72 plugbase:aubionotes_param_minpitch a  vamp:QuantizedParameter ;
73     vamp:identifier     "minpitch" ;
74     dc:title            "Minimum Pitch" ;
75     dc:format           "MIDI units" ;
76     vamp:min_value       0 ;
77     vamp:max_value       127 ;
78     vamp:unit           "MIDI units" ;
79     vamp:quantize_step   1  ;
80     vamp:default_value   32 ;
81     vamp:value_names     ();
82     .
83 plugbase:aubionotes_param_maxpitch a  vamp:QuantizedParameter ;
84     vamp:identifier     "maxpitch" ;
85     dc:title            "Maximum Pitch" ;
86     dc:format           "MIDI units" ;
87     vamp:min_value       0 ;
88     vamp:max_value       127 ;
89     vamp:unit           "MIDI units" ;
90     vamp:quantize_step   1  ;
91     vamp:default_value   95 ;
92     vamp:value_names     ();
93     .
94 plugbase:aubionotes_param_wraprange a  vamp:QuantizedParameter ;
95     vamp:identifier     "wraprange" ;
96     dc:title            "Fold Higher or Lower Notes into Range" ;
97     dc:format           "" ;
98     vamp:min_value       0 ;
99     vamp:max_value       1 ;
100     vamp:unit           "" ;
101     vamp:quantize_step   1  ;
102     vamp:default_value   0 ;
103     vamp:value_names     ();
104     .
105 plugbase:aubionotes_param_avoidleaps a  vamp:QuantizedParameter ;
106     vamp:identifier     "avoidleaps" ;
107     dc:title            "Avoid Multi-Octave Jumps" ;
108     dc:format           "" ;
109     vamp:min_value       0 ;
110     vamp:max_value       1 ;
111     vamp:unit           "" ;
112     vamp:quantize_step   1  ;
113     vamp:default_value   0 ;
114     vamp:value_names     ();
115     .
116 plugbase:aubionotes_param_peakpickthreshold a  vamp:Parameter ;
117     vamp:identifier     "peakpickthreshold" ;
118     dc:title            "Peak Picker Threshold" ;
119     dc:format           "" ;
120     vamp:min_value       0 ;
121     vamp:max_value       1 ;
122     vamp:unit           ""  ;
123     vamp:default_value   0.3 ;
124     vamp:value_names     ();
125     .
126 plugbase:aubionotes_param_silencethreshold a  vamp:Parameter ;
127     vamp:identifier     "silencethreshold" ;
128     dc:title            "Silence Threshold" ;
129     dc:format           "dB" ;
130     vamp:min_value       -120 ;
131     vamp:max_value       0 ;
132     vamp:unit           "dB"  ;
133     vamp:default_value   -70 ;
134     vamp:value_names     ();
135     .
136 plugbase:aubionotes_param_minioi a  vamp:QuantizedParameter ;
137     vamp:identifier     "minioi" ;
138     dc:title            "Minimum Inter-Onset Interval" ;
139     dc:format           "ms" ;
140     vamp:min_value       0 ;
141     vamp:max_value       40 ;
142     vamp:unit           "ms" ;
143     vamp:quantize_step   1  ;
144     vamp:default_value   4 ;
145     vamp:value_names     ();
146     .
147 plugbase:aubionotes_output_notes a  vamp:SparseOutput ;
148     vamp:identifier       "notes" ;
149     dc:title              "Notes" ;
150     dc:description        """"""  ;
151     vamp:fixed_bin_count  "true" ;
152     vamp:unit             "Hz" ;
153     vamp:bin_count        2 ;
154     vamp:bin_names        ( "Frequency" "Velocity");
155     vamp:sample_type      vamp:VariableSampleRate ;
156 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
157 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
158 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
159     .
160 plugbase:aubioonset a   vamp:Plugin ;
161     dc:title              "Aubio Onset Detector" ;
162     vamp:name             "Aubio Onset Detector" ;
163     dc:description        """Estimate note onset times""" ;
164     foaf:maker            [ foaf:name "Paul Brossier (plugin by Chris Cannam)" ] ; # FIXME could give plugin author's URI here
165     dc:rights             """GPL""" ;
166 #   cc:license            <Place plugin license URI here and uncomment> ; 
167     vamp:identifier       "aubioonset" ;
168     vamp:vamp_API_version vamp:api_version_2 ;
169     owl:versionInfo       "2" ;
170     vamp:input_domain     vamp:TimeDomain ;
171
172     vamp:parameter   plugbase:aubioonset_param_onsettype ;
173     vamp:parameter   plugbase:aubioonset_param_peakpickthreshold ;
174     vamp:parameter   plugbase:aubioonset_param_silencethreshold ;
175     vamp:parameter   plugbase:aubioonset_param_minioi ;
176
177     vamp:output      plugbase:aubioonset_output_onsets ;
178     .
179 plugbase:aubioonset_param_onsettype a  vamp:QuantizedParameter ;
180     vamp:identifier     "onsettype" ;
181     dc:title            "Onset Detection Function Type" ;
182     dc:format           "" ;
183     vamp:min_value       0 ;
184     vamp:max_value       7 ;
185     vamp:unit           "" ;
186     vamp:quantize_step   1  ;
187     vamp:default_value   3 ;
188     vamp:value_names     ( "Energy Based" "Spectral Difference" "High-Frequency Content" "Complex Domain" "Phase Deviation" "Kullback-Liebler" "Modified Kullback-Liebler" "Spectral Flux");
189     .
190 plugbase:aubioonset_param_peakpickthreshold a  vamp:Parameter ;
191     vamp:identifier     "peakpickthreshold" ;
192     dc:title            "Peak Picker Threshold" ;
193     dc:format           "" ;
194     vamp:min_value       0 ;
195     vamp:max_value       1 ;
196     vamp:unit           ""  ;
197     vamp:default_value   0.3 ;
198     vamp:value_names     ();
199     .
200 plugbase:aubioonset_param_silencethreshold a  vamp:Parameter ;
201     vamp:identifier     "silencethreshold" ;
202     dc:title            "Silence Threshold" ;
203     dc:format           "dB" ;
204     vamp:min_value       -120 ;
205     vamp:max_value       0 ;
206     vamp:unit           "dB"  ;
207     vamp:default_value   -70 ;
208     vamp:value_names     ();
209     .
210 plugbase:aubioonset_param_minioi a  vamp:QuantizedParameter ;
211     vamp:identifier     "minioi" ;
212     dc:title            "Minimum Inter-Onset Interval" ;
213     dc:format           "ms" ;
214     vamp:min_value       0 ;
215     vamp:max_value       40 ;
216     vamp:unit           "ms" ;
217     vamp:quantize_step   1  ;
218     vamp:default_value   4 ;
219     vamp:value_names     ();
220     .
221 plugbase:aubioonset_output_onsets a  vamp:SparseOutput ;
222     vamp:identifier       "onsets" ;
223     dc:title              "Onsets" ;
224     dc:description        """"""  ;
225     vamp:fixed_bin_count  "true" ;
226     vamp:unit             "" ;
227     vamp:bin_count        0 ;
228     vamp:sample_type      vamp:VariableSampleRate ;
229 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
230 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
231 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
232     .
233 plugbase:aubiopitch a   vamp:Plugin ;
234     dc:title              "Aubio Pitch Detector" ;
235     vamp:name             "Aubio Pitch Detector" ;
236     dc:description        """Track estimated note pitches""" ;
237     foaf:maker            [ foaf:name "Paul Brossier (plugin by Chris Cannam)" ] ; # FIXME could give plugin author's URI here
238     dc:rights             """GPL""" ;
239 #   cc:license            <Place plugin license URI here and uncomment> ; 
240     vamp:identifier       "aubiopitch" ;
241     vamp:vamp_API_version vamp:api_version_2 ;
242     owl:versionInfo       "3" ;
243     vamp:input_domain     vamp:TimeDomain ;
244
245     vamp:parameter   plugbase:aubiopitch_param_pitchtype ;
246     vamp:parameter   plugbase:aubiopitch_param_minfreq ;
247     vamp:parameter   plugbase:aubiopitch_param_maxfreq ;
248     vamp:parameter   plugbase:aubiopitch_param_wraprange ;
249     vamp:parameter   plugbase:aubiopitch_param_silencethreshold ;
250
251     vamp:output      plugbase:aubiopitch_output_frequency ;
252     .
253 plugbase:aubiopitch_param_pitchtype a  vamp:QuantizedParameter ;
254     vamp:identifier     "pitchtype" ;
255     dc:title            "Pitch Detection Function Type" ;
256     dc:format           "" ;
257     vamp:min_value       0 ;
258     vamp:max_value       4 ;
259     vamp:unit           "" ;
260     vamp:quantize_step   1  ;
261     vamp:default_value   4 ;
262     vamp:value_names     ( "YIN Frequency Estimator" "Spectral Comb" "Schmitt" "Fast Harmonic Comb" "YIN with FFT");
263     .
264 plugbase:aubiopitch_param_minfreq a  vamp:Parameter ;
265     vamp:identifier     "minfreq" ;
266     dc:title            "Minimum Fundamental Frequency" ;
267     dc:format           "Hz" ;
268     vamp:min_value       1 ;
269     vamp:max_value       24000 ;
270     vamp:unit           "Hz"  ;
271     vamp:default_value   51.9131 ;
272     vamp:value_names     ();
273     .
274 plugbase:aubiopitch_param_maxfreq a  vamp:Parameter ;
275     vamp:identifier     "maxfreq" ;
276     dc:title            "Maximum Fundamental Frequency" ;
277     dc:format           "Hz" ;
278     vamp:min_value       1 ;
279     vamp:max_value       24000 ;
280     vamp:unit           "Hz"  ;
281     vamp:default_value   1975.53 ;
282     vamp:value_names     ();
283     .
284 plugbase:aubiopitch_param_wraprange a  vamp:QuantizedParameter ;
285     vamp:identifier     "wraprange" ;
286     dc:title            "Fold Higher or Lower Frequencies into Range" ;
287     dc:format           "" ;
288     vamp:min_value       0 ;
289     vamp:max_value       1 ;
290     vamp:unit           "" ;
291     vamp:quantize_step   1  ;
292     vamp:default_value   0 ;
293     vamp:value_names     ();
294     .
295 plugbase:aubiopitch_param_silencethreshold a  vamp:Parameter ;
296     vamp:identifier     "silencethreshold" ;
297     dc:title            "Silence Threshold" ;
298     dc:format           "dB" ;
299     vamp:min_value       -120 ;
300     vamp:max_value       0 ;
301     vamp:unit           "dB"  ;
302     vamp:default_value   -90 ;
303     vamp:value_names     ();
304     .
305 plugbase:aubiopitch_output_frequency a  vamp:SparseOutput ;
306     vamp:identifier       "frequency" ;
307     dc:title              "Fundamental Frequency" ;
308     dc:description        """"""  ;
309     vamp:fixed_bin_count  "true" ;
310     vamp:unit             "Hz" ;
311     vamp:bin_count        1 ;
312     vamp:sample_type      vamp:VariableSampleRate ;
313 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
314 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
315 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
316     .
317 plugbase:aubiosilence a   vamp:Plugin ;
318     dc:title              "Aubio Silence Detector" ;
319     vamp:name             "Aubio Silence Detector" ;
320     dc:description        """Detect levels below a certain threshold""" ;
321     foaf:maker            [ foaf:name "Paul Brossier (plugin by Chris Cannam)" ] ; # FIXME could give plugin author's URI here
322     dc:rights             """GPL""" ;
323 #   cc:license            <Place plugin license URI here and uncomment> ; 
324     vamp:identifier       "aubiosilence" ;
325     vamp:vamp_API_version vamp:api_version_2 ;
326     owl:versionInfo       "4" ;
327     vamp:input_domain     vamp:TimeDomain ;
328
329     vamp:parameter   plugbase:aubiosilence_param_silencethreshold ;
330
331     vamp:output      plugbase:aubiosilence_output_silent ;
332     vamp:output      plugbase:aubiosilence_output_noisy ;
333     vamp:output      plugbase:aubiosilence_output_silencelevel ;
334     .
335 plugbase:aubiosilence_param_silencethreshold a  vamp:Parameter ;
336     vamp:identifier     "silencethreshold" ;
337     dc:title            "Silence Threshold" ;
338     dc:format           "dB" ;
339     vamp:min_value       -120 ;
340     vamp:max_value       0 ;
341     vamp:unit           "dB"  ;
342     vamp:default_value   -80 ;
343     vamp:value_names     ();
344     .
345 plugbase:aubiosilence_output_silent a  vamp:SparseOutput ;
346     vamp:identifier       "silent" ;
347     dc:title              "Silent Regions" ;
348     dc:description        """Return an interval covering each silent region"""  ;
349     vamp:fixed_bin_count  "true" ;
350     vamp:unit             "" ;
351     vamp:bin_count        0 ;
352     vamp:sample_type      vamp:VariableSampleRate ;
353 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
354 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
355 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
356     .
357 plugbase:aubiosilence_output_noisy a  vamp:SparseOutput ;
358     vamp:identifier       "noisy" ;
359     dc:title              "Non-Silent Regions" ;
360     dc:description        """Return an interval covering each non-silent region"""  ;
361     vamp:fixed_bin_count  "true" ;
362     vamp:unit             "" ;
363     vamp:bin_count        0 ;
364     vamp:sample_type      vamp:VariableSampleRate ;
365 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
366 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
367 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
368     .
369 plugbase:aubiosilence_output_silencelevel a  vamp:SparseOutput ;
370     vamp:identifier       "silencelevel" ;
371     dc:title              "Silence Test" ;
372     dc:description        """Return a function that switches from 1 to 0 when silence falls, and back again when it ends"""  ;
373     vamp:fixed_bin_count  "true" ;
374     vamp:unit             "" ;
375     a                     vamp:QuantizedOutput ;
376     vamp:quantize_step    1  ;
377     a                 vamp:KnownExtentsOutput ;
378     vamp:min_value    0  ;
379     vamp:max_value    1  ;
380     vamp:bin_count        1 ;
381     vamp:sample_type      vamp:VariableSampleRate ;
382 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
383 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
384 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
385     .
386 plugbase:aubiotempo a   vamp:Plugin ;
387     dc:title              "Aubio Beat Tracker" ;
388     vamp:name             "Aubio Beat Tracker" ;
389     dc:description        """Estimate the musical tempo and track beat positions""" ;
390     foaf:maker            [ foaf:name "Paul Brossier (method by Matthew Davies, plugin by Chris Cannam)" ] ; # FIXME could give plugin author's URI here
391     dc:rights             """GPL""" ;
392 #   cc:license            <Place plugin license URI here and uncomment> ; 
393     vamp:identifier       "aubiotempo" ;
394     vamp:vamp_API_version vamp:api_version_2 ;
395     owl:versionInfo       "2" ;
396     vamp:input_domain     vamp:TimeDomain ;
397
398     vamp:parameter   plugbase:aubiotempo_param_onsettype ;
399     vamp:parameter   plugbase:aubiotempo_param_peakpickthreshold ;
400     vamp:parameter   plugbase:aubiotempo_param_silencethreshold ;
401
402     vamp:output      plugbase:aubiotempo_output_beats ;
403     vamp:output      plugbase:aubiotempo_output_tempo ;
404     .
405 plugbase:aubiotempo_param_onsettype a  vamp:QuantizedParameter ;
406     vamp:identifier     "onsettype" ;
407     dc:title            "Onset Detection Function Type" ;
408     dc:format           "" ;
409     vamp:min_value       0 ;
410     vamp:max_value       7 ;
411     vamp:unit           "" ;
412     vamp:quantize_step   1  ;
413     vamp:default_value   3 ;
414     vamp:value_names     ( "Energy Based" "Spectral Difference" "High-Frequency Content" "Complex Domain" "Phase Deviation" "Kullback-Liebler" "Modified Kullback-Liebler" "Spectral Flux");
415     .
416 plugbase:aubiotempo_param_peakpickthreshold a  vamp:Parameter ;
417     vamp:identifier     "peakpickthreshold" ;
418     dc:title            "Peak Picker Threshold" ;
419     dc:format           "" ;
420     vamp:min_value       0 ;
421     vamp:max_value       1 ;
422     vamp:unit           ""  ;
423     vamp:default_value   0.3 ;
424     vamp:value_names     ();
425     .
426 plugbase:aubiotempo_param_silencethreshold a  vamp:Parameter ;
427     vamp:identifier     "silencethreshold" ;
428     dc:title            "Silence Threshold" ;
429     dc:format           "dB" ;
430     vamp:min_value       -120 ;
431     vamp:max_value       0 ;
432     vamp:unit           "dB"  ;
433     vamp:default_value   -70 ;
434     vamp:value_names     ();
435     .
436 plugbase:aubiotempo_output_beats a  vamp:SparseOutput ;
437     vamp:identifier       "beats" ;
438     dc:title              "Beats" ;
439     dc:description        """"""  ;
440     vamp:fixed_bin_count  "true" ;
441     vamp:unit             "" ;
442     vamp:bin_count        0 ;
443     vamp:sample_type      vamp:VariableSampleRate ;
444 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
445 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
446 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
447     .
448 plugbase:aubiotempo_output_tempo a  vamp:DenseOutput ;
449     vamp:identifier       "tempo" ;
450     dc:title              "Tempo" ;
451     dc:description        """"""  ;
452     vamp:fixed_bin_count  "true" ;
453     vamp:unit             "bpm" ;
454     vamp:bin_count        1 ;
455 #   vamp:computes_event_type   <Place event type URI here and uncomment> ;
456 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> 
457 ;
458 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
459     .