annotate cqvamp.n3 @ 137:9bdabd830609

Bins are from high to low, not low to high (for getBinFrequencies)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 19 May 2014 17:24:55 +0100
parents 1e33f719dde1
children 0cbd9c904dbb
rev   line source
c@71 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
c@71 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
c@71 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
c@71 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/cqvamp#> .
c@71 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
c@71 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
c@71 7 @prefix af: <http://purl.org/ontology/af/> .
c@71 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
c@71 9 @prefix cc: <http://web.resource.org/cc/> .
c@71 10 @prefix : <#> .
c@71 11
c@71 12 <> a vamp:PluginDescription ;
c@71 13 foaf:maker <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
c@71 14 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/cqvamp> .
c@71 15
c@71 16 :cqvamp a vamp:PluginLibrary ;
c@71 17 vamp:identifier "cqvamp" ;
c@130 18 vamp:available_plugin plugbase:cqchromavamp ;
c@71 19 vamp:available_plugin plugbase:cqvamp ;
c@130 20 vamp:available_plugin plugbase:cqvampmidi ;
c@130 21 foaf:page <http://code.soundsoftware.ac.uk/projects/constant-q-cpp> ;
c@71 22 .
c@71 23
c@130 24 plugbase:cqchromavamp a vamp:Plugin ;
c@130 25 dc:title "Chromagram" ;
c@130 26 vamp:name "Chromagram" ;
c@130 27 dc:description """Extract a Constant-Q spectrogram with constant ratio of centre frequency to resolution from the audio, then wrapping it around into a single-octave chromagram.""" ;
c@130 28 foaf:maker [ foaf:name "Queen Mary, University of London" ] ; # FIXME could give plugin author's URI here
c@130 29 dc:rights """Plugin by Chris Cannam. Method by Christian Schörkhuber and Anssi Klapuri. Copyright (c) 2014 QMUL""" ;
c@130 30 # cc:license <Place plugin license URI here and uncomment> ;
c@130 31 vamp:identifier "cqchromavamp" ;
c@130 32 vamp:vamp_API_version vamp:api_version_2 ;
c@130 33 owl:versionInfo "1" ;
c@130 34 vamp:input_domain vamp:TimeDomain ;
c@130 35
c@130 36 vamp:parameter plugbase:cqchromavamp_param_lowestoct ;
c@130 37 vamp:parameter plugbase:cqchromavamp_param_octaves ;
c@130 38 vamp:parameter plugbase:cqchromavamp_param_tuning ;
c@130 39 vamp:parameter plugbase:cqchromavamp_param_bpo ;
c@130 40
c@130 41 vamp:output plugbase:cqchromavamp_output_chromagram ;
c@130 42 .
c@130 43 plugbase:cqchromavamp_param_lowestoct a vamp:QuantizedParameter ;
c@130 44 vamp:identifier "lowestoct" ;
c@130 45 dc:title "Lowest Contributing Octave" ;
c@130 46 dc:format "" ;
c@130 47 vamp:min_value -1 ;
c@130 48 vamp:max_value 12 ;
c@130 49 vamp:unit "" ;
c@130 50 vamp:quantize_step 1 ;
c@130 51 vamp:default_value 0 ;
c@130 52 vamp:value_names ();
c@130 53 .
c@130 54 plugbase:cqchromavamp_param_octaves a vamp:QuantizedParameter ;
c@130 55 vamp:identifier "octaves" ;
c@130 56 dc:title "Contributing Octave Count" ;
c@130 57 dc:format "octaves" ;
c@130 58 vamp:min_value 1 ;
c@130 59 vamp:max_value 12 ;
c@130 60 vamp:unit "octaves" ;
c@130 61 vamp:quantize_step 1 ;
c@130 62 vamp:default_value 7 ;
c@130 63 vamp:value_names ();
c@130 64 .
c@130 65 plugbase:cqchromavamp_param_tuning a vamp:Parameter ;
c@130 66 vamp:identifier "tuning" ;
c@130 67 dc:title "Tuning Frequency" ;
c@130 68 dc:format "Hz" ;
c@130 69 vamp:min_value 360 ;
c@130 70 vamp:max_value 500 ;
c@130 71 vamp:unit "Hz" ;
c@130 72 vamp:default_value 440 ;
c@130 73 vamp:value_names ();
c@130 74 .
c@130 75 plugbase:cqchromavamp_param_bpo a vamp:QuantizedParameter ;
c@130 76 vamp:identifier "bpo" ;
c@130 77 dc:title "Bins per Octave" ;
c@130 78 dc:format "bins" ;
c@130 79 vamp:min_value 2 ;
c@130 80 vamp:max_value 480 ;
c@130 81 vamp:unit "bins" ;
c@130 82 vamp:quantize_step 1 ;
c@130 83 vamp:default_value 36 ;
c@130 84 vamp:value_names ();
c@130 85 .
c@130 86 plugbase:cqchromavamp_output_chromagram a vamp:DenseOutput ;
c@130 87 vamp:identifier "chromagram" ;
c@130 88 dc:title "Chromagram" ;
c@130 89 dc:description """Chromagram obtained from output of constant-Q transform, folding over each process block into a single-octave vector""" ;
c@130 90 vamp:fixed_bin_count "true" ;
c@130 91 vamp:unit "" ;
c@130 92 vamp:bin_count 36 ;
c@130 93 # vamp:computes_event_type <Place event type URI here and uncomment> ;
c@130 94 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
c@130 95 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
c@130 96 .
c@71 97 plugbase:cqvamp a vamp:Plugin ;
c@130 98 dc:title "Constant-Q Spectrogram (Hz range)" ;
c@130 99 vamp:name "Constant-Q Spectrogram (Hz range)" ;
c@130 100 dc:description """Extract a spectrogram with constant ratio of centre frequency to resolution from the input audio, specifying the frequency range in Hz.""" ;
c@71 101 foaf:maker [ foaf:name "Queen Mary, University of London" ] ; # FIXME could give plugin author's URI here
c@130 102 dc:rights """Plugin by Chris Cannam. Method by Christian Schörkhuber and Anssi Klapuri. Copyright (c) 2014 QMUL""" ;
c@71 103 # cc:license <Place plugin license URI here and uncomment> ;
c@71 104 vamp:identifier "cqvamp" ;
c@71 105 vamp:vamp_API_version vamp:api_version_2 ;
c@71 106 owl:versionInfo "1" ;
c@71 107 vamp:input_domain vamp:TimeDomain ;
c@71 108
c@130 109 vamp:parameter plugbase:cqvamp_param_minfreq ;
c@130 110 vamp:parameter plugbase:cqvamp_param_maxfreq ;
c@71 111 vamp:parameter plugbase:cqvamp_param_bpo ;
c@130 112 vamp:parameter plugbase:cqvamp_param_interpolation ;
c@71 113
c@71 114 vamp:output plugbase:cqvamp_output_constantq ;
c@71 115 .
c@130 116 plugbase:cqvamp_param_minfreq a vamp:Parameter ;
c@130 117 vamp:identifier "minfreq" ;
c@130 118 dc:title "Minimum Frequency" ;
c@130 119 dc:format "Hz" ;
c@130 120 vamp:min_value 1 ;
c@130 121 vamp:max_value 24000 ;
c@130 122 vamp:unit "Hz" ;
c@130 123 vamp:default_value 100 ;
c@130 124 vamp:value_names ();
c@130 125 .
c@130 126 plugbase:cqvamp_param_maxfreq a vamp:Parameter ;
c@130 127 vamp:identifier "maxfreq" ;
c@130 128 dc:title "Maximum Frequency" ;
c@130 129 dc:format "Hz" ;
c@130 130 vamp:min_value 1 ;
c@130 131 vamp:max_value 24000 ;
c@130 132 vamp:unit "Hz" ;
c@130 133 vamp:default_value 14080 ;
c@130 134 vamp:value_names ();
c@130 135 .
c@130 136 plugbase:cqvamp_param_bpo a vamp:QuantizedParameter ;
c@130 137 vamp:identifier "bpo" ;
c@130 138 dc:title "Bins per Octave" ;
c@130 139 dc:format "bins" ;
c@130 140 vamp:min_value 2 ;
c@130 141 vamp:max_value 480 ;
c@130 142 vamp:unit "bins" ;
c@130 143 vamp:quantize_step 1 ;
c@130 144 vamp:default_value 36 ;
c@130 145 vamp:value_names ();
c@130 146 .
c@130 147 plugbase:cqvamp_param_interpolation a vamp:QuantizedParameter ;
c@130 148 vamp:identifier "interpolation" ;
c@130 149 dc:title "Interpolation" ;
c@130 150 dc:format "" ;
c@130 151 vamp:min_value 0 ;
c@130 152 vamp:max_value 2 ;
c@130 153 vamp:unit "" ;
c@130 154 vamp:quantize_step 1 ;
c@130 155 vamp:default_value 2 ;
c@130 156 vamp:value_names ( "None, leave as zero" "None, repeat prior value" "Linear interpolation");
c@130 157 .
c@130 158 plugbase:cqvamp_output_constantq a vamp:DenseOutput ;
c@130 159 vamp:identifier "constantq" ;
c@130 160 dc:title "Constant-Q Spectrogram" ;
c@130 161 dc:description """Output of constant-Q transform, as a single vector per process block""" ;
c@130 162 vamp:fixed_bin_count "true" ;
c@130 163 vamp:unit "" ;
c@130 164 vamp:bin_count 216 ;
c@130 165 # vamp:computes_event_type <Place event type URI here and uncomment> ;
c@130 166 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
c@130 167 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
c@130 168 .
c@130 169 plugbase:cqvampmidi a vamp:Plugin ;
c@130 170 dc:title "Constant-Q Spectrogram (MIDI pitch range)" ;
c@130 171 vamp:name "Constant-Q Spectrogram (MIDI pitch range)" ;
c@130 172 dc:description """Extract a spectrogram with constant ratio of centre frequency to resolution from the input audio, specifying the frequency range in MIDI pitch units.""" ;
c@130 173 foaf:maker [ foaf:name "Queen Mary, University of London" ] ; # FIXME could give plugin author's URI here
c@130 174 dc:rights """Plugin by Chris Cannam. Method by Christian Schörkhuber and Anssi Klapuri. Copyright (c) 2014 QMUL""" ;
c@130 175 # cc:license <Place plugin license URI here and uncomment> ;
c@130 176 vamp:identifier "cqvampmidi" ;
c@130 177 vamp:vamp_API_version vamp:api_version_2 ;
c@130 178 owl:versionInfo "1" ;
c@130 179 vamp:input_domain vamp:TimeDomain ;
c@130 180
c@130 181 vamp:parameter plugbase:cqvampmidi_param_minpitch ;
c@130 182 vamp:parameter plugbase:cqvampmidi_param_maxpitch ;
c@130 183 vamp:parameter plugbase:cqvampmidi_param_tuning ;
c@130 184 vamp:parameter plugbase:cqvampmidi_param_bpo ;
c@130 185 vamp:parameter plugbase:cqvampmidi_param_interpolation ;
c@130 186
c@130 187 vamp:output plugbase:cqvampmidi_output_constantq ;
c@130 188 .
c@130 189 plugbase:cqvampmidi_param_minpitch a vamp:QuantizedParameter ;
c@71 190 vamp:identifier "minpitch" ;
c@71 191 dc:title "Minimum Pitch" ;
c@71 192 dc:format "MIDI units" ;
c@71 193 vamp:min_value 0 ;
c@71 194 vamp:max_value 127 ;
c@71 195 vamp:unit "MIDI units" ;
c@71 196 vamp:quantize_step 1 ;
c@71 197 vamp:default_value 36 ;
c@71 198 vamp:value_names ();
c@71 199 .
c@130 200 plugbase:cqvampmidi_param_maxpitch a vamp:QuantizedParameter ;
c@71 201 vamp:identifier "maxpitch" ;
c@71 202 dc:title "Maximum Pitch" ;
c@71 203 dc:format "MIDI units" ;
c@71 204 vamp:min_value 0 ;
c@71 205 vamp:max_value 127 ;
c@71 206 vamp:unit "MIDI units" ;
c@71 207 vamp:quantize_step 1 ;
c@71 208 vamp:default_value 84 ;
c@71 209 vamp:value_names ();
c@71 210 .
c@130 211 plugbase:cqvampmidi_param_tuning a vamp:Parameter ;
c@71 212 vamp:identifier "tuning" ;
c@71 213 dc:title "Tuning Frequency" ;
c@71 214 dc:format "Hz" ;
c@71 215 vamp:min_value 360 ;
c@71 216 vamp:max_value 500 ;
c@71 217 vamp:unit "Hz" ;
c@71 218 vamp:default_value 440 ;
c@71 219 vamp:value_names ();
c@71 220 .
c@130 221 plugbase:cqvampmidi_param_bpo a vamp:QuantizedParameter ;
c@71 222 vamp:identifier "bpo" ;
c@71 223 dc:title "Bins per Octave" ;
c@71 224 dc:format "bins" ;
c@71 225 vamp:min_value 2 ;
c@71 226 vamp:max_value 480 ;
c@71 227 vamp:unit "bins" ;
c@71 228 vamp:quantize_step 1 ;
c@130 229 vamp:default_value 36 ;
c@71 230 vamp:value_names ();
c@71 231 .
c@130 232 plugbase:cqvampmidi_param_interpolation a vamp:QuantizedParameter ;
c@130 233 vamp:identifier "interpolation" ;
c@130 234 dc:title "Interpolation" ;
c@130 235 dc:format "" ;
c@130 236 vamp:min_value 0 ;
c@130 237 vamp:max_value 2 ;
c@130 238 vamp:unit "" ;
c@130 239 vamp:quantize_step 1 ;
c@130 240 vamp:default_value 2 ;
c@130 241 vamp:value_names ( "None, leave as zero" "None, repeat prior value" "Linear interpolation");
c@130 242 .
c@130 243 plugbase:cqvampmidi_output_constantq a vamp:DenseOutput ;
c@71 244 vamp:identifier "constantq" ;
c@71 245 dc:title "Constant-Q Spectrogram" ;
c@71 246 dc:description """Output of constant-Q transform, as a single vector per process block""" ;
c@130 247 vamp:fixed_bin_count "true" ;
c@71 248 vamp:unit "" ;
c@130 249 vamp:bin_count 216 ;
c@130 250 # vamp:computes_event_type <Place event type URI here and uncomment> ;
c@130 251 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
c@130 252 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
c@71 253 .
c@71 254