annotate examples/vamp-example-plugins.n3 @ 223:2a57bd3eee76

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