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