changeset 38:8ec9526057c1 rdfquery

Update BBC data
author Chris Cannam
date Thu, 19 Jun 2014 13:32:00 +0100
parents 2a9f8240d649
children b0403cfc2d47
files plugins/bbc-vamp-plugins.n3 plugins/extra-categories.n3
diffstat 2 files changed, 114 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/bbc-vamp-plugins.n3	Thu Jun 19 10:36:16 2014 +0100
+++ b/plugins/bbc-vamp-plugins.n3	Thu Jun 19 13:32:00 2014 +0100
@@ -25,7 +25,8 @@
     foaf:page <https://github.com/bbcrd/bbc-vamp-plugins/blob/master/README.md> ;
     doap:download-page <https://github.com/bbcrd/bbc-vamp-plugins/releases> ;
     vamp:available_plugin plugbase:bbc-energy ; 
-    vamp:available_plugin plugbase:bbc-intensity ; 
+    vamp:available_plugin plugbase:bbc-intensity ;  
+    vamp:available_plugin plugbase:bbc-peaks ; 
     vamp:available_plugin plugbase:bbc-rhythm ; 
     vamp:available_plugin plugbase:bbc-spectral-contrast ; 
     vamp:available_plugin plugbase:bbc-spectral-flux ; 
@@ -46,24 +47,20 @@
 #   cc:license            <Place plugin license URI here and uncomment> ; 
     vamp:identifier       "bbc-energy" ;
     vamp:vamp_API_version vamp:api_version_2 ;
-    owl:versionInfo       "2" ;
+    owl:versionInfo       "3" ;
     vamp:input_domain     vamp:TimeDomain ;
 
+    vamp:parameter   plugbase:bbc-energy_param_root ;
+    vamp:parameter   plugbase:bbc-energy_param_avgwindow ;
+    vamp:parameter   plugbase:bbc-energy_param_avgpercentile ;
+    vamp:parameter   plugbase:bbc-energy_param_dipthresh ;
     vamp:parameter   plugbase:bbc-energy_param_threshold ;
-    vamp:parameter   plugbase:bbc-energy_param_root ;
 
     vamp:output      plugbase:bbc-energy_output_rmsenergy ;
+    vamp:output      plugbase:bbc-energy_output_rmsdelta ;
     vamp:output      plugbase:bbc-energy_output_lowenergy ;
-    .
-plugbase:bbc-energy_param_threshold a  vamp:Parameter ;
-    vamp:identifier     "threshold" ;
-    dc:title            "Low energy threshold" ;
-    dc:format           "" ;
-    vamp:min_value       0 ;
-    vamp:max_value       10 ;
-    vamp:unit           ""  ;
-    vamp:default_value   1 ;
-    vamp:value_names     ();
+    vamp:output      plugbase:bbc-energy_output_average ;
+    vamp:output      plugbase:bbc-energy_output_pdip ;
     .
 plugbase:bbc-energy_param_root a  vamp:QuantizedParameter ;
     vamp:identifier     "root" ;
@@ -76,6 +73,46 @@
     vamp:default_value   1 ;
     vamp:value_names     ();
     .
+plugbase:bbc-energy_param_avgwindow a  vamp:Parameter ;
+    vamp:identifier     "avgwindow" ;
+    dc:title            "Moving average window size" ;
+    dc:format           "seconds" ;
+    vamp:min_value       0.001 ;
+    vamp:max_value       10 ;
+    vamp:unit           "seconds"  ;
+    vamp:default_value   1 ;
+    vamp:value_names     ();
+    .
+plugbase:bbc-energy_param_avgpercentile a  vamp:Parameter ;
+    vamp:identifier     "avgpercentile" ;
+    dc:title            "Moving average percentile" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       100 ;
+    vamp:unit           ""  ;
+    vamp:default_value   3 ;
+    vamp:value_names     ();
+    .
+plugbase:bbc-energy_param_dipthresh a  vamp:Parameter ;
+    vamp:identifier     "dipthresh" ;
+    dc:title            "Dip threshold" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       10 ;
+    vamp:unit           ""  ;
+    vamp:default_value   3 ;
+    vamp:value_names     ();
+    .
+plugbase:bbc-energy_param_threshold a  vamp:Parameter ;
+    vamp:identifier     "threshold" ;
+    dc:title            "Low energy threshold" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       10 ;
+    vamp:unit           ""  ;
+    vamp:default_value   1 ;
+    vamp:value_names     ();
+    .
 plugbase:bbc-energy_output_rmsenergy a  vamp:DenseOutput ;
     vamp:identifier       "rmsenergy" ;
     dc:title              "RMS Energy" ;
