annotate vamp-example-plugins:percussiononsets.n3 @ 0:581b1b150a4d

* copy to sonic-annotator
author Chris Cannam
date Thu, 11 Dec 2008 10:22:33 +0000
parents
children
rev   line source
Chris@0 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
Chris@0 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
Chris@0 3 @prefix vamp: <http://www.vamp-plugins.org/ontology/> .
Chris@0 4 @prefix vampex: <http://www.vamp-plugins.org/examples/> .
Chris@0 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
Chris@0 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@0 7 @prefix af: <http://purl.org/ontology/af/> .
Chris@0 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@0 9 @prefix cc: <http://web.resource.org/cc/> .
Chris@0 10 @prefix thisplug: <http://www.vamp-plugins.org/examples/percussiononsets#>.
Chris@0 11 @prefix : <> .
Chris@0 12
Chris@0 13 <> a vamp:PluginDescription ;
Chris@0 14 foaf:maker <http://chrissutton.org/me> ;
Chris@0 15 foaf:primaryTopic vampex:percussiononsets .
Chris@0 16
Chris@0 17 vampex:percussiononsets a vamp:Plugin ;
Chris@0 18 dc:title "Simple Percussion Onset Detector" ;
Chris@0 19 dc:description "Detect percussive note onsets by identifying broadband energy rises";
Chris@0 20 foaf:maker <http://www.all-day-breakfast.com/cannam> ; #we'll pretend this is his URI
Chris@0 21 cc:license <http://creativecommons.org/licenses/BSD/> ;
Chris@0 22 vamp:identifier "percussiononsets" ; # The Vamp identifier for the plugin
Chris@0 23 vamp:vamp_API_version vamp:version_v1.1b ; # Made up - this plugin doesn't actually specify it
Chris@0 24 owl:versionInfo "2" ;
Chris@0 25 vamp:input_domain vamp:TimeDomain ; # Made up - this plugin doesn't actually specify it
Chris@0 26
Chris@0 27 vamp:parameter_descriptor thisplug:pd1 ;
Chris@0 28 vamp:parameter_descriptor thisplug:pd2 ;
Chris@0 29 vamp:output_descriptor thisplug:od1 ;
Chris@0 30 vamp:output_descriptor thisplug:od2 .
Chris@0 31
Chris@0 32
Chris@0 33 thisplug:pd1 a vamp:ParameterDescriptor ;
Chris@0 34 vamp:identifier "threshold" ;
Chris@0 35 dc:title "Energy Rise threshold" ;
Chris@0 36 dc:description "Energy rise within a frequency bin necessary to count toward broadband total" ;
Chris@0 37 dc:format "dB" ;
Chris@0 38 vamp:minValue 0 ; #might be useful when interpreting plugin output
Chris@0 39 vamp:maxValue 20 ;
Chris@0 40 vamp:defaultValue 3 .
Chris@0 41
Chris@0 42
Chris@0 43 thisplug:pd2 a vamp:ParameterDescriptor ;
Chris@0 44 vamp:identifier "sensitivity" ;
Chris@0 45 dc:title "Sensitivity" ;
Chris@0 46 dc:description "Sensitivity of peak detector applied to broadband detection function" ;
Chris@0 47 dc:format "%" ;
Chris@0 48 vamp:minValue 0 ; #might be useful when interpreting plugin output
Chris@0 49 vamp:maxValue 100 ;
Chris@0 50 vamp:defaultValue 40 .
Chris@0 51
Chris@0 52 thisplug:od1 a vamp:OutputDescriptor ;
Chris@0 53 vamp:identifier "onsets" ;
Chris@0 54 dc:title "Onsets" ;
Chris@0 55 dc:description "Percussive note onset locations" ;
Chris@0 56 dc:format "" ;
Chris@0 57 vamp:fixed_bin_count "true" ;
Chris@0 58 vamp:bin_count 0 ;
Chris@0 59 vamp:sample_type vamp:VariableSampleRate ;
Chris@0 60 vamp:computes_event_type af:Onset . # af:Onset is pending some thought
Chris@0 61
Chris@0 62 thisplug:od2 a vamp:OutputDescriptor ;
Chris@0 63 vamp:identifier "detectionfunction" ;
Chris@0 64 dc:title "Detection Function" ;
Chris@0 65 dc:description "Broadband energy rise detection function";
Chris@0 66 dc:format "" ;
Chris@0 67 vamp:fixed_bin_count "true" ;
Chris@0 68 vamp:bin_count 1 ;
Chris@0 69 vamp:sample_type vamp:OneSamplePerStep ;
Chris@0 70 vamp:computes_feature_type af:OnsetDetectionFunction .