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@152
|
3 @prefix vamp: <http://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/spectralcentroid#> .
|
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:spectralcentroid .
|
cannam@138
|
18
|
cannam@138
|
19 plugbase:spectralcentroid a vamp:Plugin ;
|
cannam@138
|
20 dc:title "Spectral Centroid" ;
|
cannam@138
|
21 vamp:name "Spectral Centroid" ;
|
cannam@138
|
22 dc:description "Calculate the centroid frequency of the spectrum of the input signal" ;
|
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 "spectralcentroid" ;
|
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
|
cannam@138
|
31 vamp:output_descriptor thisplug:output_logcentroid ;
|
cannam@138
|
32 vamp:output_descriptor thisplug:output_linearcentroid ;
|
cannam@138
|
33 .
|
cannam@138
|
34 thisplug:output_logcentroid a vamp:DenseOutput ;
|
cannam@138
|
35 vamp:identifier "logcentroid" ;
|
cannam@138
|
36 dc:title "Log Frequency Centroid" ;
|
cannam@138
|
37 dc:description "Centroid of the log weighted frequency spectrum" ;
|
cannam@138
|
38 vamp:fixed_bin_count "true" ;
|
cannam@138
|
39 vamp:is_quantised "false" ;
|
cannam@138
|
40 vamp:unit "Hz" ;
|
cannam@138
|
41 vamp:bin_count 1 ;
|
cannam@138
|
42 vamp:bin_names ( "");
|
cannam@138
|
43 vamp:sample_type vamp:OneSamplePerStep ;
|
cannam@138
|
44 vamp:computes_feature_type <FIXME feature type URI> ;
|
cannam@138
|
45 vamp:computes_event_type <FIXME event type URI> ;
|
cannam@138
|
46 .
|
cannam@138
|
47 thisplug:output_linearcentroid a vamp:DenseOutput ;
|
cannam@138
|
48 vamp:identifier "linearcentroid" ;
|
cannam@138
|
49 dc:title "Linear Frequency Centroid" ;
|
cannam@138
|
50 dc:description "Centroid of the linear frequency spectrum" ;
|
cannam@138
|
51 vamp:fixed_bin_count "true" ;
|
cannam@138
|
52 vamp:is_quantised "false" ;
|
cannam@138
|
53 vamp:unit "Hz" ;
|
cannam@138
|
54 vamp:bin_count 1 ;
|
cannam@138
|
55 vamp:bin_names ( "");
|
cannam@138
|
56 vamp:sample_type vamp:OneSamplePerStep ;
|
cannam@138
|
57 vamp:computes_feature_type <FIXME feature type URI> ;
|
cannam@138
|
58 vamp:computes_event_type <FIXME event type URI> ;
|
cannam@138
|
59 .
|