@@ -87,6 +124,17 @@
 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
     .
+plugbase:bbc-energy_output_rmsdelta a  vamp:DenseOutput ;
+    vamp:identifier       "rmsdelta" ;
+    dc:title              "RMS Energy Delta" ;
+    dc:description        """Difference between RMS of previous and current blocks."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    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:bbc-energy_output_lowenergy a  vamp:SparseOutput ;
     vamp:identifier       "lowenergy" ;
     dc:title              "Low Energy" ;
@@ -99,6 +147,28 @@
 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
     .
+plugbase:bbc-energy_output_average a  vamp:DenseOutput ;
+    vamp:identifier       "average" ;
+    dc:title              "Moving Average" ;
+    dc:description        """Mean of RMS values over moving average window."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    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:bbc-energy_output_pdip a  vamp:DenseOutput ;
+    vamp:identifier       "pdip" ;
+    dc:title              "Dip probability" ;
+    dc:description        """Probability of the RMS energy dipping below the threshold."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    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:bbc-intensity a   vamp:Plugin ;
     dc:title              "Intensity" ;
     vamp:name             "Intensity" ;
@@ -150,6 +220,30 @@
 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
     .
+plugbase:bbc-peaks a   vamp:Plugin ;
+    dc:title              "Peaks" ;
+    vamp:name             "Peaks" ;
+    dc:description        """Calculates peak and trough values of a signal""" ;
+    foaf:maker            [ foaf:name "BBC" ] ; # FIXME could give plugin author's URI here
+    dc:rights             """(c) 2014 British Broadcasting Corporation""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "bbc-peaks" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "1" ;
+    vamp:input_domain     vamp:TimeDomain ;
+    vamp:output      plugbase:bbc-peaks_output_peaks ;
+    .
+plugbase:bbc-peaks_output_peaks a  vamp:DenseOutput ;
+    vamp:identifier       "peaks" ;
+    dc:title              "Peaks" ;
+    dc:description        """Peak and trough, in order of occurance."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    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:bbc-rhythm a   vamp:Plugin ;
     dc:title              "Rhythm" ;
     vamp:name             "Rhythm" ;
--- a/plugins/extra-categories.n3	Thu Jun 19 10:36:16 2014 +0100
+++ b/plugins/extra-categories.n3	Thu Jun 19 13:32:00 2014 +0100
@@ -1,6 +1,13 @@
 @prefix vamp: <http://purl.org/ontology/vamp/> .
 @prefix : <#> .
 
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-energy> vamp:category "Low Level Features" .
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-intensity> vamp:category "Low Level Features" .
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-peaks> vamp:category "Low Level Features" .
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-rhythm> vamp:category "Low Level Features" .
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-spectral-contrast> vamp:category "Low Level Features" .
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-spectral-flux> vamp:category "Low Level Features" .
+<http://vamp-plugins.org/rdf/plugins/bbc-vamp-plugins#bbc-speechmusic-segmenter> vamp:category "Classification" .
 <http://vamp-plugins.org/rdf/plugins/cqvamp#cqvamp> vamp:category "Visualisation" .
 <http://vamp-plugins.org/rdf/plugins/match-vamp-plugin#match> vamp:category "Time > Alignment" .
 <http://vamp-plugins.org/rdf/plugins/nnls-chroma#chordino> vamp:category "Notes" .