-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmatch-vamp-plugin.n3
343 lines (335 loc) · 14.1 KB
/
match-vamp-plugin.n3
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix vamp: <http://purl.org/ontology/vamp/> .
@prefix plugbase: <http://vamp-plugins.org/rdf/plugins/match-vamp-plugin#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix af: <http://purl.org/ontology/af/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix cc: <http://web.resource.org/cc/> .
@prefix : <#> .
<> a vamp:PluginDescription ;
foaf:maker <http://vamp-plugins.org/rdf/template-generator> ;
foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/match-vamp-plugin> .
:library_maker
foaf:name "Simon Dixon and Chris Cannam" ;
foaf:logo <http://vamp-plugins.org/rdf/plugins/makers/qm.png> ;
foaf:page <http://c4dm.eecs.qmul.ac.uk/> ;
.
plugbase:library a vamp:PluginLibrary ;
vamp:identifier "match-vamp-plugin" ;
dc:title "MATCH Vamp Plugin" ;
dc:description """Vamp implementation of the MATCH audio alignment algorithm from Simon Dixon. Sonic Visualiser can use this for automatic time alignment among multiple audio files.""" ;
vamp:available_plugin plugbase:match ;
foaf:maker :library_maker ;
foaf:page <http://code.soundsoftware.ac.uk/projects/match-vamp> ;
.
plugbase:match a vamp:Plugin ;
dc:title "Match Performance Aligner" ;
vamp:name "Match Performance Aligner" ;
dc:description """Calculate alignment between two performances in separate channel inputs""" ;
foaf:maker :library_maker ;
dc:rights """GPL""" ;
# cc:license <Place plugin license URI here and uncomment> ;
vamp:identifier "match" ;
vamp:vamp_API_version vamp:api_version_2 ;
owl:versionInfo "3" ;
vamp:input_domain vamp:FrequencyDomain ;
vamp:parameter plugbase:match_param_freq1 ;
vamp:parameter plugbase:match_param_freq2 ;
vamp:parameter plugbase:match_param_usechroma ;
vamp:parameter plugbase:match_param_usespecdiff ;
vamp:parameter plugbase:match_param_framenorm ;
vamp:parameter plugbase:match_param_metric ;
vamp:parameter plugbase:match_param_distnorm ;
vamp:parameter plugbase:match_param_silencethreshold ;
vamp:parameter plugbase:match_param_noise ;
vamp:parameter plugbase:match_param_gradientlimit ;
vamp:parameter plugbase:match_param_zonewidth ;
vamp:parameter plugbase:match_param_diagonalweight ;
vamp:parameter plugbase:match_param_smooth ;
vamp:parameter plugbase:match_param_serialise ;
vamp:output plugbase:match_output_path ;
vamp:output plugbase:match_output_a_b ;
vamp:output plugbase:match_output_b_a ;
vamp:output plugbase:match_output_a_b_divergence ;
vamp:output plugbase:match_output_a_b_temporatio ;
vamp:output plugbase:match_output_a_features ;
vamp:output plugbase:match_output_b_features ;
vamp:output plugbase:match_output_a_cfeatures ;
vamp:output plugbase:match_output_b_cfeatures ;
vamp:output plugbase:match_output_overall_cost ;
.
plugbase:match_param_freq1 a vamp:Parameter ;
vamp:identifier "freq1" ;
dc:title "Tuning frequency of first input" ;
dc:format "Hz" ;
vamp:min_value 220 ;
vamp:max_value 880 ;
vamp:unit "Hz" ;
vamp:default_value 440 ;
vamp:value_names ();
.
plugbase:match_param_freq2 a vamp:Parameter ;
vamp:identifier "freq2" ;
dc:title "Tuning frequency of second input" ;
dc:format "Hz" ;
vamp:min_value 220 ;
vamp:max_value 880 ;
vamp:unit "Hz" ;
vamp:default_value 440 ;
vamp:value_names ();
.
plugbase:match_param_usechroma a vamp:QuantizedParameter ;
vamp:identifier "usechroma" ;
dc:title "Feature type" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 1 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 0 ;
vamp:value_names ( "Spectral" "Chroma");
.
plugbase:match_param_usespecdiff a vamp:QuantizedParameter ;
vamp:identifier "usespecdiff" ;
dc:title "Use feature difference" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 1 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 1 ;
vamp:value_names ();
.
plugbase:match_param_framenorm a vamp:QuantizedParameter ;
vamp:identifier "framenorm" ;
dc:title "Frame normalisation" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 2 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 1 ;
vamp:value_names ( "None" "Sum to 1" "Long-term average");
.
plugbase:match_param_metric a vamp:QuantizedParameter ;
vamp:identifier "metric" ;
dc:title "Distance metric" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 2 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 0 ;
vamp:value_names ( "Manhattan" "Euclidean" "Cosine");
.
plugbase:match_param_distnorm a vamp:QuantizedParameter ;
vamp:identifier "distnorm" ;
dc:title "Distance normalisation" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 2 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 2 ;
vamp:value_names ( "None" "Sum of frames" "Log sum of frames");
.
plugbase:match_param_silencethreshold a vamp:Parameter ;
vamp:identifier "silencethreshold" ;
dc:title "Silence threshold" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 0.1 ;
vamp:unit "" ;
vamp:default_value 0.01 ;
vamp:value_names ();
.
plugbase:match_param_noise a vamp:QuantizedParameter ;
vamp:identifier "noise" ;
dc:title "Add noise" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 1 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 1 ;
vamp:value_names ();
.
plugbase:match_param_gradientlimit a vamp:QuantizedParameter ;
vamp:identifier "gradientlimit" ;
dc:title "Gradient limit" ;
dc:format "" ;
vamp:min_value 1 ;
vamp:max_value 10 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 3 ;
vamp:value_names ();
.
plugbase:match_param_zonewidth a vamp:QuantizedParameter ;
vamp:identifier "zonewidth" ;
dc:title "Search zone width" ;
dc:format "s" ;
vamp:min_value 1 ;
vamp:max_value 60 ;
vamp:unit "s" ;
vamp:quantize_step 1 ;
vamp:default_value 10 ;
vamp:value_names ();
.
plugbase:match_param_diagonalweight a vamp:Parameter ;
vamp:identifier "diagonalweight" ;
dc:title "Diagonal weight" ;
dc:format "" ;
vamp:min_value 1 ;
vamp:max_value 2 ;
vamp:unit "" ;
vamp:default_value 2 ;
vamp:value_names ();
.
plugbase:match_param_smooth a vamp:QuantizedParameter ;
vamp:identifier "smooth" ;
dc:title "Use path smoothing" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 1 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 0 ;
vamp:value_names ();
.
plugbase:match_param_serialise a vamp:QuantizedParameter ;
vamp:identifier "serialise" ;
dc:title "Serialise plugin invocations" ;
dc:format "" ;
vamp:min_value 0 ;
vamp:max_value 1 ;
vamp:unit "" ;
vamp:quantize_step 1 ;
vamp:default_value 0 ;
vamp:value_names ();
.
plugbase:match_output_path a vamp:SparseOutput ;
vamp:identifier "path" ;
dc:title "Path" ;
dc:description """Alignment path""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
a vamp:QuantizedOutput ;
vamp:quantize_step 1 ;
vamp:bin_count 1 ;
vamp:sample_type vamp:VariableSampleRate ;
vamp:sample_rate 50 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_a_b a vamp:SparseOutput ;
vamp:identifier "a_b" ;
dc:title "A-B Timeline" ;
dc:description """Timing in performance B corresponding to moments in performance A""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "sec" ;
vamp:bin_count 1 ;
vamp:sample_type vamp:VariableSampleRate ;
vamp:sample_rate 50 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_b_a a vamp:SparseOutput ;
vamp:identifier "b_a" ;
dc:title "B-A Timeline" ;
dc:description """Timing in performance A corresponding to moments in performance B""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "sec" ;
vamp:bin_count 1 ;
vamp:sample_type vamp:VariableSampleRate ;
vamp:sample_rate 50 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_a_b_divergence a vamp:SparseOutput ;
vamp:identifier "a_b_divergence" ;
dc:title "A-B Divergence" ;
dc:description """Difference between timings in performances A and B""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "sec" ;
vamp:bin_count 1 ;
vamp:sample_type vamp:VariableSampleRate ;
vamp:sample_rate 50 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_a_b_temporatio a vamp:SparseOutput ;
vamp:identifier "a_b_temporatio" ;
dc:title "A-B Tempo Ratio" ;
dc:description """Ratio of tempi between performances A and B""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
vamp:bin_count 1 ;
vamp:sample_type vamp:VariableSampleRate ;
vamp:sample_rate 50 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_a_features a vamp:DenseOutput ;
vamp:identifier "a_features" ;
dc:title "Raw A Features" ;
dc:description """Spectral features extracted from performance A""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
vamp:bin_count 84 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_b_features a vamp:DenseOutput ;
vamp:identifier "b_features" ;
dc:title "Raw B Features" ;
dc:description """Spectral features extracted from performance B""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
vamp:bin_count 84 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_a_cfeatures a vamp:DenseOutput ;
vamp:identifier "a_cfeatures" ;
dc:title "Conditioned A Features" ;
dc:description """Spectral features extracted from performance A, after normalisation and conditioning""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
vamp:bin_count 84 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_b_cfeatures a vamp:DenseOutput ;
vamp:identifier "b_cfeatures" ;
dc:title "Conditioned B Features" ;
dc:description """Spectral features extracted from performance B, after norrmalisation and conditioning""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
vamp:bin_count 84 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.
plugbase:match_output_overall_cost a vamp:DenseOutput ;
vamp:identifier "overall_cost" ;
dc:title "Overall Cost" ;
dc:description """Normalised overall path cost for the cheapest path""" ;
vamp:fixed_bin_count "true" ;
vamp:unit "" ;
vamp:bin_count 1 ;
# vamp:computes_event_type <Place event type URI here and uncomment> ;
# vamp:computes_feature <Place feature attribute URI here and uncomment> ;
# vamp:computes_signal_type <Place signal type URI here and uncomment> ;
.