annotate silvet.n3 @ 346:5acce45e2ec6

Avoid NaN in empty notes in template matrix
author Chris Cannam
date Wed, 12 Aug 2015 16:01:58 +0100
parents 506f57984407
children 34357aeab3ad
rev   line source
Chris@191 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Chris@191 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Chris@191 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
Chris@191 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/silvet#> .
Chris@191 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
Chris@191 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@191 7 @prefix af: <http://purl.org/ontology/af/> .
Chris@191 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@209 9 @prefix doap: <http://usefulinc.com/ns/doap#> .
Chris@191 10 @prefix cc: <http://web.resource.org/cc/> .
Chris@191 11 @prefix : <#> .
Chris@191 12
Chris@209 13
Chris@209 14 ## Properties of this document
Chris@209 15
Chris@209 16 <> a vamp:PluginDescription ;
Chris@209 17 foaf:maker <http://vamp-plugins.org/rdf/template-generator> ;
Chris@191 18 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/silvet> .
Chris@191 19
Chris@209 20
Chris@209 21 ## Maker of the whole plugin library
Chris@209 22
Chris@209 23 :library_maker
Chris@209 24 foaf:name "Queen Mary, University of London" ;
Chris@209 25 foaf:logo <http://vamp-plugins.org/rdf/plugins/makers/qm.png> ;
Chris@209 26 foaf:page <http://c4dm.eecs.qmul.ac.uk/>
Chris@191 27 .
Chris@191 28
Chris@209 29
Chris@209 30 ## Properties of the plugin library, and references to the plugins it contains
Chris@209 31
Chris@209 32 plugbase:library a vamp:PluginLibrary ;
Chris@209 33 vamp:identifier "silvet" ;
Chris@209 34 foaf:maker :library_maker ;
Chris@209 35 vamp:available_plugin plugbase:silvet ;
Chris@209 36 dc:title "Silvet Note Transcription" ; # Place library name here and uncomment
Chris@209 37 dc:description """Silvet, or Shift-Invariant Latent Variable Transcription, is a Vamp plugin for polyphonic music transcription (from audio to note times and pitches).""" ;
Chris@209 38 foaf:page <http://code.soundsoftware.ac.uk/projects/silvet> ;
Chris@209 39 doap:download-page <http://code.soundsoftware.ac.uk/projects/silvet/files> ;
Chris@209 40 .
Chris@209 41
Chris@209 42
Chris@209 43 ## Properties of the Silvet Note Transcription plugin
Chris@209 44
Chris@209 45 plugbase:silvet a vamp:Plugin ;
Chris@191 46 dc:title "Silvet Note Transcription" ;
Chris@191 47 vamp:name "Silvet Note Transcription" ;
Chris@209 48 dc:description """Estimate the note onsets, pitches, and durations that make up a music recording.""" ;
Chris@209 49 foaf:maker :library_maker ;
Chris@191 50 dc:rights """Method by Emmanouil Benetos and Simon Dixon; plugin by Chris Cannam and Emmanouil Benetos. GPL licence.""" ;
Chris@191 51 # cc:license <Place plugin license URI here and uncomment> ;
Chris@191 52 vamp:identifier "silvet" ;
Chris@191 53 vamp:vamp_API_version vamp:api_version_2 ;
Chris@332 54 owl:versionInfo "3" ;
Chris@191 55 vamp:input_domain vamp:TimeDomain ;
Chris@191 56 vamp:parameter plugbase:silvet_param_mode ;
Chris@191 57 vamp:parameter plugbase:silvet_param_instrument ;
Chris@191 58 vamp:parameter plugbase:silvet_param_finetune ;
Chris@191 59
Chris@191 60 vamp:output plugbase:silvet_output_notes ;
Chris@332 61 vamp:output plugbase:silvet_output_onsets ;
Chris@191 62 vamp:output plugbase:silvet_output_timefreq ;
Chris@296 63 vamp:output plugbase:silvet_output_pitchactivation ;
Chris@332 64 vamp:output plugbase:silvet_output_chroma ;
Chris@332 65 vamp:output plugbase:silvet_output_templates ;
Chris@191 66 .
Chris@332 67
Chris@191 68 plugbase:silvet_param_mode a vamp:QuantizedParameter ;
Chris@191 69 vamp:identifier "mode" ;
Chris@191 70 dc:title "Processing mode" ;
Chris@191 71 dc:format "" ;
Chris@191 72 vamp:min_value 0 ;
Chris@345 73 vamp:max_value 1 ;
Chris@191 74 vamp:unit "" ;
Chris@191 75 vamp:quantize_step 1 ;
Chris@191 76 vamp:default_value 1 ;
Chris@345 77 vamp:value_names ( "Live (faster and lower latency)" "Intensive (higher quality)");
Chris@191 78 .
Chris@191 79 plugbase:silvet_param_instrument a vamp:QuantizedParameter ;
Chris@191 80 vamp:identifier "instrument" ;
Chris@191 81 dc:title "Instrument" ;
Chris@191 82 dc:format "" ;
Chris@191 83 vamp:min_value 0 ;
Chris@296 84 vamp:max_value 13 ;
Chris@191 85 vamp:unit "" ;
Chris@191 86 vamp:quantize_step 1 ;
Chris@191 87 vamp:default_value 0 ;
Chris@220 88 vamp:value_names ( "Multiple or unknown instruments" "Piano" "Guitar" "Violin" "Viola" "Cello" "Horn" "Flute" "Oboe" "Clarinet" "Tenor Sax" "Bassoon" "String quartet" "Wind ensemble");
Chris@191 89 .
Chris@191 90 plugbase:silvet_param_finetune a vamp:QuantizedParameter ;
Chris@191 91 vamp:identifier "finetune" ;
Chris@191 92 dc:title "Return fine pitch estimates" ;
Chris@191 93 dc:format "" ;
Chris@191 94 vamp:min_value 0 ;
Chris@191 95 vamp:max_value 1 ;
Chris@191 96 vamp:unit "" ;
Chris@191 97 vamp:quantize_step 1 ;
Chris@191 98 vamp:default_value 0 ;
Chris@191 99 vamp:value_names ();
Chris@191 100 .
Chris@191 101 plugbase:silvet_output_notes a vamp:SparseOutput ;
Chris@191 102 vamp:identifier "notes" ;
Chris@191 103 dc:title "Note transcription" ;
Chris@332 104 dc:description """Overall note transcription. Each note has time, duration, estimated fundamental frequency, and a synthetic MIDI velocity (1-127) estimated from the strength of the pitch in the mixture.""" ;
Chris@191 105 vamp:fixed_bin_count "true" ;
Chris@191 106 vamp:unit "Hz" ;
Chris@191 107 vamp:bin_count 2 ;
Chris@191 108 vamp:bin_names ( "Frequency" "Velocity");
Chris@191 109 vamp:sample_type vamp:VariableSampleRate ;
Chris@332 110 vamp:sample_rate 711 ;
Chris@209 111 vamp:computes_event_type af:Note ;
Chris@191 112 .
Chris@332 113 plugbase:silvet_output_onsets a vamp:SparseOutput ;
Chris@332 114 vamp:identifier "onsets" ;
Chris@332 115 dc:title "Note onsets" ;
Chris@332 116 dc:description """Note onsets, without durations. These can be calculated sooner than complete notes, because it isn't necessary to wait for a note to finish before returning its feature. Each event has time, estimated fundamental frequency in Hz, and a synthetic MIDI velocity (1-127) estimated from the strength of the pitch in the mixture.""" ;
Chris@332 117 vamp:fixed_bin_count "true" ;
Chris@332 118 vamp:unit "Hz" ;
Chris@332 119 vamp:bin_count 2 ;
Chris@332 120 vamp:bin_names ( "Frequency" "Velocity");
Chris@332 121 vamp:sample_type vamp:VariableSampleRate ;
Chris@332 122 vamp:sample_rate 711 ;
Chris@332 123 vamp:computes_event_type af:Onset ;
Chris@332 124 .
Chris@345 125 plugbase:silvet_output_onoffsets a vamp:SparseOutput ;
Chris@345 126 vamp:identifier "onoffsets" ;
Chris@345 127 dc:title "Note onsets and offsets" ;
Chris@345 128 dc:description """Note onsets and offsets as separate events. Each onset event has time, estimated fundamental frequency in Hz, and a synthetic MIDI velocity (1-127) estimated from the strength of the pitch in the mixture. Offsets are represented in the same way but with a velocity of 0.""" ;
Chris@345 129 vamp:fixed_bin_count "true" ;
Chris@345 130 vamp:unit "Hz" ;
Chris@345 131 vamp:bin_count 2 ;
Chris@345 132 vamp:bin_names ( "Frequency" "Velocity");
Chris@345 133 vamp:sample_type vamp:VariableSampleRate ;
Chris@345 134 vamp:sample_rate 711 ;
Chris@345 135 .
Chris@191 136 plugbase:silvet_output_timefreq a vamp:DenseOutput ;
Chris@191 137 vamp:identifier "timefreq" ;
Chris@191 138 dc:title "Time-frequency distribution" ;
Chris@332 139 dc:description """Filtered constant-Q time-frequency distribution as used as input to the expectation-maximisation algorithm.""" ;
Chris@191 140 vamp:fixed_bin_count "true" ;
Chris@332 141 vamp:unit "" ;
Chris@296 142 vamp:bin_count 545 ;
Chris@209 143 vamp:computes_signal_type af:Spectrogram ;
Chris@191 144 .
Chris@296 145 plugbase:silvet_output_pitchactivation a vamp:DenseOutput ;
Chris@296 146 vamp:identifier "pitchactivation" ;
Chris@296 147 dc:title "Pitch activation distribution" ;
Chris@296 148 dc:description """Pitch activation distribution resulting from expectation-maximisation algorithm, prior to note extraction.""" ;
Chris@296 149 vamp:fixed_bin_count "true" ;
Chris@296 150 vamp:unit "" ;
Chris@296 151 vamp:bin_count 88 ;
Chris@296 152 vamp:computes_signal_type af:Spectrogram ;
Chris@296 153 .
Chris@332 154 plugbase:silvet_output_chroma a vamp:DenseOutput ;
Chris@332 155 vamp:identifier "chroma" ;
Chris@332 156 dc:title "Pitch chroma distribution" ;
Chris@332 157 dc:description """Pitch chroma distribution formed by wrapping the un-thresholded pitch activation distribution into a single octave of semitone bins.""" ;
Chris@332 158 vamp:fixed_bin_count "true" ;
Chris@332 159 vamp:unit "" ;
Chris@332 160 vamp:bin_count 12 ;
Chris@332 161 vamp:computes_signal_type af:Chromagram ;
Chris@332 162 .
Chris@332 163 plugbase:silvet_output_templates a vamp:DenseOutput ;
Chris@332 164 vamp:identifier "templates" ;
Chris@332 165 dc:title "Templates" ;
Chris@332 166 dc:description """Constant-Q spectral templates for the selected instrument pack.""" ;
Chris@332 167 vamp:fixed_bin_count "true" ;
Chris@332 168 vamp:unit "" ;
Chris@332 169 vamp:bin_count 545 ;
Chris@332 170 .