Mercurial > hg > sv-dependency-builds
comparison src/vamp-plugin-sdk-2.4/examples/vamp-example-plugins.n3 @ 12:b7bda433d832
Add Vamp SDK source
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 15:58:35 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
11:4d14605afe75 | 12:b7bda433d832 |
---|---|
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-example-plugins#> . | |
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-example-plugins> . | |
15 | |
16 :vamp-example-plugins a vamp:PluginLibrary ; | |
17 vamp:identifier "vamp-example-plugins" ; | |
18 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html> ; | |
19 vamp:available_plugin plugbase:amplitudefollower ; | |
20 vamp:available_plugin plugbase:fixedtempo ; | |
21 vamp:available_plugin plugbase:percussiononsets ; | |
22 vamp:available_plugin plugbase:powerspectrum ; | |
23 vamp:available_plugin plugbase:spectralcentroid ; | |
24 vamp:available_plugin plugbase:zerocrossing ; | |
25 . | |
26 | |
27 plugbase:amplitudefollower a vamp:Plugin ; | |
28 dc:title "Amplitude Follower" ; | |
29 vamp:name "Amplitude Follower" ; | |
30 dc:description "Track the amplitude of the audio signal" ; | |
31 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html#amplitudefollower> ; | |
32 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; | |
33 cc:license <http://creativecommons.org/licenses/BSD/> ; | |
34 dc:rights "Freely redistributable (BSD license)" ; | |
35 vamp:identifier "amplitudefollower" ; | |
36 vamp:vamp_API_version vamp:api_version_2 ; | |
37 owl:versionInfo "1" ; | |
38 vamp:input_domain vamp:TimeDomain ; | |
39 | |
40 vamp:parameter plugbase:amplitudefollower_param_attack ; | |
41 vamp:parameter plugbase:amplitudefollower_param_release ; | |
42 | |
43 vamp:output plugbase:amplitudefollower_output_amplitude ; | |
44 . | |
45 plugbase:amplitudefollower_param_attack a vamp:Parameter ; | |
46 vamp:identifier "attack" ; | |
47 dc:title "Attack time" ; | |
48 dc:format "s" ; | |
49 vamp:min_value 0 ; | |
50 vamp:max_value 1 ; | |
51 vamp:unit "s" ; | |
52 vamp:default_value 0.01 ; | |
53 vamp:value_names (); | |
54 . | |
55 plugbase:amplitudefollower_param_release a vamp:Parameter ; | |
56 vamp:identifier "release" ; | |
57 dc:title "Release time" ; | |
58 dc:format "s" ; | |
59 vamp:min_value 0 ; | |
60 vamp:max_value 1 ; | |
61 vamp:unit "s" ; | |
62 vamp:default_value 0.01 ; | |
63 vamp:value_names (); | |
64 . | |
65 plugbase:amplitudefollower_output_amplitude a vamp:DenseOutput ; | |
66 vamp:identifier "amplitude" ; | |
67 dc:title "Amplitude" ; | |
68 dc:description "" ; | |
69 vamp:fixed_bin_count "true" ; | |
70 vamp:unit "V" ; | |
71 vamp:bin_count 1 ; | |
72 vamp:bin_names ( ""); | |
73 vamp:computes_signal_type af:Signal ; | |
74 . | |
75 plugbase:fixedtempo a vamp:Plugin ; | |
76 dc:title "Simple Fixed Tempo Estimator" ; | |
77 vamp:name "Simple Fixed Tempo Estimator" ; | |
78 dc:description "Study a short section of audio and estimate its tempo, assuming the tempo is constant" ; | |
79 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html#fixedtempo> ; | |
80 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; | |
81 cc:license <http://creativecommons.org/licenses/BSD/> ; | |
82 dc:rights "Freely redistributable (BSD license)" ; | |
83 vamp:identifier "fixedtempo" ; | |
84 vamp:vamp_API_version vamp:api_version_2 ; | |
85 owl:versionInfo "1" ; | |
86 vamp:input_domain vamp:FrequencyDomain ; | |
87 | |
88 vamp:output plugbase:fixedtempo_output_tempo ; | |
89 vamp:output plugbase:fixedtempo_output_candidates ; | |
90 vamp:output plugbase:fixedtempo_output_detectionfunction ; | |
91 vamp:output plugbase:fixedtempo_output_acf ; | |
92 vamp:output plugbase:fixedtempo_output_filtered_acf ; | |
93 . | |
94 plugbase:fixedtempo_output_tempo a vamp:SparseOutput ; | |
95 vamp:identifier "tempo" ; | |
96 dc:title "Tempo" ; | |
97 dc:description "Estimated tempo" ; | |
98 vamp:fixed_bin_count "true" ; | |
99 vamp:unit "bpm" ; | |
100 vamp:bin_count 1 ; | |
101 vamp:bin_names ( ""); | |
102 vamp:sample_type vamp:VariableSampleRate ; | |
103 vamp:computes_event_type af:Tempo ; | |
104 . | |
105 plugbase:fixedtempo_output_candidates a vamp:SparseOutput ; | |
106 vamp:identifier "candidates" ; | |
107 dc:title "Tempo candidates" ; | |
108 dc:description "Possible tempo estimates, one per bin with the most likely in the first bin" ; | |
109 vamp:fixed_bin_count "false" ; | |
110 vamp:unit "bpm" ; | |
111 vamp:sample_type vamp:VariableSampleRate ; | |
112 vamp:computes_event_type af:Tempo ; | |
113 . | |
114 plugbase:fixedtempo_output_detectionfunction a vamp:DenseOutput ; | |
115 vamp:identifier "detectionfunction" ; | |
116 dc:title "Detection Function" ; | |
117 dc:description "Onset detection function" ; | |
118 vamp:fixed_bin_count "true" ; | |
119 vamp:unit "" ; | |
120 a vamp:KnownExtentsOutput ; | |
121 vamp:min_value 0 ; | |
122 vamp:max_value 1 ; | |
123 vamp:bin_count 1 ; | |
124 vamp:bin_names ( ""); | |
125 vamp:computes_signal_type af:OnsetDetectionFunction ; | |
126 . | |
127 plugbase:fixedtempo_output_acf a vamp:DenseOutput ; | |
128 vamp:identifier "acf" ; | |
129 dc:title "Autocorrelation Function" ; | |
130 dc:description "Autocorrelation of onset detection function" ; | |
131 vamp:fixed_bin_count "true" ; | |
132 vamp:unit "r" ; | |
133 vamp:bin_count 1 ; | |
134 vamp:bin_names ( ""); | |
135 vamp:computes_signal_type af:Signal ; | |
136 . | |
137 plugbase:fixedtempo_output_filtered_acf a vamp:DenseOutput ; | |
138 vamp:identifier "filtered_acf" ; | |
139 dc:title "Filtered Autocorrelation" ; | |
140 dc:description "Filtered autocorrelation of onset detection function" ; | |
141 vamp:fixed_bin_count "true" ; | |
142 vamp:unit "r" ; | |
143 vamp:bin_count 1 ; | |
144 vamp:bin_names ( ""); | |
145 vamp:computes_signal_type af:Signal ; | |
146 . | |
147 plugbase:percussiononsets a vamp:Plugin ; | |
148 dc:title "Simple Percussion Onset Detector" ; | |
149 vamp:name "Simple Percussion Onset Detector" ; | |
150 dc:description "Detect percussive note onsets by identifying broadband energy rises" ; | |
151 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html#percussiononsets> ; | |
152 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; | |
153 cc:license <http://creativecommons.org/licenses/BSD/> ; | |
154 dc:rights "Freely redistributable (BSD license)" ; | |
155 vamp:identifier "percussiononsets" ; | |
156 vamp:vamp_API_version vamp:api_version_2 ; | |
157 owl:versionInfo "2" ; | |
158 vamp:input_domain vamp:FrequencyDomain ; | |
159 | |
160 vamp:parameter plugbase:percussiononsets_param_threshold ; | |
161 vamp:parameter plugbase:percussiononsets_param_sensitivity ; | |
162 | |
163 vamp:output plugbase:percussiononsets_output_onsets ; | |
164 vamp:output plugbase:percussiononsets_output_detectionfunction ; | |
165 . | |
166 plugbase:percussiononsets_param_threshold a vamp:Parameter ; | |
167 vamp:identifier "threshold" ; | |
168 dc:title "Energy rise threshold" ; | |
169 dc:format "dB" ; | |
170 vamp:min_value 0 ; | |
171 vamp:max_value 20 ; | |
172 vamp:unit "dB" ; | |
173 vamp:default_value 3 ; | |
174 vamp:value_names (); | |
175 . | |
176 plugbase:percussiononsets_param_sensitivity a vamp:Parameter ; | |
177 vamp:identifier "sensitivity" ; | |
178 dc:title "Sensitivity" ; | |
179 dc:format "%" ; | |
180 vamp:min_value 0 ; | |
181 vamp:max_value 100 ; | |
182 vamp:unit "%" ; | |
183 vamp:default_value 40 ; | |
184 vamp:value_names (); | |
185 . | |
186 plugbase:percussiononsets_output_onsets a vamp:SparseOutput ; | |
187 vamp:identifier "onsets" ; | |
188 dc:title "Onsets" ; | |
189 dc:description "Percussive note onset locations" ; | |
190 vamp:fixed_bin_count "true" ; | |
191 vamp:unit "" ; | |
192 vamp:bin_count 0 ; | |
193 vamp:bin_names (); | |
194 vamp:sample_type vamp:VariableSampleRate ; | |
195 vamp:computes_event_type af:Onset ; | |
196 . | |
197 plugbase:percussiononsets_output_detectionfunction a vamp:DenseOutput ; | |
198 vamp:identifier "detectionfunction" ; | |
199 dc:title "Detection Function" ; | |
200 dc:description "Broadband energy rise detection function" ; | |
201 vamp:fixed_bin_count "true" ; | |
202 vamp:unit "" ; | |
203 a vamp:QuantizedOutput ; | |
204 vamp:quantize_step 1 ; | |
205 vamp:bin_count 1 ; | |
206 vamp:bin_names ( ""); | |
207 vamp:computes_signal_type af:OnsetDetectionFunction ; | |
208 . | |
209 plugbase:powerspectrum a vamp:Plugin ; | |
210 dc:title "Simple Power Spectrum" ; | |
211 vamp:name "Simple Power Spectrum" ; | |
212 dc:description "Return the power spectrum of a signal" ; | |
213 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html#powerspectrum> ; | |
214 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; | |
215 cc:license <http://creativecommons.org/licenses/BSD/> ; | |
216 dc:rights "Freely redistributable (BSD license)" ; | |
217 vamp:identifier "powerspectrum" ; | |
218 vamp:vamp_API_version vamp:api_version_2 ; | |
219 owl:versionInfo "1" ; | |
220 vamp:input_domain vamp:FrequencyDomain ; | |
221 | |
222 vamp:output plugbase:powerspectrum_output_powerspectrum ; | |
223 . | |
224 plugbase:powerspectrum_output_powerspectrum a vamp:DenseOutput ; | |
225 vamp:identifier "powerspectrum" ; | |
226 dc:title "Power Spectrum" ; | |
227 dc:description "Power values of the frequency spectrum bins calculated from the input signal" ; | |
228 vamp:computes_signal_type af:Signal ; | |
229 . | |
230 plugbase:spectralcentroid a vamp:Plugin ; | |
231 dc:title "Spectral Centroid" ; | |
232 vamp:name "Spectral Centroid" ; | |
233 dc:description "Calculate the centroid frequency of the spectrum of the input signal" ; | |
234 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html#spectralcentroid> ; | |
235 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; | |
236 cc:license <http://creativecommons.org/licenses/BSD/> ; | |
237 dc:rights "Freely redistributable (BSD license)" ; | |
238 vamp:identifier "spectralcentroid" ; | |
239 vamp:vamp_API_version vamp:api_version_2 ; | |
240 owl:versionInfo "2" ; | |
241 vamp:input_domain vamp:FrequencyDomain ; | |
242 | |
243 vamp:output plugbase:spectralcentroid_output_logcentroid ; | |
244 vamp:output plugbase:spectralcentroid_output_linearcentroid ; | |
245 . | |
246 plugbase:spectralcentroid_output_logcentroid a vamp:DenseOutput ; | |
247 vamp:identifier "logcentroid" ; | |
248 dc:title "Log Frequency Centroid" ; | |
249 dc:description "Centroid of the log weighted frequency spectrum" ; | |
250 vamp:fixed_bin_count "true" ; | |
251 vamp:unit "Hz" ; | |
252 vamp:bin_count 1 ; | |
253 vamp:bin_names ( ""); | |
254 vamp:computes_signal_type af:LogFrequencyCentroid ; | |
255 . | |
256 plugbase:spectralcentroid_output_linearcentroid a vamp:DenseOutput ; | |
257 vamp:identifier "linearcentroid" ; | |
258 dc:title "Linear Frequency Centroid" ; | |
259 dc:description "Centroid of the linear frequency spectrum" ; | |
260 vamp:fixed_bin_count "true" ; | |
261 vamp:unit "Hz" ; | |
262 vamp:bin_count 1 ; | |
263 vamp:bin_names ( ""); | |
264 vamp:computes_signal_type af:LinearFrequencyCentroid ; | |
265 . | |
266 plugbase:zerocrossing a vamp:Plugin ; | |
267 dc:title "Zero Crossings" ; | |
268 vamp:name "Zero Crossings" ; | |
269 dc:description "Detect and count zero crossing points" ; | |
270 foaf:page <http://www.vamp-plugins.org/plugin-doc/vamp-example-plugins.html#zerocrossing> ; | |
271 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; | |
272 cc:license <http://creativecommons.org/licenses/BSD/> ; | |
273 dc:rights "Freely redistributable (BSD license)" ; | |
274 vamp:identifier "zerocrossing" ; | |
275 vamp:vamp_API_version vamp:api_version_2 ; | |
276 owl:versionInfo "2" ; | |
277 vamp:input_domain vamp:TimeDomain ; | |
278 vamp:output plugbase:zerocrossing_output_counts ; | |
279 vamp:output plugbase:zerocrossing_output_zerocrossings ; | |
280 . | |
281 plugbase:zerocrossing_output_counts a vamp:DenseOutput ; | |
282 vamp:identifier "counts" ; | |
283 dc:title "Zero Crossing Counts" ; | |
284 dc:description "The number of zero crossing points per processing block" ; | |
285 vamp:fixed_bin_count "true" ; | |
286 vamp:unit "crossings" ; | |
287 a vamp:QuantizedOutput ; | |
288 vamp:quantize_step 1 ; | |
289 vamp:bin_count 1 ; | |
290 vamp:bin_names ( ""); | |
291 vamp:computes_signal_type af:ZeroCrossingCount ; | |
292 . | |
293 plugbase:zerocrossing_output_zerocrossings a vamp:SparseOutput ; | |
294 vamp:identifier "zerocrossings" ; | |
295 dc:title "Zero Crossings" ; | |
296 dc:description "The locations of zero crossing points" ; | |
297 vamp:fixed_bin_count "true" ; | |
298 vamp:unit "" ; | |
299 a vamp:QuantizedOutput ; | |
300 vamp:quantize_step 1 ; | |
301 vamp:bin_count 0 ; | |
302 vamp:bin_names (); | |
303 vamp:sample_type vamp:VariableSampleRate ; | |
304 vamp:computes_event_type af:ZeroCrossing ; | |
305 . | |
306 |