annotate examples/vamp-example-plugins.n3 @ 286:91574fc544db

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