annotate examples/vamp-example-plugins.n3 @ 170:ff72d97823f7

* Add means to obtain actually used step & block sizes from buffering adapter
author cannam
date Fri, 25 Jul 2008 14:01:57 +0000
parents 7c08ba8083b2
children b163946348b3
rev   line source
cannam@149 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
cannam@149 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cannam@149 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
cannam@149 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#> .
cannam@149 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
cannam@149 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
cannam@149 7 @prefix af: <http://purl.org/ontology/af/> .
cannam@149 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
cannam@149 9 @prefix cc: <http://web.resource.org/cc/> .
cannam@149 10 @prefix : <> .
cannam@149 11
cannam@149 12 <> a vamp:PluginDescription ;
cannam@154 13 foaf:maker <x> ;
cannam@149 14 foaf:maker <http://www.vamp-plugins.org/doap.rdf#template-generator> ;
cannam@149 15 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins> .
cannam@149 16
cannam@149 17 :vamp-example-plugins a vamp:PluginLibrary ;
cannam@149 18 vamp:identifier "vamp-example-plugins" ;
cannam@149 19 vamp:available_plugin plugbase:amplitudefollower;
cannam@149 20 vamp:available_plugin plugbase:percussiononsets;
cannam@149 21 vamp:available_plugin plugbase:spectralcentroid;
cannam@149 22 vamp:available_plugin plugbase:zerocrossing .
cannam@149 23
cannam@149 24 plugbase:amplitudefollower a vamp:Plugin ;
cannam@149 25 dc:title "Amplitude Follower" ;
cannam@149 26 vamp:name "Amplitude Follower" ;
cannam@149 27 dc:description "Track the amplitude of the audio signal" ;
cannam@154 28 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 29 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 30 vamp:identifier "amplitudefollower" ;
cannam@149 31 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 32 owl:versionInfo "1" ;
cannam@149 33 vamp:input_domain vamp:TimeDomain ;
cannam@149 34
cannam@158 35 vamp:parameter plugbase:amplitudefollower_param_attack ;
cannam@158 36 vamp:parameter plugbase:amplitudefollower_param_release ;
cannam@149 37
cannam@158 38 vamp:output plugbase:amplitudefollower_output_amplitude ;
cannam@149 39 .
cannam@158 40 plugbase:amplitudefollower_param_attack a vamp:Parameter ;
cannam@149 41 vamp:identifier "attack" ;
cannam@149 42 dc:title "Attack time" ;
cannam@149 43 dc:format "s" ;
cannam@149 44 vamp:min_value 0 ;
cannam@149 45 vamp:max_value 1 ;
cannam@149 46 vamp:unit "s" ;
cannam@149 47 vamp:default_value 0.01 ;
cannam@149 48 vamp:value_names ();
cannam@149 49 .
cannam@158 50 plugbase:amplitudefollower_param_release a vamp:Parameter ;
cannam@149 51 vamp:identifier "release" ;
cannam@149 52 dc:title "Release time" ;
cannam@149 53 dc:format "s" ;
cannam@149 54 vamp:min_value 0 ;
cannam@149 55 vamp:max_value 1 ;
cannam@149 56 vamp:unit "s" ;
cannam@149 57 vamp:default_value 0.01 ;
cannam@149 58 vamp:value_names ();
cannam@149 59 .
cannam@149 60 plugbase:amplitudefollower_output_amplitude a vamp:DenseOutput ;
cannam@149 61 vamp:identifier "amplitude" ;
cannam@149 62 dc:title "Amplitude" ;
cannam@149 63 dc:description "" ;
cannam@149 64 vamp:fixed_bin_count "true" ;
cannam@149 65 vamp:unit "V" ;
cannam@149 66 vamp:bin_count 1 ;
cannam@149 67 vamp:bin_names ( "");
cannam@154 68 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 69 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 70 .
cannam@149 71 plugbase:percussiononsets a vamp:Plugin ;
cannam@149 72 dc:title "Simple Percussion Onset Detector" ;
cannam@149 73 vamp:name "Simple Percussion Onset Detector" ;
cannam@149 74 dc:description "Detect percussive note onsets by identifying broadband energy rises" ;
cannam@154 75 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 76 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 77 vamp:identifier "percussiononsets" ;
cannam@149 78 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 79 owl:versionInfo "2" ;
cannam@149 80 vamp:input_domain vamp:FrequencyDomain ;
cannam@149 81
cannam@158 82 vamp:parameter plugbase:percussiononsets_param_threshold ;
cannam@158 83 vamp:parameter plugbase:percussiononsets_param_sensitivity ;
cannam@149 84
cannam@158 85 vamp:output plugbase:percussiononsets_output_onsets ;
cannam@158 86 vamp:output plugbase:percussiononsets_output_detectionfunction ;
cannam@149 87 .
cannam@158 88 plugbase:percussiononsets_param_threshold a vamp:Parameter ;
cannam@149 89 vamp:identifier "threshold" ;
cannam@149 90 dc:title "Energy rise threshold" ;
cannam@149 91 dc:format "dB" ;
cannam@149 92 vamp:min_value 0 ;
cannam@149 93 vamp:max_value 20 ;
cannam@149 94 vamp:unit "dB" ;
cannam@149 95 vamp:default_value 3 ;
cannam@149 96 vamp:value_names ();
cannam@149 97 .
cannam@158 98 plugbase:percussiononsets_param_sensitivity a vamp:Parameter ;
cannam@149 99 vamp:identifier "sensitivity" ;
cannam@149 100 dc:title "Sensitivity" ;
cannam@149 101 dc:format "%" ;
cannam@149 102 vamp:min_value 0 ;
cannam@149 103 vamp:max_value 100 ;
cannam@149 104 vamp:unit "%" ;
cannam@149 105 vamp:default_value 40 ;
cannam@149 106 vamp:value_names ();
cannam@149 107 .
cannam@149 108 plugbase:percussiononsets_output_onsets a vamp:SparseOutput ;
cannam@149 109 vamp:identifier "onsets" ;
cannam@149 110 dc:title "Onsets" ;
cannam@149 111 dc:description "Percussive note onset locations" ;
cannam@149 112 vamp:fixed_bin_count "true" ;
cannam@149 113 vamp:unit "" ;
cannam@149 114 vamp:bin_count 0 ;
cannam@149 115 vamp:bin_names ();
cannam@149 116 vamp:sample_type vamp:VariableSampleRate ;
cannam@149 117 vamp:sample_rate 44100 ;
cannam@154 118 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 119 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 120 .
cannam@149 121 plugbase:percussiononsets_output_detectionfunction a vamp:DenseOutput ;
cannam@149 122 vamp:identifier "detectionfunction" ;
cannam@149 123 dc:title "Detection Function" ;
cannam@149 124 dc:description "Broadband energy rise detection function" ;
cannam@149 125 vamp:fixed_bin_count "true" ;
cannam@149 126 vamp:unit "" ;
cannam@149 127 a vamp:QuantizedOutput ;
cannam@149 128 vamp:quantize_step 1 ;
cannam@149 129 vamp:bin_count 1 ;
cannam@149 130 vamp:bin_names ( "");
cannam@154 131 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 132 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 133 .
cannam@149 134 plugbase:spectralcentroid a vamp:Plugin ;
cannam@149 135 dc:title "Spectral Centroid" ;
cannam@149 136 vamp:name "Spectral Centroid" ;
cannam@149 137 dc:description "Calculate the centroid frequency of the spectrum of the input signal" ;
cannam@154 138 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 139 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 140 vamp:identifier "spectralcentroid" ;
cannam@149 141 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 142 owl:versionInfo "2" ;
cannam@149 143 vamp:input_domain vamp:FrequencyDomain ;
cannam@149 144
cannam@149 145
cannam@158 146 vamp:output plugbase:spectralcentroid_output_logcentroid ;
cannam@158 147 vamp:output plugbase:spectralcentroid_output_linearcentroid ;
cannam@149 148 .
cannam@149 149 plugbase:spectralcentroid_output_logcentroid a vamp:DenseOutput ;
cannam@149 150 vamp:identifier "logcentroid" ;
cannam@149 151 dc:title "Log Frequency Centroid" ;
cannam@149 152 dc:description "Centroid of the log weighted frequency spectrum" ;
cannam@149 153 vamp:fixed_bin_count "true" ;
cannam@149 154 vamp:unit "Hz" ;
cannam@149 155 vamp:bin_count 1 ;
cannam@149 156 vamp:bin_names ( "");
cannam@154 157 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 158 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 159 .
cannam@149 160 plugbase:spectralcentroid_output_linearcentroid a vamp:DenseOutput ;
cannam@149 161 vamp:identifier "linearcentroid" ;
cannam@149 162 dc:title "Linear Frequency Centroid" ;
cannam@149 163 dc:description "Centroid of the linear frequency spectrum" ;
cannam@149 164 vamp:fixed_bin_count "true" ;
cannam@149 165 vamp:unit "Hz" ;
cannam@149 166 vamp:bin_count 1 ;
cannam@149 167 vamp:bin_names ( "");
cannam@154 168 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 169 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 170 .
cannam@149 171 plugbase:zerocrossing a vamp:Plugin ;
cannam@149 172 dc:title "Zero Crossings" ;
cannam@149 173 vamp:name "Zero Crossings" ;
cannam@149 174 dc:description "Detect and count zero crossing points" ;
cannam@154 175 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 176 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 177 vamp:identifier "zerocrossing" ;
cannam@149 178 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 179 owl:versionInfo "2" ;
cannam@149 180 vamp:input_domain vamp:TimeDomain ;
cannam@149 181
cannam@149 182
cannam@158 183 vamp:output plugbase:zerocrossing_output_counts ;
cannam@158 184 vamp:output plugbase:zerocrossing_output_zerocrossings ;
cannam@149 185 .
cannam@149 186 plugbase:zerocrossing_output_counts a vamp:DenseOutput ;
cannam@149 187 vamp:identifier "counts" ;
cannam@149 188 dc:title "Zero Crossing Counts" ;
cannam@149 189 dc:description "The number of zero crossing points per processing block" ;
cannam@149 190 vamp:fixed_bin_count "true" ;
cannam@149 191 vamp:unit "crossings" ;
cannam@149 192 a vamp:QuantizedOutput ;
cannam@149 193 vamp:quantize_step 1 ;
cannam@149 194 vamp:bin_count 1 ;
cannam@149 195 vamp:bin_names ( "");
cannam@154 196 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 197 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 198 .
cannam@149 199 plugbase:zerocrossing_output_zerocrossings a vamp:SparseOutput ;
cannam@149 200 vamp:identifier "zerocrossings" ;
cannam@149 201 dc:title "Zero Crossings" ;
cannam@149 202 dc:description "The locations of zero crossing points" ;
cannam@149 203 vamp:fixed_bin_count "true" ;
cannam@149 204 vamp:unit "" ;
cannam@149 205 a vamp:QuantizedOutput ;
cannam@149 206 vamp:quantize_step 1 ;
cannam@149 207 vamp:bin_count 0 ;
cannam@149 208 vamp:bin_names ();
cannam@149 209 vamp:sample_type vamp:VariableSampleRate ;
cannam@149 210 vamp:sample_rate 44100 ;
cannam@154 211 # vamp:computes_feature_type <Place feature type URI here and uncomment> ;
cannam@154 212 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@149 213 .
cannam@149 214