view examples/vamp-example-plugins:amplitudefollower.n3 @ 142:8e3a5f779d89

* Reindent and remove inaccurate comment about usage
author cannam
date Fri, 20 Jun 2008 11:31:26 +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/amplitudefollower#> .
@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:amplitudefollower .

plugbase:amplitudefollower a   vamp:Plugin ;
    dc:title              "Amplitude Follower" ;
    vamp:name             "Amplitude Follower" ;
    dc:description        "Track the amplitude of the audio signal" ;
    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       "amplitudefollower" ;
    vamp:vamp_API_version vamp:api_version_1 ;
    owl:versionInfo       "1" ;
    vamp:input_domain     vamp:TimeDomain ;

    vamp:parameter_descriptor   thisplug:param_attack ;
    vamp:parameter_descriptor   thisplug:param_release ;

    vamp:output_descriptor      thisplug:output_amplitude ;
    .
thisplug:param_attack a  vamp:ParameterDescriptor ;
    vamp:identifier     "attack" ;
    dc:title            "Attack time" ;
    dc:format           "s" ;
    vamp:min_value       0 ;
    vamp:max_value       1 ;
    vamp:default_value   0.01 .

thisplug:param_release a  vamp:ParameterDescriptor ;
    vamp:identifier     "release" ;
    dc:title            "Release time" ;
    dc:format           "s" ;
    vamp:min_value       0 ;
    vamp:max_value       1 ;
    vamp:default_value   0.01 .

thisplug:output_amplitude a  vamp:DenseOutput ;
    vamp:identifier       "amplitude" ;
    dc:title              "Amplitude" ;
    dc:description        ""  ;
    vamp:fixed_bin_count  "true" ;
    vamp:is_quantised     "false"  ;
    vamp:unit             "V" ;
    vamp:bin_count          1 ;
    vamp:bin_names          ( "");
    vamp:sample_type       vamp:OneSamplePerStep ;
    vamp:computes_feature_type  <FIXME feature type URI> ;
    vamp:computes_event_type    <FIXME event type URI> ;
    .