diff plugins/vamp-onsetsds.n3 @ 8:8375e5185ad4

* Add skeleton RDF for some more plugins
author Chris Cannam
date Thu, 20 Nov 2008 16:29:56 +0000
parents
children 24cf3804da57
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/vamp-onsetsds.n3	Thu Nov 20 16:29:56 2008 +0000
@@ -0,0 +1,86 @@
+@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/vamp-onsetsds#> .
+@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/vamp-onsetsds> .
+
+:vamp-onsetsds a  vamp:PluginLibrary ;
+    vamp:identifier "vamp-onsetsds"  ; 
+    vamp:available_plugin plugbase:onsetsds ; 
+#   foaf:page <Place more-information HTML page URL here and uncomment> ;
+    .
+
+plugbase:onsetsds a   vamp:Plugin ;
+    dc:title              "OnsetsDS Onset Detector" ;
+    vamp:name             "OnsetsDS Onset Detector" ;
+    dc:description        """Detect note onsets""" ;
+    foaf:maker            [ foaf:name "Dan Stowell" ] ; # FIXME could give plugin author's URI here
+    dc:rights             """Copyright (c) 2007-2008 Dan Stowell""" ;
+#   cc:license            <Place plugin license URI here and uncomment> ; 
+    vamp:identifier       "onsetsds" ;
+    vamp:vamp_API_version vamp:api_version_2 ;
+    owl:versionInfo       "1" ;
+    vamp:input_domain     vamp:FrequencyDomain ;
+
+
+    vamp:parameter   plugbase:onsetsds_param_dftype ;
+    vamp:parameter   plugbase:onsetsds_param_threshold ;
+    vamp:parameter   plugbase:onsetsds_param_medspan ;
+
+    vamp:output      plugbase:onsetsds_output_onsets ;
+    .
+plugbase:onsetsds_param_dftype a  vamp:QuantizedParameter ;
+    vamp:identifier     "dftype" ;
+    dc:title            "Onset detection function" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       6 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   1  ;
+    vamp:default_value   3 ;
+    vamp:value_names     ( "Power" "Sum of magnitudes" "Complex-domain deviation" "Rectified complex-domain deviation" "Phase deviation" "Weighted phase deviation" "Modified Kullback-Liebler deviation");
+    .
+plugbase:onsetsds_param_threshold a  vamp:Parameter ;
+    vamp:identifier     "threshold" ;
+    dc:title            "Detection threshold" ;
+    dc:format           "" ;
+    vamp:min_value       0 ;
+    vamp:max_value       1 ;
+    vamp:unit           ""  ;
+    vamp:default_value   0.5 ;
+    vamp:value_names     ();
+    .
+plugbase:onsetsds_param_medspan a  vamp:QuantizedParameter ;
+    vamp:identifier     "medspan" ;
+    dc:title            "Median frame span" ;
+    dc:format           "" ;
+    vamp:min_value       5 ;
+    vamp:max_value       21 ;
+    vamp:unit           "" ;
+    vamp:quantize_step   2  ;
+    vamp:default_value   11 ;
+    vamp:value_names     ();
+    .
+plugbase:onsetsds_output_onsets a  vamp:SparseOutput ;
+    vamp:identifier       "onsets" ;
+    dc:title              "Note Onsets" ;
+    dc:description        "Note onset positions"  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    vamp:bin_count        0 ;
+    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> ;
+    .
+