annotate plugins/nnls-chroma.n3 @ 100:c0afe853924a tip

Use common name
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 29 Jun 2021 12:11:48 +0100
parents 31f00b5e3a5f
children
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@47 9 @prefix doap: <http://usefulinc.com/ns/doap#> .
Chris@15 10 @prefix cc: <http://web.resource.org/cc/> .
Chris@15 11 @prefix : <#> .
Chris@15 12
Chris@15 13 <> a vamp:PluginDescription ;
Chris@15 14 foaf:maker <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
Chris@15 15 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/nnls-chroma> .
Chris@15 16
Chris@47 17 :maker
Chris@50 18 foaf:name "Matthias Mauch" ;
Chris@50 19 foaf:logo <http://vamp-plugins.org/rdf/plugins/makers/qm.png> ;
Chris@50 20 foaf:page <http://c4dm.eecs.qmul.ac.uk/> .
Chris@47 21
Chris@98 22 plugbase:library a vamp:PluginLibrary ;
Chris@47 23 vamp:identifier "nnls-chroma" ;
Chris@47 24 dc:title "Chordino and NNLS Chroma" ;
Chris@47 25 dc:description "Harmony and chord extraction plugins by Matthias Mauch at C4DM" ;
Chris@15 26 vamp:available_plugin plugbase:chordino ;
Chris@15 27 vamp:available_plugin plugbase:nnls-chroma ;
Chris@15 28 vamp:available_plugin plugbase:tuning ;
Chris@15 29 foaf:page <http://www.isophonics.net/nnls-chroma> ;
Chris@59 30 doap:download-page <http://www.isophonics.net/nnls-chroma> ;
Chris@15 31 foaf:page <http://www.omras2.org/> ;
Chris@15 32 foaf:page <http://www.matthiasmauch.net/> ;
Chris@47 33 foaf:maker :maker ;
Chris@47 34 vamp:has_source true ;
Chris@47 35 vamp:has_binary "win32" ;
Chris@47 36 vamp:has_binary "osx" ;
Chris@15 37 .
Chris@15 38
Chris@15 39 plugbase:chordino a vamp:Plugin ;
Chris@15 40 dc:title "Chordino" ;
Chris@15 41 vamp:name "Chordino" ;
Chris@15 42 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@47 43 foaf:maker :maker ;
Chris@15 44 dc:rights """GPL""" ;
Chris@15 45 # cc:license <Place plugin license URI here and uncomment> ;
Chris@15 46 vamp:identifier "chordino" ;
Chris@15 47 vamp:vamp_API_version vamp:api_version_2 ;
Chris@86 48 owl:versionInfo "5" ;
Chris@15 49 vamp:input_domain vamp:FrequencyDomain ;
Chris@15 50
Chris@15 51
Chris@15 52 vamp:parameter plugbase:chordino_param_useNNLS ;
Chris@15 53 vamp:parameter plugbase:chordino_param_useHMM ;
Chris@15 54 vamp:parameter plugbase:chordino_param_rollon ;
Chris@15 55 vamp:parameter plugbase:chordino_param_tuningmode ;
Chris@15 56 vamp:parameter plugbase:chordino_param_whitening ;
Chris@15 57 vamp:parameter plugbase:chordino_param_s ;
Chris@15 58
Chris@15 59 vamp:output plugbase:chordino_output_simplechord ;
Chris@15 60 vamp:output plugbase:chordino_output_harmonicchange ;
Chris@15 61 .
Chris@15 62 plugbase:chordino_param_useNNLS a vamp:QuantizedParameter ;
Chris@15 63 vamp:identifier "useNNLS" ;
Chris@15 64 dc:title "use approximate transcription (NNLS)" ;
Chris@15 65 dc:format "" ;
Chris@15 66 vamp:min_value 0 ;
Chris@15 67 vamp:max_value 1 ;
Chris@15 68 vamp:unit "" ;
Chris@15 69 vamp:quantize_step 1 ;
Chris@15 70 vamp:default_value 1 ;
Chris@15 71 vamp:value_names ();
Chris@15 72 .
Chris@15 73 plugbase:chordino_param_useHMM a vamp:QuantizedParameter ;
Chris@15 74 vamp:identifier "useHMM" ;
Chris@15 75 dc:title "HMM (Viterbi decoding)" ;
Chris@15 76 dc:format "" ;
Chris@15 77 vamp:min_value 0 ;
Chris@15 78 vamp:max_value 1 ;
Chris@15 79 vamp:unit "" ;
Chris@15 80 vamp:quantize_step 1 ;
Chris@15 81 vamp:default_value 1 ;
Chris@15 82 vamp:value_names ();
Chris@15 83 .
Chris@15 84 plugbase:chordino_param_rollon a vamp:QuantizedParameter ;
Chris@15 85 vamp:identifier "rollon" ;
Chris@15 86 dc:title "spectral roll-on" ;
Chris@15 87 dc:format "" ;
Chris@15 88 vamp:min_value 0 ;
Chris@15 89 vamp:max_value 5 ;
Chris@15 90 vamp:unit "%" ;
Chris@15 91 vamp:quantize_step 0.5 ;
Chris@15 92 vamp:default_value 0 ;
Chris@15 93 vamp:value_names ();
Chris@15 94 .
Chris@15 95 plugbase:chordino_param_tuningmode a vamp:QuantizedParameter ;
Chris@15 96 vamp:identifier "tuningmode" ;
Chris@15 97 dc:title "tuning mode" ;
Chris@15 98 dc:format "" ;
Chris@15 99 vamp:min_value 0 ;
Chris@15 100 vamp:max_value 1 ;
Chris@15 101 vamp:unit "" ;
Chris@15 102 vamp:quantize_step 1 ;
Chris@15 103 vamp:default_value 0 ;
Chris@15 104 vamp:value_names ( "global tuning" "local tuning");
Chris@15 105 .
Chris@15 106 plugbase:chordino_param_whitening a vamp:Parameter ;
Chris@15 107 vamp:identifier "whitening" ;
Chris@15 108 dc:title "spectral whitening" ;
Chris@15 109 dc:format "" ;
Chris@15 110 vamp:min_value 0 ;
Chris@15 111 vamp:max_value 1 ;
Chris@15 112 vamp:unit "" ;
Chris@15 113 vamp:default_value 1 ;
Chris@15 114 vamp:value_names ();
Chris@15 115 .
Chris@15 116 plugbase:chordino_param_s a vamp:Parameter ;
Chris@15 117 vamp:identifier "s" ;
Chris@15 118 dc:title "spectral shape" ;
Chris@15 119 dc:format "" ;
Chris@15 120 vamp:min_value 0.5 ;
Chris@15 121 vamp:max_value 0.9 ;
Chris@15 122 vamp:unit "" ;
Chris@15 123 vamp:default_value 0.7 ;
Chris@15 124 vamp:value_names ();
Chris@15 125 .
Chris@15 126 plugbase:chordino_output_simplechord a vamp:SparseOutput ;
Chris@15 127 vamp:identifier "simplechord" ;
Chris@15 128 dc:title "Chord Estimate" ;
Chris@15 129 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 130 vamp:fixed_bin_count "true" ;
Chris@15 131 vamp:unit "chord" ;
Chris@15 132 a vamp:QuantizedOutput ;
Chris@15 133 vamp:quantize_step 1 ;
Chris@15 134 vamp:bin_count 0 ;
Chris@15 135 vamp:sample_type vamp:VariableSampleRate ;
Chris@15 136 vamp:sample_rate 21.5332 ;
Chris@15 137 vamp:computes_event_type af:ChordSegment ;
Chris@15 138 .
Chris@15 139 plugbase:chordino_output_harmonicchange a vamp:DenseOutput ;
Chris@15 140 vamp:identifier "harmonicchange" ;
Chris@15 141 dc:title "Harmonic Change Value" ;
Chris@15 142 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 143 vamp:fixed_bin_count "true" ;
Chris@15 144 vamp:unit "" ;
Chris@15 145 a vamp:KnownExtentsOutput ;
Chris@15 146 vamp:min_value 0 ;
Chris@15 147 vamp:max_value 0.999 ;
Chris@15 148 vamp:bin_count 1 ;
Chris@15 149 vamp:computes_signal_type af:TonalChangeDetectionFunction;
Chris@15 150 .
Chris@15 151 plugbase:nnls-chroma a vamp:Plugin ;
Chris@15 152 dc:title "NNLS Chroma" ;
Chris@15 153 vamp:name "NNLS Chroma" ;
Chris@15 154 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@47 155 foaf:maker :maker ;
Chris@15 156 dc:rights """GPL""" ;
Chris@15 157 # cc:license <Place plugin license URI here and uncomment> ;
Chris@15 158 vamp:identifier "nnls-chroma" ;
Chris@15 159 vamp:vamp_API_version vamp:api_version_2 ;
Chris@86 160 owl:versionInfo "5" ;
Chris@15 161 vamp:input_domain vamp:FrequencyDomain ;
Chris@15 162
Chris@15 163
Chris@15 164 vamp:parameter plugbase:nnls-chroma_param_useNNLS ;
Chris@15 165 vamp:parameter plugbase:nnls-chroma_param_rollon ;
Chris@15 166 vamp:parameter plugbase:nnls-chroma_param_tuningmode ;
Chris@15 167 vamp:parameter plugbase:nnls-chroma_param_whitening ;
Chris@15 168 vamp:parameter plugbase:nnls-chroma_param_s ;
Chris@15 169 vamp:parameter plugbase:nnls-chroma_param_chromanormalize ;
Chris@15 170
Chris@15 171 vamp:output plugbase:nnls-chroma_output_logfreqspec ;
Chris@15 172 vamp:output plugbase:nnls-chroma_output_tunedlogfreqspec ;
Chris@15 173 vamp:output plugbase:nnls-chroma_output_semitonespectrum ;
Chris@15 174 vamp:output plugbase:nnls-chroma_output_chroma ;
Chris@15 175 vamp:output plugbase:nnls-chroma_output_basschroma ;
Chris@15 176 vamp:output plugbase:nnls-chroma_output_bothchroma ;
Chris@15 177 .
Chris@15 178 plugbase:nnls-chroma_param_useNNLS a vamp:QuantizedParameter ;
Chris@15 179 vamp:identifier "useNNLS" ;
Chris@15 180 dc:title "use approximate transcription (NNLS)" ;
Chris@15 181 dc:format "" ;
Chris@15 182 vamp:min_value 0 ;
Chris@15 183 vamp:max_value 1 ;
Chris@15 184 vamp:unit "" ;
Chris@15 185 vamp:quantize_step 1 ;
Chris@15 186 vamp:default_value 1 ;
Chris@15 187 vamp:value_names ();
Chris@15 188 .
Chris@15 189 plugbase:nnls-chroma_param_rollon a vamp:QuantizedParameter ;
Chris@15 190 vamp:identifier "rollon" ;
Chris@15 191 dc:title "spectral roll-on" ;
Chris@15 192 dc:format "" ;
Chris@15 193 vamp:min_value 0 ;
Chris@15 194 vamp:max_value 5 ;
Chris@15 195 vamp:unit "%" ;
Chris@15 196 vamp:quantize_step 0.5 ;
Chris@15 197 vamp:default_value 0 ;
Chris@15 198 vamp:value_names ();
Chris@15 199 .
Chris@15 200 plugbase:nnls-chroma_param_tuningmode a vamp:QuantizedParameter ;
Chris@15 201 vamp:identifier "tuningmode" ;
Chris@15 202 dc:title "tuning mode" ;
Chris@15 203 dc:format "" ;
Chris@15 204 vamp:min_value 0 ;
Chris@15 205 vamp:max_value 1 ;
Chris@15 206 vamp:unit "" ;
Chris@15 207 vamp:quantize_step 1 ;
Chris@15 208 vamp:default_value 0 ;
Chris@15 209 vamp:value_names ( "global tuning" "local tuning");
Chris@15 210 .
Chris@15 211 plugbase:nnls-chroma_param_whitening a vamp:Parameter ;
Chris@15 212 vamp:identifier "whitening" ;
Chris@15 213 dc:title "spectral whitening" ;
Chris@15 214 dc:format "" ;
Chris@15 215 vamp:min_value 0 ;
Chris@15 216 vamp:max_value 1 ;
Chris@15 217 vamp:unit "" ;
Chris@15 218 vamp:default_value 1 ;
Chris@15 219 vamp:value_names ();
Chris@15 220 .
Chris@15 221 plugbase:nnls-chroma_param_s a vamp:Parameter ;
Chris@15 222 vamp:identifier "s" ;
Chris@15 223 dc:title "spectral shape" ;
Chris@15 224 dc:format "" ;
Chris@15 225 vamp:min_value 0.5 ;
Chris@15 226 vamp:max_value 0.9 ;
Chris@15 227 vamp:unit "" ;
Chris@15 228 vamp:default_value 0.7 ;
Chris@15 229 vamp:value_names ();
Chris@15 230 .
Chris@15 231 plugbase:nnls-chroma_param_chromanormalize a vamp:QuantizedParameter ;
Chris@15 232 vamp:identifier "chromanormalize" ;
Chris@15 233 dc:title "chroma normalization" ;
Chris@15 234 dc:format "" ;
Chris@15 235 vamp:min_value 0 ;
Chris@15 236 vamp:max_value 3 ;
Chris@15 237 vamp:unit "" ;
Chris@15 238 vamp:quantize_step 1 ;
Chris@15 239 vamp:default_value 0 ;
Chris@15 240 vamp:value_names ( "none" "maximum norm" "L1 norm" "L2 norm");
Chris@15 241 .
Chris@15 242 plugbase:nnls-chroma_output_logfreqspec a vamp:DenseOutput ;
Chris@15 243 vamp:identifier "logfreqspec" ;
Chris@15 244 dc:title "Log-Frequency Spectrum" ;
Chris@15 245 dc:description """A Log-Frequency Spectrum (constant Q) that is obtained by cosine filter mapping.""" ;
Chris@15 246 vamp:fixed_bin_count "true" ;
Chris@15 247 vamp:unit "" ;
Chris@15 248 vamp:bin_count 256 ;
Chris@15 249 vamp:computes_signal_type af:Spectrogram ;
Chris@15 250 .
Chris@15 251 plugbase:nnls-chroma_output_tunedlogfreqspec a vamp:DenseOutput ;
Chris@15 252 vamp:identifier "tunedlogfreqspec" ;
Chris@15 253 dc:title "Tuned Log-Frequency Spectrum" ;
Chris@15 254 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 255 vamp:fixed_bin_count "true" ;
Chris@15 256 vamp:unit "" ;
Chris@15 257 vamp:bin_count 256 ;
Chris@15 258 vamp:computes_signal_type af:Spectrogram ;
Chris@15 259 .
Chris@15 260 plugbase:nnls-chroma_output_semitonespectrum a vamp:DenseOutput ;
Chris@15 261 vamp:identifier "semitonespectrum" ;
Chris@15 262 dc:title "Semitone Spectrum" ;
Chris@15 263 dc:description """A semitone-spaced log-frequency spectrum derived from the third-of-a-semitone-spaced tuned log-frequency spectrum.""" ;
Chris@15 264 vamp:fixed_bin_count "true" ;
Chris@15 265 vamp:unit "" ;
Chris@15 266 vamp:bin_count 84 ;
Chris@15 267 vamp:computes_signal_type af:Spectrogram ;
Chris@15 268 .
Chris@15 269 plugbase:nnls-chroma_output_chroma a vamp:DenseOutput ;
Chris@15 270 vamp:identifier "chroma" ;
Chris@15 271 dc:title "Chromagram" ;
Chris@15 272 dc:description """Tuning-adjusted chromagram from NNLS approximate transcription, with an emphasis on the medium note range.""" ;
Chris@15 273 vamp:fixed_bin_count "true" ;
Chris@15 274 vamp:unit "" ;
Chris@15 275 vamp:bin_count 12 ;
Chris@15 276 vamp:bin_names ( "A" "Bb" "B" "C" "C#" "D" "Eb" "E" "F" "F#" "G" "Ab");
Chris@15 277 vamp:computes_signal_type af:Chromagram ;
Chris@15 278 .
Chris@15 279 plugbase:nnls-chroma_output_basschroma a vamp:DenseOutput ;
Chris@15 280 vamp:identifier "basschroma" ;
Chris@15 281 dc:title "Bass Chromagram" ;
Chris@15 282 dc:description """Tuning-adjusted bass chromagram from NNLS approximate transcription, with an emphasis on the bass note range.""" ;
Chris@15 283 vamp:fixed_bin_count "true" ;
Chris@15 284 vamp:unit "" ;
Chris@15 285 vamp:bin_count 12 ;
Chris@15 286 vamp:bin_names ( "A" "Bb" "B" "C" "C#" "D" "Eb" "E" "F" "F#" "G" "Ab");
Chris@15 287 vamp:computes_signal_type af:Chromagram ;
Chris@15 288 .
Chris@15 289 plugbase:nnls-chroma_output_bothchroma a vamp:DenseOutput ;
Chris@15 290 vamp:identifier "bothchroma" ;
Chris@15 291 dc:title "Chromagram and Bass Chromagram" ;
Chris@15 292 dc:description """Tuning-adjusted chromagram and bass chromagram (stacked on top of each other) from NNLS approximate transcription.""" ;
Chris@15 293 vamp:fixed_bin_count "true" ;
Chris@15 294 vamp:unit "" ;
Chris@15 295 vamp:bin_count 24 ;
Chris@15 296 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 297 vamp:computes_signal_type af:Chromagram ;
Chris@15 298 .
Chris@15 299 plugbase:tuning a vamp:Plugin ;
Chris@15 300 dc:title "Tuning" ;
Chris@15 301 vamp:name "Tuning" ;
Chris@15 302 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@47 303 foaf:maker :maker ;
Chris@15 304 dc:rights """GPL""" ;
Chris@15 305 # cc:license <Place plugin license URI here and uncomment> ;
Chris@15 306 vamp:identifier "tuning" ;
Chris@15 307 vamp:vamp_API_version vamp:api_version_2 ;
Chris@86 308 owl:versionInfo "5" ;
Chris@15 309 vamp:input_domain vamp:FrequencyDomain ;
Chris@15 310
Chris@15 311
Chris@15 312 vamp:parameter plugbase:tuning_param_rollon ;
Chris@15 313
Chris@15 314 vamp:output plugbase:tuning_output_tuning ;
Chris@15 315 vamp:output plugbase:tuning_output_localtuning ;
Chris@15 316 .
Chris@15 317 plugbase:tuning_param_rollon a vamp:QuantizedParameter ;
Chris@15 318 vamp:identifier "rollon" ;
Chris@15 319 dc:title "spectral roll-on" ;
Chris@15 320 dc:format "" ;
Chris@15 321 vamp:min_value 0 ;
Chris@15 322 vamp:max_value 5 ;
Chris@15 323 vamp:unit "%" ;
Chris@15 324 vamp:quantize_step 0.5 ;
Chris@15 325 vamp:default_value 0 ;
Chris@15 326 vamp:value_names ();
Chris@15 327 .
Chris@15 328 plugbase:tuning_output_tuning a vamp:SparseOutput ;
Chris@15 329 vamp:identifier "tuning" ;
Chris@15 330 dc:title "Tuning" ;
Chris@15 331 dc:description """Returns a single label (at time 0 seconds) containing an estimate of the concert pitch in Hz.""" ;
Chris@15 332 vamp:fixed_bin_count "true" ;
Chris@15 333 vamp:unit "Hz" ;
Chris@15 334 a vamp:KnownExtentsOutput ;
Chris@15 335 vamp:min_value 427.47 ;
Chris@15 336 vamp:max_value 452.89 ;
Chris@15 337 vamp:bin_count 0 ;
Chris@15 338 vamp:sample_type vamp:VariableSampleRate ;
Chris@15 339 vamp:sample_rate 2.38221e-44 ;
Chris@15 340 vamp:computes_event_type af:MusicSegment;
Chris@15 341 .
Chris@15 342 plugbase:tuning_output_localtuning a vamp:DenseOutput ;
Chris@15 343 vamp:identifier "localtuning" ;
Chris@15 344 dc:title "Local Tuning" ;
Chris@15 345 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 346 vamp:fixed_bin_count "true" ;
Chris@15 347 vamp:unit "Hz" ;
Chris@15 348 a vamp:KnownExtentsOutput ;
Chris@15 349 vamp:min_value 427.47 ;
Chris@15 350 vamp:max_value 452.89 ;
Chris@15 351 vamp:bin_count 1 ;
Chris@15 352 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@15 353 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@15 354 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@15 355 .
Chris@15 356