annotate plugins/nnls-chroma.n3 @ 45:4964bfbcbcb4 rdfquery

Merge from default branch
author Chris Cannam
date Thu, 19 Jun 2014 15:24:09 +0100
parents 4196d1322204
children def5fc66701c
rev   line source
Chris@15 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Chris@15 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Chris@15 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
Chris@15 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/nnls-chroma#> .
Chris@15 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
Chris@15 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@15 7 @prefix af: <http://purl.org/ontology/af/> .
Chris@15 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@15 9 @prefix cc: <http://web.resource.org/cc/> .
Chris@15 10 @prefix : <#> .
Chris@15 11
Chris@15 12 <> a vamp:PluginDescription ;
Chris@15 13 foaf:maker <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
Chris@15 14 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/nnls-chroma> .
Chris@15 15
Chris@15 16 :nnls-chroma a vamp:PluginLibrary ;
Chris@15 17 vamp:identifier "nnls-chroma" ;
Chris@15 18 vamp:available_plugin plugbase:chordino ;
Chris@15 19 vamp:available_plugin plugbase:nnls-chroma ;
Chris@15 20 vamp:available_plugin plugbase:tuning ;
Chris@15 21 foaf:page <http://www.isophonics.net/nnls-chroma> ;
Chris@15 22 foaf:page <http://www.omras2.org/> ;
Chris@15 23 foaf:page <http://www.matthiasmauch.net/> ;
Chris@15 24 .
Chris@15 25
Chris@15 26 plugbase:chordino a vamp:Plugin ;
Chris@15 27 dc:title "Chordino" ;
Chris@15 28 vamp:name "Chordino" ;
Chris@15 29 dc:description """Chordino provides a simple chord transcription based on NNLS Chroma (as in the NNLS Chroma plugin). Chord profiles given by the user in the file chord.dict are used to calculate frame-wise chord similarities. Two simple (non-state-of-the-art!) algorithms are available that smooth these to provide a chord transcription: a simple chord change method, and a standard HMM/Viterbi approach.""" ;
Chris@15 30 foaf:maker [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
Chris@15 31 dc:rights """GPL""" ;
Chris@15 32 # cc:license <Place plugin license URI here and uncomment> ;
Chris@15 33 vamp:identifier "chordino" ;
Chris@15 34 vamp:vamp_API_version vamp:api_version_2 ;
Chris@15 35 owl:versionInfo "1" ;
Chris@15 36 vamp:input_domain vamp:FrequencyDomain ;
Chris@15 37
Chris@15 38
Chris@15 39 vamp:parameter plugbase:chordino_param_useNNLS ;
Chris@15 40 vamp:parameter plugbase:chordino_param_useHMM ;
Chris@15 41 vamp:parameter plugbase:chordino_param_rollon ;
Chris@15 42 vamp:parameter plugbase:chordino_param_tuningmode ;
Chris@15 43 vamp:parameter plugbase:chordino_param_whitening ;
Chris@15 44 vamp:parameter plugbase:chordino_param_s ;
Chris@15 45
Chris@15 46 vamp:output plugbase:chordino_output_simplechord ;
Chris@15 47 vamp:output plugbase:chordino_output_harmonicchange ;
Chris@15 48 .
Chris@15 49 plugbase:chordino_param_useNNLS a vamp:QuantizedParameter ;
Chris@15 50 vamp:identifier "useNNLS" ;
Chris@15 51 dc:title "use approximate transcription (NNLS)" ;
Chris@15 52 dc:format "" ;
Chris@15 53 vamp:min_value 0 ;
Chris@15 54 vamp:max_value 1 ;
Chris@15 55 vamp:unit "" ;
Chris@15 56 vamp:quantize_step 1 ;
Chris@15 57 vamp:default_value 1 ;
Chris@15 58 vamp:value_names ();
Chris@15 59 .
Chris@15 60 plugbase:chordino_param_useHMM a vamp:QuantizedParameter ;
Chris@15 61 vamp:identifier "useHMM" ;
Chris@15 62 dc:title "HMM (Viterbi decoding)" ;
Chris@15 63 dc:format "" ;
Chris@15 64 vamp:min_value 0 ;
Chris@15 65 vamp:max_value 1 ;
Chris@15 66 vamp:unit "" ;
Chris@15 67 vamp:quantize_step 1 ;
Chris@15 68 vamp:default_value 1 ;
Chris@15 69 vamp:value_names ();
Chris@15 70 .
Chris@15 71 plugbase:chordino_param_rollon a vamp:QuantizedParameter ;
Chris@15 72 vamp:identifier "rollon" ;
Chris@15 73 dc:title "spectral roll-on" ;
Chris@15 74 dc:format "" ;
Chris@15 75 vamp:min_value 0 ;
Chris@15 76 vamp:max_value 5 ;
Chris@15 77 vamp:unit "%" ;
Chris@15 78 vamp:quantize_step 0.5 ;
Chris@15 79 vamp:default_value 0 ;
Chris@15 80 vamp:value_names ();
Chris@15 81 .
Chris@15 82 plugbase:chordino_param_tuningmode a vamp:QuantizedParameter ;
Chris@15 83 vamp:identifier "tuningmode" ;
Chris@15 84 dc:title "tuning mode" ;
Chris@15 85 dc:format "" ;
Chris@15 86 vamp:min_value 0 ;
Chris@15 87 vamp:max_value 1 ;
Chris@15 88 vamp:unit "" ;
Chris@15 89 vamp:quantize_step 1 ;
Chris@15 90 vamp:default_value 0 ;
Chris@15 91 vamp:value_names ( "global tuning" "local tuning");
Chris@15 92 .
Chris@15 93 plugbase:chordino_param_whitening a vamp:Parameter ;
Chris@15 94 vamp:identifier "whitening" ;
Chris@15 95 dc:title "spectral whitening" ;
Chris@15 96 dc:format "" ;
Chris@15 97 vamp:min_value 0 ;
Chris@15 98 vamp:max_value 1 ;
Chris@15 99 vamp:unit "" ;
Chris@15 100 vamp:default_value 1 ;
Chris@15 101 vamp:value_names ();
Chris@15 102 .
Chris@15 103 plugbase:chordino_param_s a vamp:Parameter ;
Chris@15 104 vamp:identifier "s" ;
Chris@15 105 dc:title "spectral shape" ;
Chris@15 106 dc:format "" ;
Chris@15 107 vamp:min_value 0.5 ;
Chris@15 108 vamp:max_value 0.9 ;
Chris@15 109 vamp:unit "" ;
Chris@15 110 vamp:default_value 0.7 ;
Chris@15 111 vamp:value_names ();
Chris@15 112 .
Chris@15 113 plugbase:chordino_output_simplechord a vamp:SparseOutput ;
Chris@15 114 vamp:identifier "simplechord" ;
Chris@15 115 dc:title "Chord Estimate" ;
Chris@15 116 dc:description """Estimated chord times and labels. Two simple (non-state-of-the-art!) algorithms are available that smooth these to provide a chord transcription: a simple chord change method, and a standard HMM/Viterbi approach.""" ;
Chris@15 117 vamp:fixed_bin_count "true" ;
Chris@15 118 vamp:unit "chord" ;
Chris@15 119 a vamp:QuantizedOutput ;
Chris@15 120 vamp:quantize_step 1 ;
Chris@15 121 vamp:bin_count 0 ;
Chris@15 122 vamp:sample_type vamp:VariableSampleRate ;
Chris@15 123 vamp:sample_rate 21.5332 ;
Chris@15 124 vamp:computes_event_type af:ChordSegment ;
Chris@15 125 .
Chris@15 126 plugbase:chordino_output_harmonicchange a vamp:DenseOutput ;
Chris@15 127 vamp:identifier "harmonicchange" ;
Chris@15 128 dc:title "Harmonic Change Value" ;
Chris@15 129 dc:description """An indication of the likelihood of harmonic change. Depends on the chord dictionary. Calculation is different depending on whether the Viterbi algorithm is used for chord estimation, or the simple chord estimate.""" ;
Chris@15 130 vamp:fixed_bin_count "true" ;
Chris@15 131 vamp:unit "" ;
Chris@15 132 a vamp:KnownExtentsOutput ;
Chris@15 133 vamp:min_value 0 ;
Chris@15 134 vamp:max_value 0.999 ;
Chris@15 135 vamp:bin_count 1 ;
Chris@15 136 vamp:computes_signal_type af:TonalChangeDetectionFunction;
Chris@15 137 .
Chris@15 138 plugbase:nnls-chroma a vamp:Plugin ;
Chris@15 139 dc:title "NNLS Chroma" ;
Chris@15 140 vamp:name "NNLS Chroma" ;
Chris@15 141 dc:description """This plugin provides a number of features derived from a DFT-based log-frequency amplitude spectrum: some variants of the log-frequency spectrum, including a semitone spectrum derived from approximate transcription using the NNLS algorithm; and based on this semitone spectrum, different chroma features.""" ;
Chris@15 142 foaf:maker [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
Chris@15 143 dc:rights """GPL""" ;
Chris@15 144 # cc:license <Place plugin license URI here and uncomment> ;
Chris@15 145 vamp:identifier "nnls-chroma" ;
Chris@15 146 vamp:vamp_API_version vamp:api_version_2 ;
Chris@15 147 owl:versionInfo "1" ;
Chris@15 148 vamp:input_domain vamp:FrequencyDomain ;
Chris@15 149
Chris@15 150
Chris@15 151 vamp:parameter plugbase:nnls-chroma_param_useNNLS ;
Chris@15 152 vamp:parameter plugbase:nnls-chroma_param_rollon ;
Chris@15 153 vamp:parameter plugbase:nnls-chroma_param_tuningmode ;
Chris@15 154 vamp:parameter plugbase:nnls-chroma_param_whitening ;
Chris@15 155 vamp:parameter plugbase:nnls-chroma_param_s ;
Chris@15 156 vamp:parameter plugbase:nnls-chroma_param_chromanormalize ;
Chris@15 157
Chris@15 158 vamp:output plugbase:nnls-chroma_output_logfreqspec ;
Chris@15 159 vamp:output plugbase:nnls-chroma_output_tunedlogfreqspec ;
Chris@15 160 vamp:output plugbase:nnls-chroma_output_semitonespectrum ;
Chris@15 161 vamp:output plugbase:nnls-chroma_output_chroma ;
Chris@15 162 vamp:output plugbase:nnls-chroma_output_basschroma ;
Chris@15 163 vamp:output plugbase:nnls-chroma_output_bothchroma ;
Chris@15 164 .
Chris@15 165 plugbase:nnls-chroma_param_useNNLS a vamp:QuantizedParameter ;
Chris@15 166 vamp:identifier "useNNLS" ;
Chris@15 167 dc:title "use approximate transcription (NNLS)" ;
Chris@15 168 dc:format "" ;
Chris@15 169 vamp:min_value 0 ;
Chris@15 170 vamp:max_value 1 ;
Chris@15 171 vamp:unit "" ;
Chris@15 172 vamp:quantize_step 1 ;
Chris@15 173 vamp:default_value 1 ;
Chris@15 174 vamp:value_names ();
Chris@15 175 .
Chris@15 176 plugbase:nnls-chroma_param_rollon a vamp:QuantizedParameter ;
Chris@15 177 vamp:identifier "rollon" ;
Chris@15 178 dc:title "spectral roll-on" ;
Chris@15 179 dc:format "" ;
Chris@15 180 vamp:min_value 0 ;
Chris@15 181 vamp:max_value 5 ;
Chris@15 182 vamp:unit "%" ;
Chris@15 183 vamp:quantize_step 0.5 ;
Chris@15 184 vamp:default_value 0 ;
Chris@15 185 vamp:value_names ();
Chris@15 186 .
Chris@15 187 plugbase:nnls-chroma_param_tuningmode a vamp:QuantizedParameter ;
Chris@15 188 vamp:identifier "tuningmode" ;
Chris@15 189 dc:title "tuning mode" ;
Chris@15 190 dc:format "" ;
Chris@15 191 vamp:min_value 0 ;
Chris@15 192 vamp:max_value 1 ;
Chris@15 193 vamp:unit "" ;
Chris@15 194 vamp:quantize_step 1 ;
Chris@15 195 vamp:default_value 0 ;
Chris@15 196 vamp:value_names ( "global tuning" "local tuning");
Chris@15 197 .
Chris@15 198 plugbase:nnls-chroma_param_whitening a vamp:Parameter ;
Chris@15 199 vamp:identifier "whitening" ;
Chris@15 200 dc:title "spectral whitening" ;
Chris@15 201 dc:format "" ;
Chris@15 202 vamp:min_value 0 ;
Chris@15 203 vamp:max_value 1 ;
Chris@15 204 vamp:unit "" ;
Chris@15 205 vamp:default_value 1 ;
Chris@15 206 vamp:value_names ();
Chris@15 207 .
Chris@15 208 plugbase:nnls-chroma_param_s a vamp:Parameter ;
Chris@15 209 vamp:identifier "s" ;
Chris@15 210 dc:title "spectral shape" ;
Chris@15 211 dc:format "" ;
Chris@15 212 vamp:min_value 0.5 ;
Chris@15 213 vamp:max_value 0.9 ;
Chris@15 214 vamp:unit "" ;
Chris@15 215 vamp:default_value 0.7 ;
Chris@15 216 vamp:value_names ();
Chris@15 217 .
Chris@15 218 plugbase:nnls-chroma_param_chromanormalize a vamp:QuantizedParameter ;
Chris@15 219 vamp:identifier "chromanormalize" ;
Chris@15 220 dc:title "chroma normalization" ;
Chris@15 221 dc:format "" ;
Chris@15 222 vamp:min_value 0 ;
Chris@15 223 vamp:max_value 3 ;
Chris@15 224 vamp:unit "" ;
Chris@15 225 vamp:quantize_step 1 ;
Chris@15 226 vamp:default_value 0 ;
Chris@15 227 vamp:value_names ( "none" "maximum norm" "L1 norm" "L2 norm");
Chris@15 228 .
Chris@15 229 plugbase:nnls-chroma_output_logfreqspec a vamp:DenseOutput ;
Chris@15 230 vamp:identifier "logfreqspec" ;
Chris@15 231 dc:title "Log-Frequency Spectrum" ;
Chris@15 232 dc:description """A Log-Frequency Spectrum (constant Q) that is obtained by cosine filter mapping.""" ;
Chris@15 233 vamp:fixed_bin_count "true" ;
Chris@15 234 vamp:unit "" ;
Chris@15 235 vamp:bin_count 256 ;
Chris@15 236 vamp:computes_signal_type af:Spectrogram ;
Chris@15 237 .
Chris@15 238 plugbase:nnls-chroma_output_tunedlogfreqspec a vamp:DenseOutput ;
Chris@15 239 vamp:identifier "tunedlogfreqspec" ;
Chris@15 240 dc:title "Tuned Log-Frequency Spectrum" ;
Chris@15 241 dc:description """A Log-Frequency Spectrum (constant Q) that is obtained by cosine filter mapping, then its tuned using the estimated tuning frequency.""" ;
Chris@15 242 vamp:fixed_bin_count "true" ;
Chris@15 243 vamp:unit "" ;
Chris@15 244 vamp:bin_count 256 ;
Chris@15 245 vamp:computes_signal_type af:Spectrogram ;
Chris@15 246 .
Chris@15 247 plugbase:nnls-chroma_output_semitonespectrum a vamp:DenseOutput ;
Chris@15 248 vamp:identifier "semitonespectrum" ;
Chris@15 249 dc:title "Semitone Spectrum" ;
Chris@15 250 dc:description """A semitone-spaced log-frequency spectrum derived from the third-of-a-semitone-spaced tuned log-frequency spectrum.""" ;
Chris@15 251 vamp:fixed_bin_count "true" ;
Chris@15 252 vamp:unit "" ;
Chris@15 253 vamp:bin_count 84 ;
Chris@15 254 vamp:computes_signal_type af:Spectrogram ;
Chris@15 255 .
Chris@15 256 plugbase:nnls-chroma_output_chroma a vamp:DenseOutput ;
Chris@15 257 vamp:identifier "chroma" ;
Chris@15 258 dc:title "Chromagram" ;
Chris@15 259 dc:description """Tuning-adjusted chromagram from NNLS approximate transcription, with an emphasis on the medium note range.""" ;
Chris@15 260 vamp:fixed_bin_count "true" ;
Chris@15 261 vamp:unit "" ;
Chris@15 262 vamp:bin_count 12 ;
Chris@15 263 vamp:bin_names ( "A" "Bb" "B" "C" "C#" "D" "Eb" "E" "F" "F#" "G" "Ab");
Chris@15 264 vamp:computes_signal_type af:Chromagram ;
Chris@15 265 .
Chris@15 266 plugbase:nnls-chroma_output_basschroma a vamp:DenseOutput ;
Chris@15 267 vamp:identifier "basschroma" ;
Chris@15 268 dc:title "Bass Chromagram" ;
Chris@15 269 dc:description """Tuning-adjusted bass chromagram from NNLS approximate transcription, with an emphasis on the bass note range.""" ;
Chris@15 270 vamp:fixed_bin_count "true" ;
Chris@15 271 vamp:unit "" ;
Chris@15 272 vamp:bin_count 12 ;
Chris@15 273 vamp:bin_names ( "A" "Bb" "B" "C" "C#" "D" "Eb" "E" "F" "F#" "G" "Ab");
Chris@15 274 vamp:computes_signal_type af:Chromagram ;
Chris@15 275 .
Chris@15 276 plugbase:nnls-chroma_output_bothchroma a vamp:DenseOutput ;
Chris@15 277 vamp:identifier "bothchroma" ;
Chris@15 278 dc:title "Chromagram and Bass Chromagram" ;
Chris@15 279 dc:description """Tuning-adjusted chromagram and bass chromagram (stacked on top of each other) from NNLS approximate transcription.""" ;
Chris@15 280 vamp:fixed_bin_count "true" ;
Chris@15 281 vamp:unit "" ;
Chris@15 282 vamp:bin_count 24 ;
Chris@15 283 vamp:bin_names ( "A (bass)" "Bb (bass)" "B (bass)" "C (bass)" "C# (bass)" "D (bass)" "Eb (bass)" "E (bass)" "F (bass)" "F# (bass)" "G (bass)" "Ab (bass)" "A" "Bb" "B" "C" "C#" "D" "Eb" "E" "F" "F#" "G" "Ab");
Chris@15 284 vamp:computes_signal_type af:Chromagram ;
Chris@15 285 .
Chris@15 286 plugbase:tuning a vamp:Plugin ;
Chris@15 287 dc:title "Tuning" ;
Chris@15 288 vamp:name "Tuning" ;
Chris@15 289 dc:description """The tuning plugin can estimate the local and global tuning of piece. The same tuning method is used for the NNLS Chroma and Chordino plugins.""" ;
Chris@15 290 foaf:maker [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
Chris@15 291 dc:rights """GPL""" ;
Chris@15 292 # cc:license <Place plugin license URI here and uncomment> ;
Chris@15 293 vamp:identifier "tuning" ;
Chris@15 294 vamp:vamp_API_version vamp:api_version_2 ;
Chris@15 295 owl:versionInfo "1" ;
Chris@15 296 vamp:input_domain vamp:FrequencyDomain ;
Chris@15 297
Chris@15 298
Chris@15 299 vamp:parameter plugbase:tuning_param_rollon ;
Chris@15 300
Chris@15 301 vamp:output plugbase:tuning_output_tuning ;
Chris@15 302 vamp:output plugbase:tuning_output_localtuning ;
Chris@15 303 .
Chris@15 304 plugbase:tuning_param_rollon a vamp:QuantizedParameter ;
Chris@15 305 vamp:identifier "rollon" ;
Chris@15 306 dc:title "spectral roll-on" ;
Chris@15 307 dc:format "" ;
Chris@15 308 vamp:min_value 0 ;
Chris@15 309 vamp:max_value 5 ;
Chris@15 310 vamp:unit "%" ;
Chris@15 311 vamp:quantize_step 0.5 ;
Chris@15 312 vamp:default_value 0 ;
Chris@15 313 vamp:value_names ();
Chris@15 314 .
Chris@15 315 plugbase:tuning_output_tuning a vamp:SparseOutput ;
Chris@15 316 vamp:identifier "tuning" ;
Chris@15 317 dc:title "Tuning" ;
Chris@15 318 dc:description """Returns a single label (at time 0 seconds) containing an estimate of the concert pitch in Hz.""" ;
Chris@15 319 vamp:fixed_bin_count "true" ;
Chris@15 320 vamp:unit "Hz" ;
Chris@15 321 a vamp:KnownExtentsOutput ;
Chris@15 322 vamp:min_value 427.47 ;
Chris@15 323 vamp:max_value 452.89 ;
Chris@15 324 vamp:bin_count 0 ;
Chris@15 325 vamp:sample_type vamp:VariableSampleRate ;
Chris@15 326 vamp:sample_rate 2.38221e-44 ;
Chris@15 327 vamp:computes_event_type af:MusicSegment;
Chris@15 328 .
Chris@15 329 plugbase:tuning_output_localtuning a vamp:DenseOutput ;
Chris@15 330 vamp:identifier "localtuning" ;
Chris@15 331 dc:title "Local Tuning" ;
Chris@15 332 dc:description """Returns a tuning estimate at every analysis frame, an average of the (recent) previous frame-wise estimates of the concert pitch in Hz.""" ;
Chris@15 333 vamp:fixed_bin_count "true" ;
Chris@15 334 vamp:unit "Hz" ;
Chris@15 335 a vamp:KnownExtentsOutput ;
Chris@15 336 vamp:min_value 427.47 ;
Chris@15 337 vamp:max_value 452.89 ;
Chris@15 338 vamp:bin_count 1 ;
Chris@15 339 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@15 340 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@15 341 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@15 342 .
Chris@15 343