annotate examples/vamp-example-plugins.n3 @ 180:9a58bd07aa4d

* Part way to providing support for continuous-time averaging summaries
author cannam
date Wed, 03 Sep 2008 15:59:09 +0000
parents b163946348b3
children 930b51de9c28
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@172 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@172 68 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 69 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 70 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 71 .
cannam@149 72 plugbase:percussiononsets a vamp:Plugin ;
cannam@149 73 dc:title "Simple Percussion Onset Detector" ;
cannam@149 74 vamp:name "Simple Percussion Onset Detector" ;
cannam@149 75 dc:description "Detect percussive note onsets by identifying broadband energy rises" ;
cannam@154 76 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 77 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 78 vamp:identifier "percussiononsets" ;
cannam@149 79 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 80 owl:versionInfo "2" ;
cannam@149 81 vamp:input_domain vamp:FrequencyDomain ;
cannam@149 82
cannam@158 83 vamp:parameter plugbase:percussiononsets_param_threshold ;
cannam@158 84 vamp:parameter plugbase:percussiononsets_param_sensitivity ;
cannam@149 85
cannam@172 86 vamp:output plugbase:percussiononsets_output_onsets ;
cannam@172 87 vamp:output plugbase:percussiononsets_output_detectionfunction ;
cannam@149 88 .
cannam@158 89 plugbase:percussiononsets_param_threshold a vamp:Parameter ;
cannam@149 90 vamp:identifier "threshold" ;
cannam@149 91 dc:title "Energy rise threshold" ;
cannam@149 92 dc:format "dB" ;
cannam@149 93 vamp:min_value 0 ;
cannam@149 94 vamp:max_value 20 ;
cannam@149 95 vamp:unit "dB" ;
cannam@149 96 vamp:default_value 3 ;
cannam@149 97 vamp:value_names ();
cannam@149 98 .
cannam@158 99 plugbase:percussiononsets_param_sensitivity a vamp:Parameter ;
cannam@149 100 vamp:identifier "sensitivity" ;
cannam@149 101 dc:title "Sensitivity" ;
cannam@149 102 dc:format "%" ;
cannam@149 103 vamp:min_value 0 ;
cannam@149 104 vamp:max_value 100 ;
cannam@149 105 vamp:unit "%" ;
cannam@149 106 vamp:default_value 40 ;
cannam@149 107 vamp:value_names ();
cannam@149 108 .
cannam@149 109 plugbase:percussiononsets_output_onsets a vamp:SparseOutput ;
cannam@149 110 vamp:identifier "onsets" ;
cannam@149 111 dc:title "Onsets" ;
cannam@149 112 dc:description "Percussive note onset locations" ;
cannam@149 113 vamp:fixed_bin_count "true" ;
cannam@149 114 vamp:unit "" ;
cannam@149 115 vamp:bin_count 0 ;
cannam@149 116 vamp:bin_names ();
cannam@149 117 vamp:sample_type vamp:VariableSampleRate ;
cannam@149 118 vamp:sample_rate 44100 ;
cannam@172 119 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 120 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 121 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 122 .
cannam@149 123 plugbase:percussiononsets_output_detectionfunction a vamp:DenseOutput ;
cannam@149 124 vamp:identifier "detectionfunction" ;
cannam@149 125 dc:title "Detection Function" ;
cannam@149 126 dc:description "Broadband energy rise detection function" ;
cannam@149 127 vamp:fixed_bin_count "true" ;
cannam@149 128 vamp:unit "" ;
cannam@149 129 a vamp:QuantizedOutput ;
cannam@149 130 vamp:quantize_step 1 ;
cannam@149 131 vamp:bin_count 1 ;
cannam@149 132 vamp:bin_names ( "");
cannam@172 133 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 134 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 135 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 136 .
cannam@149 137 plugbase:spectralcentroid a vamp:Plugin ;
cannam@149 138 dc:title "Spectral Centroid" ;
cannam@149 139 vamp:name "Spectral Centroid" ;
cannam@149 140 dc:description "Calculate the centroid frequency of the spectrum of the input signal" ;
cannam@154 141 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 142 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 143 vamp:identifier "spectralcentroid" ;
cannam@149 144 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 145 owl:versionInfo "2" ;
cannam@149 146 vamp:input_domain vamp:FrequencyDomain ;
cannam@149 147
cannam@149 148
cannam@172 149 vamp:output plugbase:spectralcentroid_output_logcentroid ;
cannam@172 150 vamp:output plugbase:spectralcentroid_output_linearcentroid ;
cannam@149 151 .
cannam@149 152 plugbase:spectralcentroid_output_logcentroid a vamp:DenseOutput ;
cannam@149 153 vamp:identifier "logcentroid" ;
cannam@149 154 dc:title "Log Frequency Centroid" ;
cannam@149 155 dc:description "Centroid of the log weighted frequency spectrum" ;
cannam@149 156 vamp:fixed_bin_count "true" ;
cannam@149 157 vamp:unit "Hz" ;
cannam@149 158 vamp:bin_count 1 ;
cannam@149 159 vamp:bin_names ( "");
cannam@172 160 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 161 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 162 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 163 .
cannam@149 164 plugbase:spectralcentroid_output_linearcentroid a vamp:DenseOutput ;
cannam@149 165 vamp:identifier "linearcentroid" ;
cannam@149 166 dc:title "Linear Frequency Centroid" ;
cannam@149 167 dc:description "Centroid of the linear frequency spectrum" ;
cannam@149 168 vamp:fixed_bin_count "true" ;
cannam@149 169 vamp:unit "Hz" ;
cannam@149 170 vamp:bin_count 1 ;
cannam@149 171 vamp:bin_names ( "");
cannam@172 172 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 173 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 174 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 175 .
cannam@149 176 plugbase:zerocrossing a vamp:Plugin ;
cannam@149 177 dc:title "Zero Crossings" ;
cannam@149 178 vamp:name "Zero Crossings" ;
cannam@149 179 dc:description "Detect and count zero crossing points" ;
cannam@154 180 foaf:maker [ foaf:name "Vamp SDK Example Plugins" ] ; # FIXME could give plugin author's URI here
cannam@154 181 # cc:license <Place plugin license URI here and uncomment> ;
cannam@149 182 vamp:identifier "zerocrossing" ;
cannam@149 183 vamp:vamp_API_version vamp:api_version_1 ;
cannam@149 184 owl:versionInfo "2" ;
cannam@149 185 vamp:input_domain vamp:TimeDomain ;
cannam@149 186
cannam@149 187
cannam@172 188 vamp:output plugbase:zerocrossing_output_counts ;
cannam@172 189 vamp:output plugbase:zerocrossing_output_zerocrossings ;
cannam@149 190 .
cannam@149 191 plugbase:zerocrossing_output_counts a vamp:DenseOutput ;
cannam@149 192 vamp:identifier "counts" ;
cannam@149 193 dc:title "Zero Crossing Counts" ;
cannam@149 194 dc:description "The number of zero crossing points per processing block" ;
cannam@149 195 vamp:fixed_bin_count "true" ;
cannam@149 196 vamp:unit "crossings" ;
cannam@149 197 a vamp:QuantizedOutput ;
cannam@149 198 vamp:quantize_step 1 ;
cannam@149 199 vamp:bin_count 1 ;
cannam@149 200 vamp:bin_names ( "");
cannam@172 201 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 202 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 203 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 204 .
cannam@149 205 plugbase:zerocrossing_output_zerocrossings a vamp:SparseOutput ;
cannam@149 206 vamp:identifier "zerocrossings" ;
cannam@149 207 dc:title "Zero Crossings" ;
cannam@149 208 dc:description "The locations of zero crossing points" ;
cannam@149 209 vamp:fixed_bin_count "true" ;
cannam@149 210 vamp:unit "" ;
cannam@149 211 a vamp:QuantizedOutput ;
cannam@149 212 vamp:quantize_step 1 ;
cannam@149 213 vamp:bin_count 0 ;
cannam@149 214 vamp:bin_names ();
cannam@149 215 vamp:sample_type vamp:VariableSampleRate ;
cannam@149 216 vamp:sample_rate 44100 ;
cannam@172 217 # vamp:computes_event_type <Place event type URI here and uncomment> ;
cannam@172 218 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
cannam@172 219 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
cannam@149 220 .
cannam@149 221