comparison nnls-chroma.n3 @ 40:61d35e59ee2b matthiasm-plugin

* Add skeleton plugin description RDF
author Chris Cannam
date Fri, 22 Oct 2010 11:58:16 +0100
parents
children 01bc078f5f61
comparison
equal deleted inserted replaced
39:0dfcddf4c413 40:61d35e59ee2b
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/nnls-chroma#> .
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/nnls-chroma> .
15
16 :nnls-chroma a vamp:PluginLibrary ;
17 vamp:identifier "nnls-chroma" ;
18 vamp:available_plugin plugbase:chordino ;
19 vamp:available_plugin plugbase:nnls_chroma ;
20 vamp:available_plugin plugbase:tuning ;
21 # foaf:page <Place more-information HTML page URL here and uncomment> ;
22 .
23
24 plugbase:chordino a vamp:Plugin ;
25 dc:title "Chordino" ;
26 vamp:name "Chordino" ;
27 dc:description """This plugin provides a number of features derived from a log-frequency amplitude spectrum of the DFT: some variants of the log-frequency spectrum, including a semitone spectrum derived from approximate transcription using the NNLS algorithm; based on this semitone spectrum, chroma features and a simple chord estimate.""" ;
28 foaf:maker [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
29 dc:rights """GPL""" ;
30 # cc:license <Place plugin license URI here and uncomment> ;
31 vamp:identifier "chordino" ;
32 vamp:vamp_API_version vamp:api_version_2 ;
33 owl:versionInfo "1" ;
34 vamp:input_domain vamp:FrequencyDomain ;
35
36
37 vamp:parameter plugbase:chordino_param_preset ;
38 vamp:parameter plugbase:chordino_param_rollon ;
39 vamp:parameter plugbase:chordino_param_tuningmode ;
40 vamp:parameter plugbase:chordino_param_chromanormalize ;
41
42 vamp:output plugbase:chordino_output_simplechord ;
43 vamp:output plugbase:chordino_output_harmonicchange ;
44 .
45 plugbase:chordino_param_preset a vamp:QuantizedParameter ;
46 vamp:identifier "preset" ;
47 dc:title "preset" ;
48 dc:format "" ;
49 vamp:min_value 0 ;
50 vamp:max_value 3 ;
51 vamp:unit "" ;
52 vamp:quantize_step 1 ;
53 vamp:default_value 0 ;
54 vamp:value_names ( "polyphonic pop" "polyphonic pop (fast)" "solo keyboard" "manual");
55 .
56 plugbase:chordino_param_rollon a vamp:Parameter ;
57 vamp:identifier "rollon" ;
58 dc:title "spectral roll-on" ;
59 dc:format "" ;
60 vamp:min_value 0 ;
61 vamp:max_value 1 ;
62 vamp:unit "" ;
63 vamp:default_value 0 ;
64 vamp:value_names ();
65 .
66 plugbase:chordino_param_tuningmode a vamp:QuantizedParameter ;
67 vamp:identifier "tuningmode" ;
68 dc:title "tuning mode" ;
69 dc:format "" ;
70 vamp:min_value 0 ;
71 vamp:max_value 1 ;
72 vamp:unit "" ;
73 vamp:quantize_step 1 ;
74 vamp:default_value 0 ;
75 vamp:value_names ( "global tuning" "local tuning");
76 .
77 plugbase:chordino_param_chromanormalize a vamp:QuantizedParameter ;
78 vamp:identifier "chromanormalize" ;
79 dc:title "chroma normalization" ;
80 dc:format "" ;
81 vamp:min_value 0 ;
82 vamp:max_value 3 ;
83 vamp:unit "" ;
84 vamp:quantize_step 1 ;
85 vamp:default_value 0 ;
86 vamp:value_names ( "none" "maximum norm" "L1 norm" "L2 norm");
87 .
88 plugbase:chordino_output_simplechord a vamp:SparseOutput ;
89 vamp:identifier "simplechord" ;
90 dc:title "Chord Estimate" ;
91 dc:description """A simple chord estimate based on the inner product of chord templates with the smoothed chroma.""" ;
92 vamp:fixed_bin_count "true" ;
93 vamp:unit "" ;
94 vamp:bin_count 0 ;
95 vamp:sample_type vamp:VariableSampleRate ;
96 vamp:sample_rate 21.5332 ;
97 # vamp:computes_event_type <Place event type URI here and uncomment> ;
98 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
99 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
100 .
101 plugbase:chordino_output_harmonicchange a vamp:DenseOutput ;
102 vamp:identifier "harmonicchange" ;
103 dc:title "Harmonic Change Value" ;
104 dc:description """Harmonic change.""" ;
105 vamp:fixed_bin_count "true" ;
106 vamp:unit "" ;
107 a vamp:KnownExtentsOutput ;
108 vamp:min_value 0 ;
109 vamp:max_value 0.999 ;
110 vamp:bin_count 1 ;
111 # vamp:computes_event_type <Place event type URI here and uncomment> ;
112 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
113 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
114 .
115 plugbase:nnls_chroma a vamp:Plugin ;
116 dc:title "NNLS Chroma" ;
117 vamp:name "NNLS Chroma" ;
118 dc:description """This plugin provides a number of features derived from a log-frequency amplitude spectrum of the DFT: some variants of the log-frequency spectrum, including a semitone spectrum derived from approximate transcription using the NNLS algorithm; based on this semitone spectrum, chroma features and a simple chord estimate.""" ;
119 foaf:maker [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
120 dc:rights """GPL""" ;
121 # cc:license <Place plugin license URI here and uncomment> ;
122 vamp:identifier "nnls_chroma" ;
123 vamp:vamp_API_version vamp:api_version_2 ;
124 owl:versionInfo "1" ;
125 vamp:input_domain vamp:FrequencyDomain ;
126
127
128 vamp:parameter plugbase:nnls_chroma_param_preset ;
129 vamp:parameter plugbase:nnls_chroma_param_rollon ;
130 vamp:parameter plugbase:nnls_chroma_param_tuningmode ;
131 vamp:parameter plugbase:nnls_chroma_param_chromanormalize ;
132
133 vamp:output plugbase:nnls_chroma_output_logfreqspec ;
134 vamp:output plugbase:nnls_chroma_output_tunedlogfreqspec ;
135 vamp:output plugbase:nnls_chroma_output_semitonespectrum ;
136 vamp:output plugbase:nnls_chroma_output_chroma ;
137 vamp:output plugbase:nnls_chroma_output_basschroma ;
138 vamp:output plugbase:nnls_chroma_output_bothchroma ;
139 .
140 plugbase:nnls_chroma_param_preset a vamp:QuantizedParameter ;
141 vamp:identifier "preset" ;
142 dc:title "preset" ;
143 dc:format "" ;
144 vamp:min_value 0 ;
145 vamp:max_value 3 ;
146 vamp:unit "" ;
147 vamp:quantize_step 1 ;
148 vamp:default_value 0 ;
149 vamp:value_names ( "polyphonic pop" "polyphonic pop (fast)" "solo keyboard" "manual");
150 .
151 plugbase:nnls_chroma_param_rollon a vamp:Parameter ;
152 vamp:identifier "rollon" ;
153 dc:title "spectral roll-on" ;
154 dc:format "" ;
155 vamp:min_value 0 ;
156 vamp:max_value 1 ;
157 vamp:unit "" ;
158 vamp:default_value 0 ;
159 vamp:value_names ();
160 .
161 plugbase:nnls_chroma_param_tuningmode a vamp:QuantizedParameter ;
162 vamp:identifier "tuningmode" ;
163 dc:title "tuning mode" ;
164 dc:format "" ;
165 vamp:min_value 0 ;
166 vamp:max_value 1 ;
167 vamp:unit "" ;
168 vamp:quantize_step 1 ;
169 vamp:default_value 0 ;
170 vamp:value_names ( "global tuning" "local tuning");
171 .
172 plugbase:nnls_chroma_param_chromanormalize a vamp:QuantizedParameter ;
173 vamp:identifier "chromanormalize" ;
174 dc:title "chroma normalization" ;
175 dc:format "" ;
176 vamp:min_value 0 ;
177 vamp:max_value 3 ;
178 vamp:unit "" ;
179 vamp:quantize_step 1 ;
180 vamp:default_value 0 ;
181 vamp:value_names ( "none" "maximum norm" "L1 norm" "L2 norm");
182 .
183 plugbase:nnls_chroma_output_logfreqspec a vamp:DenseOutput ;
184 vamp:identifier "logfreqspec" ;
185 dc:title "Log-Frequency Spectrum" ;
186 dc:description """A Log-Frequency Spectrum (constant Q) that is obtained by cosine filter mapping.""" ;
187 vamp:fixed_bin_count "true" ;
188 vamp:unit "" ;
189 vamp:bin_count 256 ;
190 # vamp:computes_event_type <Place event type URI here and uncomment> ;
191 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
192 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
193 .
194 plugbase:nnls_chroma_output_tunedlogfreqspec a vamp:DenseOutput ;
195 vamp:identifier "tunedlogfreqspec" ;
196 dc:title "Tuned Log-Frequency Spectrum" ;
197 dc:description """A Log-Frequency Spectrum (constant Q) that is obtained by cosine filter mapping, then its tuned using the estimated tuning frequency.""" ;
198 vamp:fixed_bin_count "true" ;
199 vamp:unit "" ;
200 vamp:bin_count 256 ;
201 # vamp:computes_event_type <Place event type URI here and uncomment> ;
202 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
203 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
204 .
205 plugbase:nnls_chroma_output_semitonespectrum a vamp:DenseOutput ;
206 vamp:identifier "semitonespectrum" ;
207 dc:title "Semitone Spectrum" ;
208 dc:description """A semitone-spaced log-frequency spectrum derived from the third-of-a-semitone-spaced tuned log-frequency spectrum.""" ;
209 vamp:fixed_bin_count "true" ;
210 vamp:unit "" ;
211 vamp:bin_count 84 ;
212 # vamp:computes_event_type <Place event type URI here and uncomment> ;
213 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
214 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
215 .
216 plugbase:nnls_chroma_output_chroma a vamp:DenseOutput ;
217 vamp:identifier "chroma" ;
218 dc:title "Chromagram" ;
219 dc:description """Tuning-adjusted chromagram from NNLS soft transcription, with an emphasis on the medium note range.""" ;
220 vamp:fixed_bin_count "true" ;
221 vamp:unit "" ;
222 vamp:bin_count 12 ;
223 vamp:bin_names ( "A (bass)" "Bb (bass)" "B (bass)" "C (bass)" "C# (bass)" "D (bass)" "Eb (bass)" "E (bass)" "F (bass)" "F# (bass)" "G (bass)" "Ab (bass)");
224 # vamp:computes_event_type <Place event type URI here and uncomment> ;
225 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
226 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
227 .
228 plugbase:nnls_chroma_output_basschroma a vamp:DenseOutput ;
229 vamp:identifier "basschroma" ;
230 dc:title "Bass Chromagram" ;
231 dc:description """Tuning-adjusted bass chromagram from NNLS soft transcription, with an emphasis on the bass note range.""" ;
232 vamp:fixed_bin_count "true" ;
233 vamp:unit "" ;
234 vamp:bin_count 12 ;
235 vamp:bin_names ( "A (bass)" "Bb (bass)" "B (bass)" "C (bass)" "C# (bass)" "D (bass)" "Eb (bass)" "E (bass)" "F (bass)" "F# (bass)" "G (bass)" "Ab (bass)");
236 # vamp:computes_event_type <Place event type URI here and uncomment> ;
237 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
238 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
239 .
240 plugbase:nnls_chroma_output_bothchroma a vamp:DenseOutput ;
241 vamp:identifier "bothchroma" ;
242 dc:title "Chromagram and Bass Chromagram" ;
243 dc:description """Tuning-adjusted chromagram and bass chromagram (stacked on top of each other) from NNLS soft transcription.""" ;
244 vamp:fixed_bin_count "true" ;
245 vamp:unit "" ;
246 vamp:bin_count 24 ;
247 vamp:bin_names ( "A (bass)" "Bb (bass)" "B (bass)" "C (bass)" "C# (bass)" "D (bass)" "Eb (bass)" "E (bass)" "F (bass)" "F# (bass)" "G (bass)" "Ab (bass)" "A" "Bb" "B" "C" "C#" "D" "Eb" "E" "F" "F#" "G" "Ab");
248 # vamp:computes_event_type <Place event type URI here and uncomment> ;
249 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
250 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
251 .
252 plugbase:tuning a vamp:Plugin ;
253 dc:title "Tuning" ;
254 vamp:name "Tuning" ;
255 dc:description """This plugin provides a number of features derived from a log-frequency amplitude spectrum of the DFT: some variants of the log-frequency spectrum, including a semitone spectrum derived from approximate transcription using the NNLS algorithm; based on this semitone spectrum, chroma features and a simple chord estimate.""" ;
256 foaf:maker [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
257 dc:rights """GPL""" ;
258 # cc:license <Place plugin license URI here and uncomment> ;
259 vamp:identifier "tuning" ;
260 vamp:vamp_API_version vamp:api_version_2 ;
261 owl:versionInfo "1" ;
262 vamp:input_domain vamp:FrequencyDomain ;
263
264
265 vamp:parameter plugbase:tuning_param_preset ;
266 vamp:parameter plugbase:tuning_param_rollon ;
267 vamp:parameter plugbase:tuning_param_tuningmode ;
268 vamp:parameter plugbase:tuning_param_chromanormalize ;
269
270 vamp:output plugbase:tuning_output_tuning ;
271 vamp:output plugbase:tuning_output_localtuning ;
272 .
273 plugbase:tuning_param_preset a vamp:QuantizedParameter ;
274 vamp:identifier "preset" ;
275 dc:title "preset" ;
276 dc:format "" ;
277 vamp:min_value 0 ;
278 vamp:max_value 3 ;
279 vamp:unit "" ;
280 vamp:quantize_step 1 ;
281 vamp:default_value 0 ;
282 vamp:value_names ( "polyphonic pop" "polyphonic pop (fast)" "solo keyboard" "manual");
283 .
284 plugbase:tuning_param_rollon a vamp:Parameter ;
285 vamp:identifier "rollon" ;
286 dc:title "spectral roll-on" ;
287 dc:format "" ;
288 vamp:min_value 0 ;
289 vamp:max_value 1 ;
290 vamp:unit "" ;
291 vamp:default_value 0 ;
292 vamp:value_names ();
293 .
294 plugbase:tuning_param_tuningmode a vamp:QuantizedParameter ;
295 vamp:identifier "tuningmode" ;
296 dc:title "tuning mode" ;
297 dc:format "" ;
298 vamp:min_value 0 ;
299 vamp:max_value 1 ;
300 vamp:unit "" ;
301 vamp:quantize_step 1 ;
302 vamp:default_value 0 ;
303 vamp:value_names ( "global tuning" "local tuning");
304 .
305 plugbase:tuning_param_chromanormalize a vamp:QuantizedParameter ;
306 vamp:identifier "chromanormalize" ;
307 dc:title "chroma normalization" ;
308 dc:format "" ;
309 vamp:min_value 0 ;
310 vamp:max_value 3 ;
311 vamp:unit "" ;
312 vamp:quantize_step 1 ;
313 vamp:default_value 0 ;
314 vamp:value_names ( "none" "maximum norm" "L1 norm" "L2 norm");
315 .
316 plugbase:tuning_output_tuning a vamp:SparseOutput ;
317 vamp:identifier "tuning" ;
318 dc:title "Tuning" ;
319 dc:description """The concert pitch.""" ;
320 vamp:fixed_bin_count "true" ;
321 vamp:unit "Hz" ;
322 a vamp:KnownExtentsOutput ;
323 vamp:min_value 427.47 ;
324 vamp:max_value 452.89 ;
325 vamp:bin_count 0 ;
326 vamp:sample_type vamp:VariableSampleRate ;
327 vamp:sample_rate 9.06382e-30 ;
328 # vamp:computes_event_type <Place event type URI here and uncomment> ;
329 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
330 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
331 .
332 plugbase:tuning_output_localtuning a vamp:DenseOutput ;
333 vamp:identifier "localtuning" ;
334 dc:title "Local Tuning" ;
335 dc:description """Tuning based on the history up to this timestamp.""" ;
336 vamp:fixed_bin_count "true" ;
337 vamp:unit "Hz" ;
338 a vamp:KnownExtentsOutput ;
339 vamp:min_value 427.47 ;
340 vamp:max_value 452.89 ;
341 vamp:bin_count 1 ;
342 # vamp:computes_event_type <Place event type URI here and uncomment> ;
343 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
344 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
345 .
346