annotate examples/vamp-example-plugins:percussiononsets.n3 @ 167:31eda4b11f2b

* First bit of Vamp v2 work -- add an optional duration to features in a backward compatible way. Warning: this code is unstable and experimental and may change significantly in the coming weeks.
author cannam
date Thu, 17 Jul 2008 08:52:26 +0000
parents 147de5e64d28
children
rev   line source
cannam@138 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
cannam@138 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cannam@138 3 @prefix vamp: <http://www.purl.org/ontology/vamp/> .
cannam@138 4 @prefix vampex: <http://www.purl.org/ontology/vamp/examples/> .
cannam@138 5 @prefix plugbase: <http://purl.org/ontology/vamp/examples/> .
cannam@138 6 @prefix owl: <http://www.w3.org/2002/07/owl#> .
cannam@138 7 @prefix dc: <http://purl.org/dc/elements/1.1/> .
cannam@138 8 @prefix af: <http://purl.org/ontology/af/> .
cannam@138 9 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
cannam@138 10 @prefix cc: <http://web.resource.org/cc/> .
cannam@138 11 @prefix thisplug: <http://purl.org/ontology/vamp/examples/percussiononsets#> .
cannam@138 12 @prefix : <> .
cannam@138 13
cannam@138 14 <> a vamp:PluginDescription ;
cannam@138 15 foaf:maker <http://www.vamp-plugins.org/> ;
cannam@138 16 foaf:maker <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
cannam@138 17 foaf:primaryTopic plugbase:percussiononsets .
cannam@138 18
cannam@138 19 plugbase:percussiononsets a vamp:Plugin ;
cannam@138 20 dc:title "Simple Percussion Onset Detector" ;
cannam@138 21 vamp:name "Simple Percussion Onset Detector" ;
cannam@138 22 dc:description "Detect percussive note onsets by identifying broadband energy rises" ;
cannam@138 23 foaf:maker [ foaf:name "Vamp SDK Example Plugins"] ; # FIXME could give plugin author's URI here
cannam@138 24 cc:license <FIXME license for the plugin> ;
cannam@138 25 vamp:identifier "percussiononsets" ;
cannam@138 26 vamp:vamp_API_version vamp:api_version_1 ;
cannam@138 27 owl:versionInfo "2" ;
cannam@138 28 vamp:input_domain vamp:TimeDomain ;
cannam@138 29
cannam@138 30 vamp:parameter_descriptor thisplug:param_threshold ;
cannam@138 31 vamp:parameter_descriptor thisplug:param_sensitivity ;
cannam@138 32
cannam@138 33 vamp:output_descriptor thisplug:output_onsets ;
cannam@138 34 vamp:output_descriptor thisplug:output_detectionfunction ;
cannam@138 35 .
cannam@138 36 thisplug:param_threshold a vamp:ParameterDescriptor ;
cannam@138 37 vamp:identifier "threshold" ;
cannam@138 38 dc:title "Energy rise threshold" ;
cannam@138 39 dc:format "dB" ;
cannam@138 40 vamp:min_value 0 ;
cannam@138 41 vamp:max_value 20 ;
cannam@138 42 vamp:default_value 3 .
cannam@138 43
cannam@138 44 thisplug:param_sensitivity a vamp:ParameterDescriptor ;
cannam@138 45 vamp:identifier "sensitivity" ;
cannam@138 46 dc:title "Sensitivity" ;
cannam@138 47 dc:format "%" ;
cannam@138 48 vamp:min_value 0 ;
cannam@138 49 vamp:max_value 100 ;
cannam@138 50 vamp:default_value 40 .
cannam@138 51
cannam@138 52 thisplug:output_onsets a vamp:SparseOutput ;
cannam@138 53 vamp:identifier "onsets" ;
cannam@138 54 dc:title "Onsets" ;
cannam@138 55 dc:description "Percussive note onset locations" ;
cannam@138 56 vamp:fixed_bin_count "true" ;
cannam@138 57 vamp:is_quantized "false" ;
cannam@138 58 vamp:unit "" ;
cannam@138 59 vamp:bin_count 0 ;
cannam@138 60 vamp:bin_names ();
cannam@138 61 vamp:sample_type vamp:VariableSampleRate ;
cannam@138 62 vamp:sample_rate 44100 ;
cannam@138 63 vamp:computes_feature_type <FIXME feature type URI> ;
cannam@138 64 vamp:computes_event_type <FIXME event type URI> ;
cannam@138 65 .
cannam@138 66 thisplug:output_detectionfunction a vamp:DenseOutput ;
cannam@138 67 vamp:identifier "detectionfunction" ;
cannam@138 68 dc:title "Detection Function" ;
cannam@138 69 dc:description "Broadband energy rise detection function" ;
cannam@138 70 vamp:fixed_bin_count "true" ;
cannam@138 71 vamp:is_quantised "true" ;
cannam@138 72 vamp:unit "" ;
cannam@138 73 vamp:bin_count 1 ;
cannam@138 74 vamp:bin_names ( "");
cannam@138 75 vamp:quantize_step 1 ;
cannam@138 76 vamp:computes_feature_type <FIXME feature type URI> ;
cannam@138 77 vamp:computes_event_type <FIXME event type URI> ;
cannam@138 78 .