annotate pyin.n3 @ 164:a7d9c6142f8f tip

Added tag v1.2 for changeset 4a97f7638ffd
author Chris Cannam
date Thu, 06 Feb 2020 15:02:47 +0000
parents 26c203b97e49
children
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@124 26 vamp:available_plugin plugbase:localcandidatepyin ;
Chris@13 27 vamp:available_plugin plugbase:pyin ;
Chris@13 28 vamp:available_plugin plugbase:yin ;
Chris@14 29 foaf:page <http://code.soundsoftware.ac.uk/projects/pyin> ;
Chris@75 30 foaf:maker :maker ;
Chris@13 31 .
Chris@13 32
Chris@124 33 plugbase:localcandidatepyin a vamp:Plugin ;
Chris@124 34 dc:title "Local Candidate PYIN" ;
Chris@124 35 vamp:name "Local Candidate PYIN" ;
Chris@124 36 dc:description """Monophonic pitch and note tracking based on a probabilistic Yin extension.""" ;
Chris@124 37 foaf:maker :library_maker ;
Chris@124 38 dc:rights """GPL""" ;
Chris@124 39 # cc:license <Place plugin license URI here and uncomment> ;
Chris@124 40 vamp:identifier "localcandidatepyin" ;
Chris@124 41 vamp:vamp_API_version vamp:api_version_2 ;
Chris@160 42 owl:versionInfo "3" ;
Chris@124 43 vamp:input_domain vamp:TimeDomain ;
Chris@124 44 vamp:parameter plugbase:localcandidatepyin_param_threshdistr ;
Chris@124 45 vamp:parameter plugbase:localcandidatepyin_param_outputunvoiced ;
Chris@124 46 vamp:parameter plugbase:localcandidatepyin_param_precisetime ;
Chris@124 47
Chris@124 48 vamp:output plugbase:localcandidatepyin_output_pitchtrackcandidates ;
Chris@124 49 .
Chris@124 50 plugbase:localcandidatepyin_param_threshdistr a vamp:QuantizedParameter ;
Chris@124 51 vamp:identifier "threshdistr" ;
Chris@124 52 dc:title "Yin threshold distribution" ;
Chris@124 53 dc:format "" ;
Chris@124 54 vamp:min_value 0 ;
Chris@124 55 vamp:max_value 7 ;
Chris@124 56 vamp:unit "" ;
Chris@124 57 vamp:quantize_step 1 ;
Chris@124 58 vamp:default_value 2 ;
Chris@124 59 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@124 60 .
Chris@124 61 plugbase:localcandidatepyin_param_outputunvoiced a vamp:QuantizedParameter ;
Chris@124 62 vamp:identifier "outputunvoiced" ;
Chris@124 63 dc:title "Output estimates classified as unvoiced?" ;
Chris@124 64 dc:format "" ;
Chris@124 65 vamp:min_value 0 ;
Chris@124 66 vamp:max_value 2 ;
Chris@124 67 vamp:unit "" ;
Chris@124 68 vamp:quantize_step 1 ;
Chris@124 69 vamp:default_value 0 ;
Chris@124 70 vamp:value_names ( "No" "Yes" "Yes, as negative frequencies");
Chris@124 71 .
Chris@124 72 plugbase:localcandidatepyin_param_precisetime a vamp:QuantizedParameter ;
Chris@124 73 vamp:identifier "precisetime" ;
Chris@124 74 dc:title "Use non-standard precise YIN timing (slow)." ;
Chris@124 75 dc:format "" ;
Chris@124 76 vamp:min_value 0 ;
Chris@124 77 vamp:max_value 1 ;
Chris@124 78 vamp:unit "" ;
Chris@124 79 vamp:quantize_step 1 ;
Chris@124 80 vamp:default_value 0 ;
Chris@124 81 vamp:value_names ();
Chris@124 82 .
Chris@124 83 plugbase:localcandidatepyin_output_pitchtrackcandidates a vamp:SparseOutput ;
Chris@124 84 vamp:identifier "pitchtrackcandidates" ;
Chris@124 85 dc:title "Pitch track candidates" ;
Chris@124 86 dc:description """Multiple candidate pitch tracks.""" ;
Chris@124 87 vamp:fixed_bin_count "false" ;
Chris@124 88 vamp:unit "Hz" ;
Chris@124 89 a vamp:KnownExtentsOutput ;
Chris@124 90 vamp:min_value 40 ;
Chris@124 91 vamp:max_value 500 ;
Chris@124 92 vamp:sample_type vamp:VariableSampleRate ;
Chris@124 93 vamp:sample_rate 172.266 ;
Chris@124 94 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@124 95 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@124 96 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@124 97 .
Chris@124 98
Chris@13 99 plugbase:pyin a vamp:Plugin ;
Chris@13 100 dc:title "pYin" ;
Chris@13 101 vamp:name "pYin" ;
Chris@13 102 dc:description """Monophonic pitch and note tracking based on a probabilistic Yin extension.""" ;
Chris@75 103 foaf:maker :maker ;
Chris@13 104 dc:rights """GPL""" ;
Chris@13 105 # cc:license <Place plugin license URI here and uncomment> ;
Chris@13 106 vamp:identifier "pyin" ;
Chris@13 107 vamp:vamp_API_version vamp:api_version_2 ;
Chris@160 108 owl:versionInfo "3" ;
Chris@13 109 vamp:input_domain vamp:TimeDomain ;
Chris@13 110
Chris@13 111 vamp:parameter plugbase:pyin_param_threshdistr ;
Chris@13 112 vamp:parameter plugbase:pyin_param_outputunvoiced ;
Chris@124 113 vamp:parameter plugbase:pyin_param_precisetime ;
Chris@124 114 vamp:parameter plugbase:pyin_param_lowampsuppression ;
Chris@124 115 vamp:parameter plugbase:pyin_param_onsetsensitivity ;
Chris@124 116 vamp:parameter plugbase:pyin_param_prunethresh ;
Chris@13 117
Chris@13 118 vamp:output plugbase:pyin_output_f0candidates ;
Chris@13 119 vamp:output plugbase:pyin_output_f0probs ;
Chris@13 120 vamp:output plugbase:pyin_output_voicedprob ;
Chris@13 121 vamp:output plugbase:pyin_output_candidatesalience ;
Chris@13 122 vamp:output plugbase:pyin_output_smoothedpitchtrack ;
Chris@13 123 vamp:output plugbase:pyin_output_notes ;
Chris@13 124 .
Chris@13 125 plugbase:pyin_param_threshdistr a vamp:QuantizedParameter ;
Chris@13 126 vamp:identifier "threshdistr" ;
Chris@13 127 dc:title "Yin threshold distribution" ;
Chris@13 128 dc:format "" ;
Chris@13 129 vamp:min_value 0 ;
Chris@13 130 vamp:max_value 7 ;
Chris@13 131 vamp:unit "" ;
Chris@13 132 vamp:quantize_step 1 ;
Chris@13 133 vamp:default_value 2 ;
Chris@13 134 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 135 .
Chris@13 136 plugbase:pyin_param_outputunvoiced a vamp:QuantizedParameter ;
Chris@13 137 vamp:identifier "outputunvoiced" ;
Chris@13 138 dc:title "Output estimates classified as unvoiced?" ;
Chris@13 139 dc:format "" ;
Chris@13 140 vamp:min_value 0 ;
Chris@13 141 vamp:max_value 2 ;
Chris@13 142 vamp:unit "" ;
Chris@13 143 vamp:quantize_step 1 ;
Chris@13 144 vamp:default_value 0 ;
Chris@13 145 vamp:value_names ( "No" "Yes" "Yes, as negative frequencies");
Chris@13 146 .
Chris@124 147 plugbase:pyin_param_precisetime a vamp:QuantizedParameter ;
Chris@124 148 vamp:identifier "precisetime" ;
Chris@124 149 dc:title "Use non-standard precise YIN timing (slow)." ;
Chris@124 150 dc:format "" ;
Chris@124 151 vamp:min_value 0 ;
Chris@124 152 vamp:max_value 1 ;
Chris@124 153 vamp:unit "" ;
Chris@124 154 vamp:quantize_step 1 ;
Chris@124 155 vamp:default_value 0 ;
Chris@124 156 vamp:value_names ();
Chris@124 157 .
Chris@124 158 plugbase:pyin_param_lowampsuppression a vamp:Parameter ;
Chris@124 159 vamp:identifier "lowampsuppression" ;
Chris@124 160 dc:title "Suppress low amplitude pitch estimates." ;
Chris@124 161 dc:format "" ;
Chris@124 162 vamp:min_value 0 ;
Chris@124 163 vamp:max_value 1 ;
Chris@124 164 vamp:unit "" ;
Chris@124 165 vamp:default_value 0.1 ;
Chris@124 166 vamp:value_names ();
Chris@124 167 .
Chris@124 168 plugbase:pyin_param_onsetsensitivity a vamp:Parameter ;
Chris@124 169 vamp:identifier "onsetsensitivity" ;
Chris@124 170 dc:title "Onset sensitivity" ;
Chris@124 171 dc:format "" ;
Chris@124 172 vamp:min_value 0 ;
Chris@124 173 vamp:max_value 1 ;
Chris@124 174 vamp:unit "" ;
Chris@124 175 vamp:default_value 0.5 ;
Chris@124 176 vamp:value_names ();
Chris@124 177 .
Chris@124 178 plugbase:pyin_param_prunethresh a vamp:Parameter ;
Chris@124 179 vamp:identifier "prunethresh" ;
Chris@124 180 dc:title "Duration pruning threshold." ;
Chris@124 181 dc:format "" ;
Chris@124 182 vamp:min_value 0 ;
Chris@124 183 vamp:max_value 0.2 ;
Chris@124 184 vamp:unit "" ;
Chris@124 185 vamp:default_value 0.05 ;
Chris@124 186 vamp:value_names ();
Chris@124 187 .
Chris@13 188 plugbase:pyin_output_f0candidates a vamp:SparseOutput ;
Chris@13 189 vamp:identifier "f0candidates" ;
Chris@13 190 dc:title "F0 Candidates" ;
Chris@13 191 dc:description """Estimated fundamental frequency candidates.""" ;
Chris@13 192 vamp:fixed_bin_count "false" ;
Chris@13 193 vamp:unit "Hz" ;
Chris@13 194 a vamp:KnownExtentsOutput ;
Chris@13 195 vamp:min_value 40 ;
Chris@13 196 vamp:max_value 500 ;
Chris@13 197 vamp:sample_type vamp:VariableSampleRate ;
Chris@13 198 vamp:sample_rate 172.266 ;
Chris@13 199 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 200 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 201 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 202 .
Chris@13 203 plugbase:pyin_output_f0probs a vamp:SparseOutput ;
Chris@13 204 vamp:identifier "f0probs" ;
Chris@13 205 dc:title "Candidate Probabilities" ;
Chris@13 206 dc:description """Probabilities of estimated fundamental frequency candidates.""" ;
Chris@13 207 vamp:fixed_bin_count "false" ;
Chris@13 208 vamp:unit "" ;
Chris@13 209 a vamp:KnownExtentsOutput ;
Chris@13 210 vamp:min_value 0 ;
Chris@13 211 vamp:max_value 1 ;
Chris@13 212 vamp:sample_type vamp:VariableSampleRate ;
Chris@13 213 vamp:sample_rate 172.266 ;
Chris@13 214 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 215 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 216 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 217 .
Chris@13 218 plugbase:pyin_output_voicedprob a vamp:DenseOutput ;
Chris@13 219 vamp:identifier "voicedprob" ;
Chris@13 220 dc:title "Voiced Probability" ;
Chris@13 221 dc:description """Probability that the signal is voiced according to Probabilistic Yin.""" ;
Chris@13 222 vamp:fixed_bin_count "true" ;
Chris@13 223 vamp:unit "" ;
Chris@13 224 a vamp:KnownExtentsOutput ;
Chris@13 225 vamp:min_value 0 ;
Chris@13 226 vamp:max_value 1 ;
Chris@13 227 vamp:bin_count 1 ;
Chris@13 228 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 229 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 230 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 231 .
Chris@13 232 plugbase:pyin_output_candidatesalience a vamp:DenseOutput ;
Chris@13 233 vamp:identifier "candidatesalience" ;
Chris@13 234 dc:title "Candidate Salience" ;
Chris@13 235 dc:description """Candidate Salience""" ;
Chris@13 236 vamp:fixed_bin_count "true" ;
Chris@13 237 vamp:unit "" ;
Chris@13 238 a vamp:KnownExtentsOutput ;
Chris@13 239 vamp:min_value 0 ;
Chris@13 240 vamp:max_value 1 ;
Chris@13 241 vamp:bin_count 1024 ;
Chris@13 242 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 243 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 244 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 245 .
Chris@13 246 plugbase:pyin_output_smoothedpitchtrack a vamp:DenseOutput ;
Chris@13 247 vamp:identifier "smoothedpitchtrack" ;
Chris@13 248 dc:title "Smoothed Pitch Track" ;
Chris@13 249 dc:description """.""" ;
Chris@13 250 vamp:fixed_bin_count "true" ;
Chris@13 251 vamp:unit "Hz" ;
Chris@13 252 vamp:bin_count 1 ;
Chris@13 253 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 254 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 255 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 256 .
Chris@13 257 plugbase:pyin_output_notes a vamp:SparseOutput ;
Chris@13 258 vamp:identifier "notes" ;
Chris@13 259 dc:title "Notes" ;
Chris@13 260 dc:description """Derived fixed-pitch note frequencies""" ;
Chris@13 261 vamp:fixed_bin_count "true" ;
Chris@13 262 vamp:unit "Hz" ;
Chris@13 263 vamp:bin_count 1 ;
Chris@13 264 vamp:sample_type vamp:VariableSampleRate ;
Chris@13 265 vamp:sample_rate 172.266 ;
Chris@152 266 vamp:computes_event_type af:Note ;
Chris@13 267 .
Chris@13 268 plugbase:yin a vamp:Plugin ;
Chris@13 269 dc:title "Yin" ;
Chris@13 270 vamp:name "Yin" ;
Chris@13 271 dc:description """A vamp implementation of the Yin algorithm for monophonic frequency estimation.""" ;
Chris@75 272 foaf:maker :maker ;
Chris@13 273 dc:rights """GPL""" ;
Chris@13 274 # cc:license <Place plugin license URI here and uncomment> ;
Chris@13 275 vamp:identifier "yin" ;
Chris@13 276 vamp:vamp_API_version vamp:api_version_2 ;
Chris@160 277 owl:versionInfo "3" ;
Chris@13 278 vamp:input_domain vamp:TimeDomain ;
Chris@13 279
Chris@13 280 vamp:parameter plugbase:yin_param_yinThreshold ;
Chris@13 281 vamp:parameter plugbase:yin_param_outputunvoiced ;
Chris@13 282
Chris@13 283 vamp:output plugbase:yin_output_f0 ;
Chris@13 284 vamp:output plugbase:yin_output_periodicity ;
Chris@13 285 vamp:output plugbase:yin_output_rms ;
Chris@13 286 vamp:output plugbase:yin_output_salience ;
Chris@13 287 .
Chris@13 288 plugbase:yin_param_yinThreshold a vamp:QuantizedParameter ;
Chris@13 289 vamp:identifier "yinThreshold" ;
Chris@13 290 dc:title "Yin threshold" ;
Chris@13 291 dc:format "" ;
Chris@13 292 vamp:min_value 0.025 ;
Chris@13 293 vamp:max_value 1 ;
Chris@13 294 vamp:unit "" ;
Chris@13 295 vamp:quantize_step 0.025 ;
Chris@13 296 vamp:default_value 0.15 ;
Chris@13 297 vamp:value_names ();
Chris@13 298 .
Chris@13 299 plugbase:yin_param_outputunvoiced a vamp:QuantizedParameter ;
Chris@13 300 vamp:identifier "outputunvoiced" ;
Chris@13 301 dc:title "Output estimates classified as unvoiced?" ;
Chris@13 302 dc:format "" ;
Chris@13 303 vamp:min_value 0 ;
Chris@13 304 vamp:max_value 2 ;
Chris@13 305 vamp:unit "" ;
Chris@13 306 vamp:quantize_step 1 ;
Chris@13 307 vamp:default_value 2 ;
Chris@13 308 vamp:value_names ( "No" "Yes" "Yes, as negative frequencies");
Chris@13 309 .
Chris@13 310 plugbase:yin_output_f0 a vamp:DenseOutput ;
Chris@13 311 vamp:identifier "f0" ;
Chris@13 312 dc:title "Estimated f0" ;
Chris@13 313 dc:description """Estimated fundamental frequency""" ;
Chris@13 314 vamp:fixed_bin_count "true" ;
Chris@13 315 vamp:unit "Hz" ;
Chris@13 316 a vamp:KnownExtentsOutput ;
Chris@13 317 vamp:min_value 40 ;
Chris@13 318 vamp:max_value 500 ;
Chris@13 319 vamp:bin_count 1 ;
Chris@152 320 vamp:computes_event_type af:Pitch ;
Chris@13 321 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 322 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 323 .
Chris@13 324 plugbase:yin_output_periodicity a vamp:DenseOutput ;
Chris@13 325 vamp:identifier "periodicity" ;
Chris@13 326 dc:title "Periodicity" ;
Chris@13 327 dc:description """by-product of Yin f0 estimation""" ;
Chris@13 328 vamp:fixed_bin_count "true" ;
Chris@13 329 vamp:unit "" ;
Chris@13 330 a vamp:KnownExtentsOutput ;
Chris@13 331 vamp:min_value 0 ;
Chris@13 332 vamp:max_value 1 ;
Chris@13 333 vamp:bin_count 1 ;
Chris@13 334 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 335 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 336 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 337 .
Chris@13 338 plugbase:yin_output_rms a vamp:DenseOutput ;
Chris@13 339 vamp:identifier "rms" ;
Chris@124 340 dc:title "Root mean square" ;
Chris@13 341 dc:description """Root mean square of the waveform.""" ;
Chris@13 342 vamp:fixed_bin_count "true" ;
Chris@13 343 vamp:unit "" ;
Chris@13 344 a vamp:KnownExtentsOutput ;
Chris@13 345 vamp:min_value 0 ;
Chris@13 346 vamp:max_value 1 ;
Chris@13 347 vamp:bin_count 1 ;
Chris@13 348 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 349 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 350 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 351 .
Chris@13 352 plugbase:yin_output_salience a vamp:DenseOutput ;
Chris@13 353 vamp:identifier "salience" ;
Chris@13 354 dc:title "Salience" ;
Chris@13 355 dc:description """Yin Salience""" ;
Chris@13 356 vamp:fixed_bin_count "true" ;
Chris@13 357 vamp:unit "" ;
Chris@13 358 a vamp:KnownExtentsOutput ;
Chris@13 359 vamp:min_value 0 ;
Chris@13 360 vamp:max_value 1 ;
Chris@13 361 vamp:bin_count 1024 ;
Chris@13 362 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@13 363 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@13 364 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@13 365 .
Chris@13 366