view examples/vamp-example-plugins:percussiononsets.n3 @ 141:cabf8e65c10f

* some typo & doc updates -- mostly just because I'm reading it, and fiddling with a few things as I go along
author cannam
date Fri, 20 Jun 2008 10:01:43 +0000
parents 147de5e64d28
children
line wrap: on
line source
@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .
@prefix vamp:     <http://www.purl.org/ontology/vamp/> .
@prefix vampex:   <http://www.purl.org/ontology/vamp/examples/> .
@prefix plugbase: <http://purl.org/ontology/vamp/examples/> .
@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 thisplug: <http://purl.org/ontology/vamp/examples/percussiononsets#> .
@prefix :         <> .

<>  a   vamp:PluginDescription ;
     foaf:maker          <http://www.vamp-plugins.org/> ;
     foaf:maker          <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
     foaf:primaryTopic   plugbase:percussiononsets .

plugbase:percussiononsets a   vamp:Plugin ;
    dc:title              "Simple Percussion Onset Detector" ;
    vamp:name             "Simple Percussion Onset Detector" ;
    dc:description        "Detect percussive note onsets by identifying broadband energy rises" ;
    foaf:maker            [ foaf:name "Vamp SDK Example Plugins"] ; # FIXME could give plugin author's URI here
    cc:license            <FIXME license for the plugin> ; 
    vamp:identifier       "percussiononsets" ;
    vamp:vamp_API_version vamp:api_version_1 ;
    owl:versionInfo       "2" ;
    vamp:input_domain     vamp:TimeDomain ;

    vamp:parameter_descriptor   thisplug:param_threshold ;
    vamp:parameter_descriptor   thisplug:param_sensitivity ;

    vamp:output_descriptor      thisplug:output_onsets ;
    vamp:output_descriptor      thisplug:output_detectionfunction ;
    .
thisplug:param_threshold a  vamp:ParameterDescriptor ;
    vamp:identifier     "threshold" ;
    dc:title            "Energy rise threshold" ;
    dc:format           "dB" ;
    vamp:min_value       0 ;
    vamp:max_value       20 ;
    vamp:default_value   3 .

thisplug:param_sensitivity a  vamp:ParameterDescriptor ;
    vamp:identifier     "sensitivity" ;
    dc:title            "Sensitivity" ;
    dc:format           "%" ;
    vamp:min_value       0 ;
    vamp:max_value       100 ;
    vamp:default_value   40 .

thisplug:output_onsets a  vamp:SparseOutput ;
    vamp:identifier       "onsets" ;
    dc:title              "Onsets" ;
    dc:description        "Percussive note onset locations"  ;
    vamp:fixed_bin_count  "true" ;
    vamp:is_quantized     "false"  ;
    vamp:unit             "" ;
    vamp:bin_count          0 ;
    vamp:bin_names          ();
    vamp:sample_type        vamp:VariableSampleRate ;
    vamp:sample_rate    44100 ;
    vamp:computes_feature_type  <FIXME feature type URI> ;
    vamp:computes_event_type    <FIXME event type URI> ;
    .
thisplug:output_detectionfunction a  vamp:DenseOutput ;
    vamp:identifier       "detectionfunction" ;
    dc:title              "Detection Function" ;
    dc:description        "Broadband energy rise detection function"  ;
    vamp:fixed_bin_count  "true" ;
    vamp:is_quantised     "true"  ;
    vamp:unit             "" ;
    vamp:bin_count          1 ;
    vamp:bin_names          ( "");
    vamp:quantize_step        1  ;
    vamp:computes_feature_type  <FIXME feature type URI> ;
    vamp:computes_event_type    <FIXME event type URI> ;
    .