annotate Example VamPy plugins/examples.n3 @ 106:76badb3a0bb3 vampy-2.1

Add mechanism to build a "standard" Linux .so using Docker
author Chris Cannam
date Tue, 05 Feb 2019 12:48:59 +0000
parents f5b8646494d2
children
rev   line source
Chris@69 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Chris@69 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Chris@69 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
Chris@69 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/vampy#> .
Chris@69 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
Chris@69 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@69 7 @prefix af: <http://purl.org/ontology/af/> .
Chris@69 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@69 9 @prefix doap: <http://usefulinc.com/ns/doap#> .
Chris@69 10 @prefix cc: <http://web.resource.org/cc/> .
Chris@69 11 @prefix : <#> .
Chris@69 12
Chris@69 13
Chris@69 14 ## Properties of this document
Chris@69 15
Chris@69 16 <> a vamp:PluginDescription ;
Chris@69 17 foaf:maker <http://vamp-plugins.org/rdf/template-generator> ;
Chris@69 18 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/vampy> .
Chris@69 19
Chris@69 20
Chris@69 21 ## Maker of the whole plugin library
Chris@69 22
Chris@69 23 :library_maker
Chris@69 24 foaf:name "Vampy Example Plugins" ;
Chris@69 25 # foaf:page <> ; # Place maker's homepage URL in here and uncomment
Chris@69 26 # foaf:logo <> ; # URL of an image here, if you happen to have a logo
Chris@69 27 .
Chris@69 28
Chris@69 29
Chris@69 30 ## Properties of the plugin library, and references to the plugins it contains
Chris@69 31
Chris@69 32 plugbase:library a vamp:PluginLibrary ;
Chris@69 33 vamp:identifier "vampy" ;
Chris@69 34 foaf:maker :library_maker ;
Chris@69 35 vamp:available_plugin plugbase:vampy-mfcc ;
Chris@69 36 vamp:available_plugin plugbase:vampy-sc3 ;
Chris@69 37 vamp:available_plugin plugbase:vampy-sf3 ;
Chris@69 38 vamp:available_plugin plugbase:vampy-zc2 ;
Chris@69 39 # dc:title "" ; # Place library name here and uncomment
Chris@69 40 # dc:description "" ; # Place library description here and uncomment
Chris@69 41 # foaf:page <> ; # Place more-info HTML page URL here and uncomment
Chris@69 42 # doap:download-page <> ; # Place download HTML page URL here and uncomment
Chris@69 43 .
Chris@69 44
Chris@69 45
Chris@69 46 ## Properties of the Vampy MFCC Plugin plugin
Chris@69 47
Chris@69 48 plugbase:vampy-mfcc a vamp:Plugin ;
Chris@69 49 dc:title "Vampy MFCC Plugin" ;
Chris@69 50 vamp:name "Vampy MFCC Plugin" ;
Chris@69 51 dc:description """A simple MFCC plugin""" ;
Chris@69 52 foaf:maker :library_maker ;
Chris@69 53 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
Chris@69 54 # cc:license <Place plugin license URI here and uncomment> ;
Chris@69 55 vamp:identifier "vampy-mfcc" ;
Chris@69 56 vamp:vamp_API_version vamp:api_version_2 ;
Chris@69 57 owl:versionInfo "2" ;
Chris@69 58 vamp:input_domain vamp:FrequencyDomain ;
Chris@69 59
Chris@69 60 vamp:parameter plugbase:vampy-mfcc_param_melbands ;
Chris@69 61 vamp:parameter plugbase:vampy-mfcc_param_minHz ;
Chris@69 62 vamp:parameter plugbase:vampy-mfcc_param_maxHz ;
Chris@69 63 vamp:parameter plugbase:vampy-mfcc_param_cnull ;
Chris@69 64 vamp:parameter plugbase:vampy-mfcc_param_two_ch ;
Chris@69 65
Chris@69 66 vamp:output plugbase:vampy-mfcc_output_mfccs ;
Chris@69 67 vamp:output plugbase:vampy-mfcc_output_warped-fft ;
Chris@69 68 vamp:output plugbase:vampy-mfcc_output_mel-filter-matrix ;
Chris@69 69 .
Chris@69 70 plugbase:vampy-mfcc_param_melbands a vamp:QuantizedParameter ;
Chris@69 71 vamp:identifier "melbands" ;
Chris@69 72 dc:title "Number of bands (coefficients)" ;
Chris@69 73 dc:format "" ;
Chris@69 74 vamp:min_value 2 ;
Chris@69 75 vamp:max_value 128 ;
Chris@69 76 vamp:unit "" ;
Chris@69 77 vamp:quantize_step 1 ;
Chris@69 78 vamp:default_value 40 ;
Chris@69 79 vamp:value_names ();
Chris@69 80 .
Chris@69 81 plugbase:vampy-mfcc_param_minHz a vamp:QuantizedParameter ;
Chris@69 82 vamp:identifier "minHz" ;
Chris@69 83 dc:title "minimum frequency" ;
Chris@69 84 dc:format "Hz" ;
Chris@69 85 vamp:min_value 0 ;
Chris@69 86 vamp:max_value 24000 ;
Chris@69 87 vamp:unit "Hz" ;
Chris@69 88 vamp:quantize_step 1 ;
Chris@69 89 vamp:default_value 0 ;
Chris@69 90 vamp:value_names ();
Chris@69 91 .
Chris@69 92 plugbase:vampy-mfcc_param_maxHz a vamp:QuantizedParameter ;
Chris@69 93 vamp:identifier "maxHz" ;
Chris@69 94 dc:title "maximum frequency" ;
Chris@69 95 dc:format "Hz" ;
Chris@69 96 vamp:min_value 100 ;
Chris@69 97 vamp:max_value 24000 ;
Chris@69 98 vamp:unit "Hz" ;
Chris@69 99 vamp:quantize_step 100 ;
Chris@69 100 vamp:default_value 11025 ;
Chris@69 101 vamp:value_names ();
Chris@69 102 .
Chris@69 103 plugbase:vampy-mfcc_param_cnull a vamp:QuantizedParameter ;
Chris@69 104 vamp:identifier "cnull" ;
Chris@69 105 dc:title "Return C0" ;
Chris@69 106 dc:format "" ;
Chris@69 107 vamp:min_value 0 ;
Chris@69 108 vamp:max_value 1 ;
Chris@69 109 vamp:unit "" ;
Chris@69 110 vamp:quantize_step 1 ;
Chris@69 111 vamp:default_value 0 ;
Chris@69 112 vamp:value_names ();
Chris@69 113 .
Chris@69 114 plugbase:vampy-mfcc_param_two_ch a vamp:QuantizedParameter ;
Chris@69 115 vamp:identifier "two_ch" ;
Chris@69 116 dc:title "Process channels separately" ;
Chris@69 117 dc:format "" ;
Chris@69 118 vamp:min_value 0 ;
Chris@69 119 vamp:max_value 1 ;
Chris@69 120 vamp:unit "" ;
Chris@69 121 vamp:quantize_step 1 ;
Chris@69 122 vamp:default_value 0 ;
Chris@69 123 vamp:value_names ();
Chris@69 124 .
Chris@69 125 plugbase:vampy-mfcc_output_mfccs a vamp:DenseOutput ;
Chris@69 126 vamp:identifier "mfccs" ;
Chris@69 127 dc:title "MFCCs" ;
Chris@69 128 dc:description """MFCC Coefficients""" ;
Chris@69 129 vamp:fixed_bin_count "true" ;
Chris@69 130 vamp:unit "" ;
Chris@69 131 a vamp:QuantizedOutput ;
Chris@69 132 vamp:quantize_step -2.14949e+08 ;
Chris@69 133 vamp:bin_count 39 ;
Chris@69 134 vamp:bin_names ( "C 1" "C 2" "C 3" "C 4" "C 5" "C 6" "C 7" "C 8" "C 9" "C 10" "C 11" "C 12" "C 13" "C 14" "C 15" "C 16" "C 17" "C 18" "C 19" "C 20" "C 21" "C 22" "C 23" "C 24" "C 25" "C 26" "C 27" "C 28" "C 29" "C 30" "C 31" "C 32" "C 33" "C 34" "C 35" "C 36" "C 37" "C 38" "C 39");
Chris@69 135 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 136 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 137 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 138 .
Chris@69 139 plugbase:vampy-mfcc_output_warped-fft a vamp:DenseOutput ;
Chris@69 140 vamp:identifier "warped-fft" ;
Chris@69 141 dc:title "Mel Scaled Spectrum" ;
Chris@69 142 dc:description """Mel Scaled Magnitide Spectrum""" ;
Chris@69 143 vamp:fixed_bin_count "true" ;
Chris@69 144 vamp:unit "Mel" ;
Chris@69 145 a vamp:QuantizedOutput ;
Chris@69 146 vamp:quantize_step -2.14949e+08 ;
Chris@69 147 vamp:bin_count 40 ;
Chris@69 148 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 149 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 150 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 151 .
Chris@69 152 plugbase:vampy-mfcc_output_mel-filter-matrix a vamp:DenseOutput ;
Chris@69 153 vamp:identifier "mel-filter-matrix" ;
Chris@69 154 dc:title "Mel Filter Matrix" ;
Chris@69 155 dc:description """Returns the created filter matrix in getRemainingFeatures.""" ;
Chris@69 156 vamp:fixed_bin_count "true" ;
Chris@69 157 vamp:unit "" ;
Chris@69 158 a vamp:QuantizedOutput ;
Chris@69 159 vamp:quantize_step -2.14949e+08 ;
Chris@69 160 vamp:bin_count 39 ;
Chris@69 161 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 162 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 163 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 164 .
Chris@69 165
Chris@69 166 ## Properties of the Spectral Centroid (using legacy process interface) plugin
Chris@69 167
Chris@69 168 plugbase:vampy-sc3 a vamp:Plugin ;
Chris@69 169 dc:title "Spectral Centroid (using legacy process interface)" ;
Chris@69 170 vamp:name "Spectral Centroid (using legacy process interface)" ;
Chris@69 171 dc:description """Calculate the linear frequency centroid of the short-time Fourier spectrum""" ;
Chris@69 172 foaf:maker :library_maker ;
Chris@69 173 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
Chris@69 174 # cc:license <Place plugin license URI here and uncomment> ;
Chris@69 175 vamp:identifier "vampy-sc3" ;
Chris@69 176 vamp:vamp_API_version vamp:api_version_2 ;
Chris@69 177 owl:versionInfo "2" ;
Chris@69 178 vamp:input_domain vamp:FrequencyDomain ;
Chris@69 179
Chris@69 180 vamp:parameter plugbase:vampy-sc3_param_threshold ;
Chris@69 181
Chris@69 182 vamp:output plugbase:vampy-sc3_output_vampy-sc3 ;
Chris@69 183 .
Chris@69 184 plugbase:vampy-sc3_param_threshold a vamp:Parameter ;
Chris@69 185 vamp:identifier "threshold" ;
Chris@69 186 dc:title "Noise threshold" ;
Chris@69 187 dc:format "v" ;
Chris@69 188 vamp:min_value 0 ;
Chris@69 189 vamp:max_value 0.5 ;
Chris@69 190 vamp:unit "v" ;
Chris@69 191 vamp:default_value 0.05 ;
Chris@69 192 vamp:value_names ();
Chris@69 193 .
Chris@69 194 plugbase:vampy-sc3_output_vampy-sc3 a vamp:DenseOutput ;
Chris@69 195 vamp:identifier "vampy-sc3" ;
Chris@69 196 dc:title "Spectral Centroid" ;
Chris@69 197 dc:description """Spectral Centroid (Brightness)""" ;
Chris@69 198 vamp:fixed_bin_count "true" ;
Chris@69 199 vamp:unit "" ;
Chris@69 200 a vamp:QuantizedOutput ;
Chris@69 201 vamp:quantize_step 1 ;
Chris@69 202 vamp:bin_count 1 ;
Chris@69 203 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 204 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 205 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 206 .
Chris@69 207
Chris@69 208 ## Properties of the Vampy Spectral Features plugin
Chris@69 209
Chris@69 210 plugbase:vampy-sf3 a vamp:Plugin ;
Chris@69 211 dc:title "Vampy Spectral Features" ;
Chris@69 212 vamp:name "Vampy Spectral Features" ;
Chris@69 213 dc:description """A collection of low-level spectral descriptors.""" ;
Chris@69 214 foaf:maker :library_maker ;
Chris@69 215 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
Chris@69 216 # cc:license <Place plugin license URI here and uncomment> ;
Chris@69 217 vamp:identifier "vampy-sf3" ;
Chris@69 218 vamp:vamp_API_version vamp:api_version_2 ;
Chris@69 219 owl:versionInfo "2" ;
Chris@69 220 vamp:input_domain vamp:FrequencyDomain ;
Chris@69 221
Chris@69 222 vamp:parameter plugbase:vampy-sf3_param_threshold ;
Chris@69 223
Chris@69 224 vamp:output plugbase:vampy-sf3_output_vampy-sc ;
Chris@69 225 vamp:output plugbase:vampy-sf3_output_vampy-scf ;
Chris@69 226 vamp:output plugbase:vampy-sf3_output_vampy-bw ;
Chris@69 227 vamp:output plugbase:vampy-sf3_output_vampy-sd ;
Chris@69 228 .
Chris@69 229 plugbase:vampy-sf3_param_threshold a vamp:Parameter ;
Chris@69 230 vamp:identifier "threshold" ;
Chris@69 231 dc:title "Noise threshold" ;
Chris@69 232 dc:format "v" ;
Chris@69 233 vamp:min_value 0 ;
Chris@69 234 vamp:max_value 1 ;
Chris@69 235 vamp:unit "v" ;
Chris@69 236 vamp:default_value 0.05 ;
Chris@69 237 vamp:value_names ();
Chris@69 238 .
Chris@69 239 plugbase:vampy-sf3_output_vampy-sc a vamp:DenseOutput ;
Chris@69 240 vamp:identifier "vampy-sc" ;
Chris@69 241 dc:title "Spectral Centroid" ;
Chris@69 242 dc:description """Spectral Centroid (Brightness)""" ;
Chris@69 243 vamp:fixed_bin_count "true" ;
Chris@69 244 vamp:unit "Hz" ;
Chris@69 245 vamp:bin_count 1 ;
Chris@69 246 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 247 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 248 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 249 .
Chris@69 250 plugbase:vampy-sf3_output_vampy-scf a vamp:DenseOutput ;
Chris@69 251 vamp:identifier "vampy-scf" ;
Chris@69 252 dc:title "Spectral Crest Factor" ;
Chris@69 253 dc:description """Spectral Crest (Tonality)""" ;
Chris@69 254 vamp:fixed_bin_count "true" ;
Chris@69 255 vamp:unit "v" ;
Chris@69 256 vamp:bin_count 1 ;
Chris@69 257 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 258 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 259 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 260 .
Chris@69 261 plugbase:vampy-sf3_output_vampy-bw a vamp:DenseOutput ;
Chris@69 262 vamp:identifier "vampy-bw" ;
Chris@69 263 dc:title "Band Width" ;
Chris@69 264 dc:description """Spectral Band Width""" ;
Chris@69 265 vamp:fixed_bin_count "true" ;
Chris@69 266 vamp:unit "Hz" ;
Chris@69 267 vamp:bin_count 1 ;
Chris@69 268 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 269 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 270 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 271 .
Chris@69 272 plugbase:vampy-sf3_output_vampy-sd a vamp:DenseOutput ;
Chris@69 273 vamp:identifier "vampy-sd" ;
Chris@69 274 dc:title "Spectral Difference" ;
Chris@69 275 dc:description """Eucledian distance of successive magnitude spectra.""" ;
Chris@69 276 vamp:fixed_bin_count "true" ;
Chris@69 277 vamp:unit "Hz" ;
Chris@69 278 vamp:bin_count 1 ;
Chris@69 279 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 280 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 281 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 282 .
Chris@69 283
Chris@69 284 ## Properties of the Vampy Zero Crossings plugin
Chris@69 285
Chris@69 286 plugbase:vampy-zc2 a vamp:Plugin ;
Chris@69 287 dc:title "Vampy Zero Crossings" ;
Chris@69 288 vamp:name "Vampy Zero Crossings" ;
Chris@69 289 dc:description """Count the number of simple zero-crossings for the signal within each processing block""" ;
Chris@69 290 foaf:maker :library_maker ;
Chris@69 291 dc:rights """Plugin By George Fazekas. Freely redistributable example plugin (BSD license)""" ;
Chris@69 292 # cc:license <Place plugin license URI here and uncomment> ;
Chris@69 293 vamp:identifier "vampy-zc2" ;
Chris@69 294 vamp:vamp_API_version vamp:api_version_2 ;
Chris@69 295 owl:versionInfo "2" ;
Chris@69 296 vamp:input_domain vamp:TimeDomain ;
Chris@69 297 vamp:parameter plugbase:vampy-zc2_param_threshold ;
Chris@69 298
Chris@69 299 vamp:output plugbase:vampy-zc2_output_vampy-counts ;
Chris@69 300 vamp:output plugbase:vampy-zc2_output_vampy-crossings ;
Chris@69 301 .
Chris@69 302 plugbase:vampy-zc2_param_threshold a vamp:Parameter ;
Chris@69 303 vamp:identifier "threshold" ;
Chris@69 304 dc:title "Noise threshold" ;
Chris@69 305 dc:format "v" ;
Chris@69 306 vamp:min_value 0 ;
Chris@69 307 vamp:max_value 0.5 ;
Chris@69 308 vamp:unit "v" ;
Chris@69 309 vamp:default_value 0.005 ;
Chris@69 310 vamp:value_names ();
Chris@69 311 .
Chris@69 312 plugbase:vampy-zc2_output_vampy-counts a vamp:DenseOutput ;
Chris@69 313 vamp:identifier "vampy-counts" ;
Chris@69 314 dc:title "Number of Zero Crossings" ;
Chris@69 315 dc:description """Number of zero crossings per audio frame""" ;
Chris@69 316 vamp:fixed_bin_count "true" ;
Chris@69 317 vamp:unit " " ;
Chris@69 318 a vamp:QuantizedOutput ;
Chris@69 319 vamp:quantize_step 1 ;
Chris@69 320 vamp:bin_count 1 ;
Chris@69 321 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 322 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 323 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 324 .
Chris@69 325 plugbase:vampy-zc2_output_vampy-crossings a vamp:SparseOutput ;
Chris@69 326 vamp:identifier "vampy-crossings" ;
Chris@69 327 dc:title "Zero Crossing Locations" ;
Chris@69 328 dc:description """The locations of zero crossing points""" ;
Chris@69 329 vamp:fixed_bin_count "true" ;
Chris@69 330 vamp:unit "discrete" ;
Chris@69 331 vamp:bin_count 0 ;
Chris@69 332 vamp:sample_type vamp:VariableSampleRate ;
Chris@69 333 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@69 334 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@69 335 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@69 336 .
Chris@69 337