changeset 26:9fd8358b8101

New plugins in rdf
author Chris Cannam
date Fri, 13 Dec 2013 10:27:32 +0000
parents 6b859da7083a
children b6ecdd3e5724 4d5f6efacc21
files plugins/beatroot-vamp.n3 plugins/index.txt plugins/pyin.n3 plugins/segmentino.n3
diffstat 4 files changed, 396 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/beatroot-vamp.n3	Fri Dec 13 10:27:32 2013 +0000
@@ -0,0 +1,93 @@
+@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .
+@prefix vamp:     <http://purl.org/ontology/vamp/> .
+@prefix plugbase: <http://vamp-plugins.org/rdf/plugins/beatroot-vamp#> .
+@prefix owl:      <http://www.w3.org/2002/07/owl#> .
+@prefix dc:       <http://purl.org/dc/elements/1.1/> .
+@prefix af:       <http://purl.org/ontology/af/> .
+@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
+@prefix cc:       <http://web.resource.org/cc/> .
+@prefix :         <#> .
+
+<>  a   vamp:PluginDescription ;
+    foaf:maker          <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
+    foaf:primaryTopic   <http://vamp-plugins.org/rdf/plugins/beatroot-vamp> .
+
+:beatroot-vamp a  vamp:PluginLibrary ;
+    vamp:identifier "beatroot-vamp"  ; 
+    vamp:available_plugin plugbase:beatroot ; 
+    foaf:page <http://code.soundsoftware.ac.uk/projects/beatroot-vamp> ;
+    .
+
+plugbase:beatroot a   vamp:Plugin ;
+    dc:title              "BeatRoot Beat Tracker" ;
+    vamp:name             "BeatRoot Beat Tracker" ;
+    dc:description        """Identify beat locations in music""" ;
+    foaf:maker            [ foaf:name "Simon Dixon (plugin by Chris Cannam)" ] ; # FIXME could give plugin author's URI here
+    dc:rights             """GPL""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "beatroot" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "1" ;
+    vamp:input_domain     vamp:FrequencyDomain ;
+
+
+    vamp:parameter   plugbase:beatroot_param_preMarginFactor ;
+    vamp:parameter   plugbase:beatroot_param_postMarginFactor ;
+    vamp:parameter   plugbase:beatroot_param_maxChange ;
+    vamp:parameter   plugbase:beatroot_param_expiryTime ;
+
+    vamp:output      plugbase:beatroot_output_beats ;
+    .
+plugbase:beatroot_param_preMarginFactor a  vamp:Parameter ;
+    vamp:identifier     "preMarginFactor" ;
+    dc:title            "Pre-Margin Factor" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.15 ;
+    vamp:value_names     ();
+    .
+plugbase:beatroot_param_postMarginFactor a  vamp:Parameter ;
+    vamp:identifier     "postMarginFactor" ;
+    dc:title            "Post-Margin Factor" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.3 ;
+    vamp:value_names     ();
+    .
+plugbase:beatroot_param_maxChange a  vamp:Parameter ;
+    vamp:identifier     "maxChange" ;
+    dc:title            "Maximum Change" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.2 ;
+    vamp:value_names     ();
+    .
+plugbase:beatroot_param_expiryTime a  vamp:Parameter ;
+    vamp:identifier     "expiryTime" ;
+    dc:title            "Expiry Time" ;
+    dc:format           "" ;
+    vamp:min_value       2 ;
+    vamp:max_value       120 ;
+    vamp:unit           ""  ;
+    vamp:default_value   10 ;
+    vamp:value_names     ();
+    .
+plugbase:beatroot_output_beats a  vamp:SparseOutput ;
+    vamp:identifier       "beats" ;
+    dc:title              "Beats" ;
+    dc:description        """Estimated beat locations"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    vamp:bin_count        0 ;
+    vamp:sample_type      vamp:VariableSampleRate ;
+    vamp:sample_rate      44100 ;
+    vamp:computes_event_type   af:Beat ;
+    .
+
--- a/plugins/index.txt	Sat Apr 13 19:10:18 2013 +0100
+++ b/plugins/index.txt	Fri Dec 13 10:27:32 2013 +0000
@@ -12,4 +12,6 @@
 http://www.vamp-plugins.org/rdf/plugins/mtg-melodia
 http://www.vamp-plugins.org/rdf/plugins/vamp-hpcp-mtg
 http://www.vamp-plugins.org/rdf/plugins/bbc-vamp-plugins
