annotate pyin.n3 @ 85:bf6b9338233d

added script
author Matthias Mauch <matthias.mauch@eecs.qmul.ac.uk>
date Thu, 04 Dec 2014 16:37:58 +0000
parents a2102b3641b9
children 712cb77f38c2
rev   line source
Chris@13 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Chris@13 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Chris@13 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
Chris@13 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/pyin#> .
Chris@13 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
Chris@13 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@13 7 @prefix af: <http://purl.org/ontology/af/> .
Chris@13 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@75 9 @prefix doap: <http://usefulinc.com/ns/doap#> .
Chris@13 10 @prefix cc: <http://web.resource.org/cc/> .
Chris@13 11 @prefix : <#> .
Chris@13 12
Chris@13 13 <> a vamp:PluginDescription ;
Chris@13 14 foaf:maker <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
Chris@13 15 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/pyin> .
Chris@13 16
Chris@75 17 :maker
Chris@75 18 foaf:name "Matthias Mauch" ;
Chris@75 19 foaf:logo <http://vamp-plugins.org/rdf/plugins/makers/qm.png> ;
Chris@75 20 foaf:page <http://c4dm.eecs.qmul.ac.uk/> .
Chris@75 21
Chris@75 22 plugbase:library a vamp:PluginLibrary ;
Chris@13 23 vamp:identifier "pyin" ;
Chris@75 24 dc:title "pYIN" ;
Chris@75 25 dc:description "pYIN is a modification of the well-loved YIN algorithm for fundamental frequency (F0) estimation in monophonic audio." ;
Chris@13 26 vamp:available_plugin plugbase:pyin ;
Chris@13 27 vamp:available_plugin plugbase:yin ;
Chris@14 28 foaf:page <http://code.soundsoftware.ac.uk/projects/pyin> ;
Chris@75 29 foaf:maker :maker ;
Chris@13 30 .
Chris@13 31
Chris@13 32 plugbase:pyin a vamp:Plugin ;
Chris@13 33 dc:title "pYin" ;
Chris@13 34 vamp:name "pYin" ;
Chris@13 35 dc:description """Monophonic pitch and note tracking based on a probabilistic Yin extension.""" ;
Chris@75 36 foaf:maker :maker ;
Chris@13 37 dc:rights """GPL""" ;
Chris@13 38 # cc:license <Place plugin license URI here and uncomment> ;
Chris@13 39 vamp:identifier "pyin" ;
Chris@13 40 vamp:vamp_API_version vamp:api_version_2 ;
Chris@13 41 owl:versionInfo "1" ;
Chris@13 42 vamp:input_domain vamp:TimeDomain ;
Chris@13 43
Chris@13 44 vamp:parameter plugbase:pyin_param_threshdistr ;
Chris@13 45 vamp:parameter plugbase:pyin_param_outputunvoiced ;
Chris@13 46
Chris@13 47 vamp:output plugbase:pyin_output_f0candidates ;
Chris@13 48 vamp:output plugbase:pyin_output_f0probs ;
Chris@13 49 vamp:output plugbase:pyin_output_voicedprob ;
Chris@13 50 vamp:output plugbase:pyin_output_candidatesalience ;
Chris@13 51 vamp:output plugbase:pyin_output_smoothedpitchtrack ;
Chris@13 52 vamp:output plugbase:pyin_output_notes ;
Chris@13 53 .
Chris@13 54 plugbase:pyin_param_threshdistr a vamp:QuantizedParameter ;
Chris@13 55 vamp:identifier "threshdistr" ;
Chris@13 56 dc:title "Yin threshold distribution" ;
Chris@13 57 dc:format "" ;
Chris@13 58 vamp:min_value 0 ;
Chris@13 59 vamp:max_value 7 ;
Chris@13 60 vamp:unit "" ;
Chris@13 61 vamp:quantize_step 1 ;
Chris@13 62 vamp:default_value 2 ;
Chris@13 63 vamp:value_names ( "Uniform" "Beta (mean 0.10)" "Beta (mean 0.15)" "Beta (mean 0.20)" "Beta (mean 0.30)" "Single Value 0.10" "Single Value 0.15" "Single Value 0.20");
Chris@13 64 .
Chris@13 65 plugbase:pyin_param_outputunvoiced a vamp:QuantizedParameter ;
Chris@13 66 vamp:identifier "outputunvoiced" ;
Chris@13 67 dc:title "Output estimates classified as unvoiced?" ;
Chris@13 68 dc:format "" ;
Chris@13 69 vamp:min_value 0 ;
Chris@13 70 vamp:max_value 2 ;
Chris@13 71 vamp:unit "" ;
Chris@13 72 vamp:quantize_step 1 ;
Chris@13 73 vamp:default_value 0 ;
Chris@13 74 vamp:value_names ( "No" "Yes" "Yes, as negative frequencies");
Chris@13 75 .
Chris@13 76 plugbase:pyin_output_f0candidates a vamp:SparseOutput ;
Chris@13 77 vamp:identifier "f0candidates" ;
Chris@13 78 dc:title "F0 Candidates" ;
Chris@13 79 dc:description """Estimated fundamental frequency candidates.""" ;
Chris@13 80 vamp:fixed_bin_count "false" ;
Chris@13 81 vamp:unit "Hz" ;
Chris@13 82 a vamp:KnownExtentsOutput ;
Chris@13 83 vamp:min_value 40 ;
Chris@13 84 vamp:max_value 500 ;
Chris@13 85 vamp:sample_type vamp:VariableSampleRate ;
Chris@13 86 vamp:sample_rate 172.266 ;
Chris@13 87 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 88 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 89 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 90 .
Chris@13 91 plugbase:pyin_output_f0probs a vamp:SparseOutput ;
Chris@13 92 vamp:identifier "f0probs" ;
Chris@13 93 dc:title "Candidate Probabilities" ;
Chris@13 94 dc:description """Probabilities of estimated fundamental frequency candidates.""" ;
Chris@13 95 vamp:fixed_bin_count "false" ;
Chris@13 96 vamp:unit "" ;
Chris@13 97 a vamp:KnownExtentsOutput ;
Chris@13 98 vamp:min_value 0 ;
Chris@13 99 vamp:max_value 1 ;
Chris@13 100 vamp:sample_type vamp:VariableSampleRate ;
Chris@13 101 vamp:sample_rate 172.266 ;
Chris@13 102 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 103 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 104 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 105 .
Chris@13 106 plugbase:pyin_output_voicedprob a vamp:DenseOutput ;
Chris@13 107 vamp:identifier "voicedprob" ;
Chris@13 108 dc:title "Voiced Probability" ;
Chris@13 109 dc:description """Probability that the signal is voiced according to Probabilistic Yin.""" ;
Chris@13 110 vamp:fixed_bin_count "true" ;
Chris@13 111 vamp:unit "" ;
Chris@13 112 a vamp:KnownExtentsOutput ;
Chris@13 113 vamp:min_value 0 ;
Chris@13 114 vamp:max_value 1 ;
Chris@13 115 vamp:bin_count 1 ;
Chris@13 116 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 117 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 118 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 119 .
Chris@13 120 plugbase:pyin_output_candidatesalience a vamp:DenseOutput ;
Chris@13 121 vamp:identifier "candidatesalience" ;
Chris@13 122 dc:title "Candidate Salience" ;
Chris@13 123 dc:description """Candidate Salience""" ;
Chris@13 124 vamp:fixed_bin_count "true" ;
Chris@13 125 vamp:unit "" ;
Chris@13 126 a vamp:KnownExtentsOutput ;
Chris@13 127 vamp:min_value 0 ;
Chris@13 128 vamp:max_value 1 ;
Chris@13 129 vamp:bin_count 1024 ;
Chris@13 130 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 131 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 132 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 133 .
Chris@13 134 plugbase:pyin_output_smoothedpitchtrack a vamp:DenseOutput ;
Chris@13 135 vamp:identifier "smoothedpitchtrack" ;
Chris@13 136 dc:title "Smoothed Pitch Track" ;
Chris@13 137 dc:description """.""" ;
Chris@13 138 vamp:fixed_bin_count "true" ;
Chris@13 139 vamp:unit "Hz" ;
Chris@13 140 vamp:bin_count 1 ;
Chris@13 141 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 142 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 143 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 144 .
Chris@13 145 plugbase:pyin_output_notes a vamp:SparseOutput ;
Chris@13 146 vamp:identifier "notes" ;
Chris@13 147 dc:title "Notes" ;
Chris@13 148 dc:description """Derived fixed-pitch note frequencies""" ;
Chris@13 149 vamp:fixed_bin_count "true" ;
Chris@13 150 vamp:unit "Hz" ;
Chris@13 151 vamp:bin_count 1 ;
Chris@13 152 vamp:sample_type vamp:VariableSampleRate ;
Chris@13 153 vamp:sample_rate 172.266 ;
Chris@13 154 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 155 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 156 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 157 .
Chris@13 158 plugbase:yin a vamp:Plugin ;
Chris@13 159 dc:title "Yin" ;
Chris@13 160 vamp:name "Yin" ;
Chris@13 161 dc:description """A vamp implementation of the Yin algorithm for monophonic frequency estimation.""" ;
Chris@75 162 foaf:maker :maker ;
Chris@13 163 dc:rights """GPL""" ;
Chris@13 164 # cc:license <Place plugin license URI here and uncomment> ;
Chris@13 165 vamp:identifier "yin" ;
Chris@13 166 vamp:vamp_API_version vamp:api_version_2 ;
Chris@13 167 owl:versionInfo "1" ;
Chris@13 168 vamp:input_domain vamp:TimeDomain ;
Chris@13 169
Chris@13 170 vamp:parameter plugbase:yin_param_yinThreshold ;
Chris@13 171 vamp:parameter plugbase:yin_param_outputunvoiced ;
Chris@13 172
Chris@13 173 vamp:output plugbase:yin_output_f0 ;
Chris@13 174 vamp:output plugbase:yin_output_periodicity ;
Chris@13 175 vamp:output plugbase:yin_output_rms ;
Chris@13 176 vamp:output plugbase:yin_output_salience ;
Chris@13 177 .
Chris@13 178 plugbase:yin_param_yinThreshold a vamp:QuantizedParameter ;
Chris@13 179 vamp:identifier "yinThreshold" ;
Chris@13 180 dc:title "Yin threshold" ;
Chris@13 181 dc:format "" ;
Chris@13 182 vamp:min_value 0.025 ;
Chris@13 183 vamp:max_value 1 ;
Chris@13 184 vamp:unit "" ;
Chris@13 185 vamp:quantize_step 0.025 ;
Chris@13 186 vamp:default_value 0.15 ;
Chris@13 187 vamp:value_names ();
Chris@13 188 .
Chris@13 189 plugbase:yin_param_outputunvoiced a vamp:QuantizedParameter ;
Chris@13 190 vamp:identifier "outputunvoiced" ;
Chris@13 191 dc:title "Output estimates classified as unvoiced?" ;
Chris@13 192 dc:format "" ;
Chris@13 193 vamp:min_value 0 ;
Chris@13 194 vamp:max_value 2 ;
Chris@13 195 vamp:unit "" ;
Chris@13 196 vamp:quantize_step 1 ;
Chris@13 197 vamp:default_value 2 ;
Chris@13 198 vamp:value_names ( "No" "Yes" "Yes, as negative frequencies");
Chris@13 199 .
Chris@13 200 plugbase:yin_output_f0 a vamp:DenseOutput ;
Chris@13 201 vamp:identifier "f0" ;
Chris@13 202 dc:title "Estimated f0" ;
Chris@13 203 dc:description """Estimated fundamental frequency""" ;
Chris@13 204 vamp:fixed_bin_count "true" ;
Chris@13 205 vamp:unit "Hz" ;
Chris@13 206 a vamp:KnownExtentsOutput ;
Chris@13 207 vamp:min_value 40 ;
Chris@13 208 vamp:max_value 500 ;
Chris@13 209 vamp:bin_count 1 ;
Chris@13 210 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 211 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 212 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 213 .
Chris@13 214 plugbase:yin_output_periodicity a vamp:DenseOutput ;
Chris@13 215 vamp:identifier "periodicity" ;
Chris@13 216 dc:title "Periodicity" ;
Chris@13 217 dc:description """by-product of Yin f0 estimation""" ;
Chris@13 218 vamp:fixed_bin_count "true" ;
Chris@13 219 vamp:unit "" ;
Chris@13 220 a vamp:KnownExtentsOutput ;
Chris@13 221 vamp:min_value 0 ;
Chris@13 222 vamp:max_value 1 ;
Chris@13 223 vamp:bin_count 1 ;
Chris@13 224 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 225 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 226 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 227 .
Chris@13 228 plugbase:yin_output_rms a vamp:DenseOutput ;
Chris@13 229 vamp:identifier "rms" ;
Chris@13 230 dc:title "root mean square" ;
Chris@13 231 dc:description """Root mean square of the waveform.""" ;
Chris@13 232 vamp:fixed_bin_count "true" ;
Chris@13 233 vamp:unit "" ;
Chris@13 234 a vamp:KnownExtentsOutput ;
Chris@13 235 vamp:min_value 0 ;
Chris@13 236 vamp:max_value 1 ;
Chris@13 237 vamp:bin_count 1 ;
Chris@13 238 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 239 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 240 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 241 .
Chris@13 242 plugbase:yin_output_salience a vamp:DenseOutput ;
Chris@13 243 vamp:identifier "salience" ;
Chris@13 244 dc:title "Salience" ;
Chris@13 245 dc:description """Yin Salience""" ;
Chris@13 246 vamp:fixed_bin_count "true" ;
Chris@13 247 vamp:unit "" ;
Chris@13 248 a vamp:KnownExtentsOutput ;
Chris@13 249 vamp:min_value 0 ;
Chris@13 250 vamp:max_value 1 ;
Chris@13 251 vamp:bin_count 1024 ;
Chris@13 252 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 253 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 254 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 255 .
Chris@13 256