diff plugins/pyin.n3 @ 81:bb90681dfd1b

Update some plugin RDF
author Chris Cannam
date Mon, 03 Feb 2020 14:41:54 +0000
parents 70086ab5d85b
children bebc2b9ea7fc
line wrap: on
line diff
--- a/plugins/pyin.n3	Wed Jan 29 09:30:40 2020 +0000
+++ b/plugins/pyin.n3	Mon Feb 03 14:41:54 2020 +0000
@@ -23,12 +23,79 @@
     vamp:identifier "pyin"  ; 
     dc:title "pYIN" ;
     dc:description "pYIN is a modification of the well-loved YIN algorithm for fundamental frequency (F0) estimation in monophonic audio." ;
+    vamp:available_plugin  plugbase:localcandidatepyin ; 
     vamp:available_plugin plugbase:pyin ; 
     vamp:available_plugin plugbase:yin ; 
     foaf:page <http://code.soundsoftware.ac.uk/projects/pyin> ;
     foaf:maker :maker ;
     .
 
+plugbase:localcandidatepyin a vamp:Plugin ;
+    dc:title              "Local Candidate PYIN" ;
+    vamp:name             "Local Candidate PYIN" ;
+    dc:description        """Monophonic pitch and note tracking based on a probabilistic Yin extension.""" ;
+    foaf:maker            :library_maker ;
+    dc:rights             """GPL""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "localcandidatepyin" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "2" ;
+    vamp:input_domain     vamp:TimeDomain ;
+    vamp:parameter   plugbase:localcandidatepyin_param_threshdistr ;
+    vamp:parameter   plugbase:localcandidatepyin_param_outputunvoiced ;
+    vamp:parameter   plugbase:localcandidatepyin_param_precisetime ;
+
+    vamp:output      plugbase:localcandidatepyin_output_pitchtrackcandidates ;
+    .
+plugbase:localcandidatepyin_param_threshdistr a  vamp:QuantizedParameter ;
+    vamp:identifier     "threshdistr" ;
+    dc:title            "Yin threshold distribution" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       7 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   1  ;
+    vamp:default_value   2 ;
+    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");
+    .
+plugbase:localcandidatepyin_param_outputunvoiced a  vamp:QuantizedParameter ;
+    vamp:identifier     "outputunvoiced" ;
+    dc:title            "Output estimates classified as unvoiced?" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       2 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   1  ;
+    vamp:default_value   0 ;
+    vamp:value_names     ( "No" "Yes" "Yes, as negative frequencies");
+    .
+plugbase:localcandidatepyin_param_precisetime a  vamp:QuantizedParameter ;
+    vamp:identifier     "precisetime" ;
+    dc:title            "Use non-standard precise YIN timing (slow)." ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   1  ;
+    vamp:default_value   0 ;
+    vamp:value_names     ();
+    .
+plugbase:localcandidatepyin_output_pitchtrackcandidates a  vamp:SparseOutput ;
+    vamp:identifier       "pitchtrackcandidates" ;
+    dc:title              "Pitch track candidates" ;
+    dc:description        """Multiple candidate pitch tracks."""  ;
+    vamp:fixed_bin_count  "false" ;
+    vamp:unit             "Hz" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    40  ;
+    vamp:max_value    500  ;
+    vamp:sample_type      vamp:VariableSampleRate ;
+    vamp:sample_rate      172.266 ;
+#   vamp:computes_event_type   <Place event type URI here and uncomment> ;
+#   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
+#   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
+    .
+
 plugbase:pyin a   vamp:Plugin ;
     dc:title              "pYin" ;
     vamp:name             "pYin" ;
@@ -38,11 +105,15 @@
 #   cc:license            <Place plugin license URI here and uncomment> ; 
     vamp:identifier       "pyin" ;
     vamp:vamp_API_version vamp:api_version_2 ;
-    owl:versionInfo       "1" ;
+    owl:versionInfo       "2" ;
     vamp:input_domain     vamp:TimeDomain ;
 
     vamp:parameter   plugbase:pyin_param_threshdistr ;
     vamp:parameter   plugbase:pyin_param_outputunvoiced ;
+    vamp:parameter   plugbase:pyin_param_precisetime ;
+    vamp:parameter   plugbase:pyin_param_lowampsuppression ;
+    vamp:parameter   plugbase:pyin_param_onsetsensitivity ;
+    vamp:parameter   plugbase:pyin_param_prunethresh ;
 
     vamp:output      plugbase:pyin_output_f0candidates ;
     vamp:output      plugbase:pyin_output_f0probs ;
@@ -73,6 +144,47 @@
     vamp:default_value   0 ;
     vamp:value_names     ( "No" "Yes" "Yes, as negative frequencies");
     .
+plugbase:pyin_param_precisetime a  vamp:QuantizedParameter ;
+    vamp:identifier     "precisetime" ;
+    dc:title            "Use non-standard precise YIN timing (slow)." ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   1  ;
+    vamp:default_value   0 ;
+    vamp:value_names     ();
+    .
+plugbase:pyin_param_lowampsuppression a  vamp:Parameter ;
+    vamp:identifier     "lowampsuppression" ;
+    dc:title            "Suppress low amplitude pitch estimates." ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.1 ;
+    vamp:value_names     ();
+    .
+plugbase:pyin_param_onsetsensitivity a  vamp:Parameter ;
+    vamp:identifier     "onsetsensitivity" ;
+    dc:title            "Onset sensitivity" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.5 ;
+    vamp:value_names     ();
+    .
+plugbase:pyin_param_prunethresh a  vamp:Parameter ;
+    vamp:identifier     "prunethresh" ;
+    dc:title            "Duration pruning threshold." ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       0.2 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.05 ;
+    vamp:value_names     ();
+    .
 plugbase:pyin_output_f0candidates a  vamp:SparseOutput ;
     vamp:identifier       "f0candidates" ;
     dc:title              "F0 Candidates" ;
@@ -151,9 +263,7 @@
     vamp:bin_count        1 ;
     vamp:sample_type      vamp:VariableSampleRate ;
     vamp:sample_rate      172.266 ;
-#   vamp:computes_event_type   <Place event type URI here and uncomment> ;
-#   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
-#   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
+    vamp:computes_event_type   af:Note ;
     .
 plugbase:yin a   vamp:Plugin ;
     dc:title              "Yin" ;
@@ -164,7 +274,7 @@
 #   cc:license            <Place plugin license URI here and uncomment> ; 
     vamp:identifier       "yin" ;
     vamp:vamp_API_version vamp:api_version_2 ;
-    owl:versionInfo       "1" ;
+    owl:versionInfo       "2" ;
     vamp:input_domain     vamp:TimeDomain ;
 
     vamp:parameter   plugbase:yin_param_yinThreshold ;
@@ -207,7 +317,7 @@
     vamp:min_value    40  ;
     vamp:max_value    500  ;
     vamp:bin_count        1 ;
-#   vamp:computes_event_type   <Place event type URI here and uncomment> ;
+    vamp:computes_event_type   af:Pitch ;
 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
     .
@@ -227,7 +337,7 @@
     .
 plugbase:yin_output_rms a  vamp:DenseOutput ;
     vamp:identifier       "rms" ;
-    dc:title              "root mean square" ;
+    dc:title              "Root mean square" ;
     dc:description        """Root mean square of the waveform."""  ;
     vamp:fixed_bin_count  "true" ;
     vamp:unit             "" ;