-
+http://www.vamp-plugins.org/rdf/plugins/beatroot-vamp
+http://www.vamp-plugins.org/rdf/plugins/pyin
+http://www.vamp-plugins.org/rdf/plugins/segmentino
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/pyin.n3	Fri Dec 13 10:27:32 2013 +0000
@@ -0,0 +1,247 @@
+@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .
+@prefix vamp:     <http://purl.org/ontology/vamp/> .
+@prefix plugbase: <http://vamp-plugins.org/rdf/plugins/pyin#> .
+@prefix owl:      <http://www.w3.org/2002/07/owl#> .
+@prefix dc:       <http://purl.org/dc/elements/1.1/> .
+@prefix af:       <http://purl.org/ontology/af/> .
+@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
+@prefix cc:       <http://web.resource.org/cc/> .
+@prefix :         <#> .
+
+<>  a   vamp:PluginDescription ;
+    foaf:maker          <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
+    foaf:primaryTopic   <http://vamp-plugins.org/rdf/plugins/pyin> .
+
+:pyin a  vamp:PluginLibrary ;
+    vamp:identifier "pyin"  ; 
+    vamp:available_plugin plugbase:pyin ; 
+    vamp:available_plugin plugbase:yin ; 
+    foaf:page <http://code.soundsoftware.ac.uk/projects/pyin> ;
+    .
+
+plugbase:pyin a   vamp:Plugin ;
+    dc:title              "pYin" ;
+    vamp:name             "pYin" ;
+    dc:description        """Monophonic pitch and note tracking based on a probabilistic Yin extension.""" ;
+    foaf:maker            [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
+    dc:rights             """GPL""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "pyin" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "1" ;
+    vamp:input_domain     vamp:TimeDomain ;
+
+    vamp:parameter   plugbase:pyin_param_threshdistr ;
+    vamp:parameter   plugbase:pyin_param_outputunvoiced ;
+
+    vamp:output      plugbase:pyin_output_f0candidates ;
+    vamp:output      plugbase:pyin_output_f0probs ;
+    vamp:output      plugbase:pyin_output_voicedprob ;
+    vamp:output      plugbase:pyin_output_candidatesalience ;
+    vamp:output      plugbase:pyin_output_smoothedpitchtrack ;
+    vamp:output      plugbase:pyin_output_notes ;
+    .
+plugbase:pyin_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:pyin_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:pyin_output_f0candidates a  vamp:SparseOutput ;
+    vamp:identifier       "f0candidates" ;
+    dc:title              "F0 Candidates" ;
+    dc:description        """Estimated fundamental frequency candidates."""  ;
+    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_output_f0probs a  vamp:SparseOutput ;
+    vamp:identifier       "f0probs" ;
+    dc:title              "Candidate Probabilities" ;
+    dc:description        """Probabilities  of estimated fundamental frequency candidates."""  ;
+    vamp:fixed_bin_count  "false" ;
+    vamp:unit             "" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    0  ;
+    vamp:max_value    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> ;
+    .
+plugbase:pyin_output_voicedprob a  vamp:DenseOutput ;
+    vamp:identifier       "voicedprob" ;
+    dc:title              "Voiced Probability" ;
+    dc:description        """Probability that the signal is voiced according to Probabilistic Yin."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    0  ;
+    vamp:max_value    1  ;
+    vamp:bin_count        1 ;
+#   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_output_candidatesalience a  vamp:DenseOutput ;
+    vamp:identifier       "candidatesalience" ;
+    dc:title              "Candidate Salience" ;
+    dc:description        """Candidate Salience"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    0  ;
+    vamp:max_value    1  ;
+    vamp:bin_count        1024 ;
+#   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_output_smoothedpitchtrack a  vamp:DenseOutput ;
+    vamp:identifier       "smoothedpitchtrack" ;
+    dc:title              "Smoothed Pitch Track" ;
+    dc:description        """."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "Hz" ;
+    vamp:bin_count        1 ;
+#   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_output_notes a  vamp:SparseOutput ;
+    vamp:identifier       "notes" ;
+    dc:title              "Notes" ;
+    dc:description        """Derived fixed-pitch note frequencies"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "Hz" ;
+    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> ;
+    .
+plugbase:yin a   vamp:Plugin ;
+    dc:title              "Yin" ;
+    vamp:name             "Yin" ;
+    dc:description        """A vamp implementation of the Yin algorithm for monophonic frequency estimation.""" ;
+    foaf:maker            [ foaf:name "Matthias Mauch" ] ; # FIXME could give plugin author's URI here
+    dc:rights             """GPL""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "yin" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "1" ;
+    vamp:input_domain     vamp:TimeDomain ;
+
+    vamp:parameter   plugbase:yin_param_yinThreshold ;
+    vamp:parameter   plugbase:yin_param_outputunvoiced ;
+
+    vamp:output      plugbase:yin_output_f0 ;
+    vamp:output      plugbase:yin_output_periodicity ;
+    vamp:output      plugbase:yin_output_rms ;
+    vamp:output      plugbase:yin_output_salience ;
+    .
+plugbase:yin_param_yinThreshold a  vamp:QuantizedParameter ;
+    vamp:identifier     "yinThreshold" ;
+    dc:title            "Yin threshold" ;
+    dc:format           "" ;
+    vamp:min_value       0.025 ;
+    vamp:max_value       1 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   0.025  ;
+    vamp:default_value   0.15 ;
+    vamp:value_names     ();
+    .
+plugbase:yin_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   2 ;
+    vamp:value_names     ( "No" "Yes" "Yes, as negative frequencies");
+    .
+plugbase:yin_output_f0 a  vamp:DenseOutput ;
+    vamp:identifier       "f0" ;
+    dc:title              "Estimated f0" ;
+    dc:description        """Estimated fundamental frequency"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "Hz" ;
+    a                 vamp:KnownExtentsOutput ;
+    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_feature      <Place feature attribute URI here and uncomment> ;
+#   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
+    .
+plugbase:yin_output_periodicity a  vamp:DenseOutput ;
+    vamp:identifier       "periodicity" ;
+    dc:title              "Periodicity" ;
+    dc:description        """by-product of Yin f0 estimation"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    0  ;
+    vamp:max_value    1  ;
+    vamp:bin_count        1 ;
+#   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:yin_output_rms a  vamp:DenseOutput ;
+    vamp:identifier       "rms" ;
+    dc:title              "root mean square" ;
+    dc:description        """Root mean square of the waveform."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    0  ;
+    vamp:max_value    1  ;
+    vamp:bin_count        1 ;
+#   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:yin_output_salience a  vamp:DenseOutput ;
+    vamp:identifier       "salience" ;
+    dc:title              "Salience" ;
+    dc:description        """Yin Salience"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    0  ;
+    vamp:max_value    1  ;
+    vamp:bin_count        1024 ;
+#   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> ;
+    .
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/segmentino.n3	Fri Dec 13 10:27:32 2013 +0000
@@ -0,0 +1,53 @@
+@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .
+@prefix vamp:     <http://purl.org/ontology/vamp/> .
+@prefix plugbase: <http://vamp-plugins.org/rdf/plugins/segmentino#> .
+@prefix owl:      <http://www.w3.org/2002/07/owl#> .
+@prefix dc:       <http://purl.org/dc/elements/1.1/> .
+@prefix af:       <http://purl.org/ontology/af/> .
+@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
+@prefix cc:       <http://web.resource.org/cc/> .
+@prefix :         <#> .
+
+<>  a   vamp:PluginDescription ;
+    foaf:maker          <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
+    foaf:primaryTopic   <http://vamp-plugins.org/rdf/plugins/segmentino> .
+
+:segmentino a  vamp:PluginLibrary ;
+    vamp:identifier "segmentino"  ; 
+    vamp:available_plugin plugbase:segmentino ; 
+    foaf:page <http://code.soundsoftware.ac.uk/projects/segmenter-vamp-plugin> ;
+    .
+
+plugbase:segmentino a   vamp:Plugin ;
+    dc:title              "Segmentino" ;
+    vamp:name             "Segmentino" ;
+    dc:description        """Estimate contiguous segments pertaining to song parts such as verse and chorus.""" ;
+    foaf:maker            [ foaf:name "Queen Mary, University of London" ] ; # FIXME could give plugin author's URI here
+    dc:rights             """Plugin by Matthew Davies, Christian Landone, Chris Cannam, Matthias Mauch and Massimiliano Zanoni  Copyright (c) 2006-2013 QMUL - Affero GPL""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "segmentino" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "2" ;
+    vamp:input_domain     vamp:TimeDomain ;
+    vamp:output      plugbase:segmentino_output_segmentation ;
+    .
+plugbase:segmentino_output_segmentation a  vamp:SparseOutput ;
+    vamp:identifier       "segmentation" ;
+    dc:title              "Segmentation" ;
+    dc:description        """Segmentation"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "segment-type" ;
+    a                     vamp:QuantizedOutput ;
+    vamp:quantize_step    1  ;
+    a                 vamp:KnownExtentsOutput ;
+    vamp:min_value    1  ;
+    vamp:max_value    5  ;
+    vamp:bin_count        1 ;
+    vamp:sample_type      vamp:VariableSampleRate ;
+    vamp:sample_rate      86.1326 ;
+#   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> ;
+    .
+