annotate examples/vamp-example-plugins.n3 @ 235:44d9d9afe294 trunk-pre-20081107

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