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