comparison examples/vamp-example-plugins.n3 @ 172:b163946348b3

* small update
author cannam
date Fri, 25 Jul 2008 14:49:11 +0000
parents 7c08ba8083b2
children 930b51de9c28
comparison
equal deleted inserted replaced
171:dcc5df7e3253 172:b163946348b3
33 vamp:input_domain vamp:TimeDomain ; 33 vamp:input_domain vamp:TimeDomain ;
34 34
35 vamp:parameter plugbase:amplitudefollower_param_attack ; 35 vamp:parameter plugbase:amplitudefollower_param_attack ;
36 vamp:parameter plugbase:amplitudefollower_param_release ; 36 vamp:parameter plugbase:amplitudefollower_param_release ;
37 37
38 vamp:output plugbase:amplitudefollower_output_amplitude ; 38 vamp:output plugbase:amplitudefollower_output_amplitude ;
39 . 39 .
40 plugbase:amplitudefollower_param_attack a vamp:Parameter ; 40 plugbase:amplitudefollower_param_attack a vamp:Parameter ;
41 vamp:identifier "attack" ; 41 vamp:identifier "attack" ;
42 dc:title "Attack time" ; 42 dc:title "Attack time" ;
43 dc:format "s" ; 43 dc:format "s" ;
63 dc:description "" ; 63 dc:description "" ;
64 vamp:fixed_bin_count "true" ; 64 vamp:fixed_bin_count "true" ;
65 vamp:unit "V" ; 65 vamp:unit "V" ;
66 vamp:bin_count 1 ; 66 vamp:bin_count 1 ;
67 vamp:bin_names ( ""); 67 vamp:bin_names ( "");
68 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 68 # vamp:computes_event_type <Place event type URI here and uncomment> ;
69 # vamp:computes_event_type <Place event type URI here and uncomment> ; 69 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
70 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
70 . 71 .
71 plugbase:percussiononsets a vamp:Plugin ; 72 plugbase:percussiononsets a vamp:Plugin ;
72 dc:title "Simple Percussion Onset Detector" ; 73 dc:title "Simple Percussion Onset Detector" ;
73 vamp:name "Simple Percussion Onset Detector" ; 74 vamp:name "Simple Percussion Onset Detector" ;
74 dc:description "Detect percussive note onsets by identifying broadband energy rises" ; 75 dc:description "Detect percussive note onsets by identifying broadband energy rises" ;
80 vamp:input_domain vamp:FrequencyDomain ; 81 vamp:input_domain vamp:FrequencyDomain ;
81 82
82 vamp:parameter plugbase:percussiononsets_param_threshold ; 83 vamp:parameter plugbase:percussiononsets_param_threshold ;
83 vamp:parameter plugbase:percussiononsets_param_sensitivity ; 84 vamp:parameter plugbase:percussiononsets_param_sensitivity ;
84 85
85 vamp:output plugbase:percussiononsets_output_onsets ; 86 vamp:output plugbase:percussiononsets_output_onsets ;
86 vamp:output plugbase:percussiononsets_output_detectionfunction ; 87 vamp:output plugbase:percussiononsets_output_detectionfunction ;
87 . 88 .
88 plugbase:percussiononsets_param_threshold a vamp:Parameter ; 89 plugbase:percussiononsets_param_threshold a vamp:Parameter ;
89 vamp:identifier "threshold" ; 90 vamp:identifier "threshold" ;
90 dc:title "Energy rise threshold" ; 91 dc:title "Energy rise threshold" ;
91 dc:format "dB" ; 92 dc:format "dB" ;
113 vamp:unit "" ; 114 vamp:unit "" ;
114 vamp:bin_count 0 ; 115 vamp:bin_count 0 ;
115 vamp:bin_names (); 116 vamp:bin_names ();
116 vamp:sample_type vamp:VariableSampleRate ; 117 vamp:sample_type vamp:VariableSampleRate ;
117 vamp:sample_rate 44100 ; 118 vamp:sample_rate 44100 ;
118 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 119 # vamp:computes_event_type <Place event type URI here and uncomment> ;
119 # vamp:computes_event_type <Place event type URI here and uncomment> ; 120 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
121 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
120 . 122 .
121 plugbase:percussiononsets_output_detectionfunction a vamp:DenseOutput ; 123 plugbase:percussiononsets_output_detectionfunction a vamp:DenseOutput ;
122 vamp:identifier "detectionfunction" ; 124 vamp:identifier "detectionfunction" ;
123 dc:title "Detection Function" ; 125 dc:title "Detection Function" ;
124 dc:description "Broadband energy rise detection function" ; 126 dc:description "Broadband energy rise detection function" ;
126 vamp:unit "" ; 128 vamp:unit "" ;
127 a vamp:QuantizedOutput ; 129 a vamp:QuantizedOutput ;
128 vamp:quantize_step 1 ; 130 vamp:quantize_step 1 ;
129 vamp:bin_count 1 ; 131 vamp:bin_count 1 ;
130 vamp:bin_names ( ""); 132 vamp:bin_names ( "");
131 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 133 # vamp:computes_event_type <Place event type URI here and uncomment> ;
132 # vamp:computes_event_type <Place event type URI here and uncomment> ; 134 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
135 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
133 . 136 .
134 plugbase:spectralcentroid a vamp:Plugin ; 137 plugbase:spectralcentroid a vamp:Plugin ;
135 dc:title "Spectral Centroid" ; 138 dc:title "Spectral Centroid" ;
136 vamp:name "Spectral Centroid" ; 139 vamp:name "Spectral Centroid" ;
137 dc:description "Calculate the centroid frequency of the spectrum of the input signal" ; 140 dc:description "Calculate the centroid frequency of the spectrum of the input signal" ;
141 vamp:vamp_API_version vamp:api_version_1 ; 144 vamp:vamp_API_version vamp:api_version_1 ;
142 owl:versionInfo "2" ; 145 owl:versionInfo "2" ;
143 vamp:input_domain vamp:FrequencyDomain ; 146 vamp:input_domain vamp:FrequencyDomain ;
144 147
145 148
146 vamp:output plugbase:spectralcentroid_output_logcentroid ; 149 vamp:output plugbase:spectralcentroid_output_logcentroid ;
147 vamp:output plugbase:spectralcentroid_output_linearcentroid ; 150 vamp:output plugbase:spectralcentroid_output_linearcentroid ;
148 . 151 .
149 plugbase:spectralcentroid_output_logcentroid a vamp:DenseOutput ; 152 plugbase:spectralcentroid_output_logcentroid a vamp:DenseOutput ;
150 vamp:identifier "logcentroid" ; 153 vamp:identifier "logcentroid" ;
151 dc:title "Log Frequency Centroid" ; 154 dc:title "Log Frequency Centroid" ;
152 dc:description "Centroid of the log weighted frequency spectrum" ; 155 dc:description "Centroid of the log weighted frequency spectrum" ;
153 vamp:fixed_bin_count "true" ; 156 vamp:fixed_bin_count "true" ;
154 vamp:unit "Hz" ; 157 vamp:unit "Hz" ;
155 vamp:bin_count 1 ; 158 vamp:bin_count 1 ;
156 vamp:bin_names ( ""); 159 vamp:bin_names ( "");
157 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 160 # vamp:computes_event_type <Place event type URI here and uncomment> ;
158 # vamp:computes_event_type <Place event type URI here and uncomment> ; 161 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
162 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
159 . 163 .
160 plugbase:spectralcentroid_output_linearcentroid a vamp:DenseOutput ; 164 plugbase:spectralcentroid_output_linearcentroid a vamp:DenseOutput ;
161 vamp:identifier "linearcentroid" ; 165 vamp:identifier "linearcentroid" ;
162 dc:title "Linear Frequency Centroid" ; 166 dc:title "Linear Frequency Centroid" ;
163 dc:description "Centroid of the linear frequency spectrum" ; 167 dc:description "Centroid of the linear frequency spectrum" ;
164 vamp:fixed_bin_count "true" ; 168 vamp:fixed_bin_count "true" ;
165 vamp:unit "Hz" ; 169 vamp:unit "Hz" ;
166 vamp:bin_count 1 ; 170 vamp:bin_count 1 ;
167 vamp:bin_names ( ""); 171 vamp:bin_names ( "");
168 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 172 # vamp:computes_event_type <Place event type URI here and uncomment> ;
169 # vamp:computes_event_type <Place event type URI here and uncomment> ; 173 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
174 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
170 . 175 .
171 plugbase:zerocrossing a vamp:Plugin ; 176 plugbase:zerocrossing a vamp:Plugin ;
172 dc:title "Zero Crossings" ; 177 dc:title "Zero Crossings" ;
173 vamp:name "Zero Crossings" ; 178 vamp:name "Zero Crossings" ;
174 dc:description "Detect and count zero crossing points" ; 179 dc:description "Detect and count zero crossing points" ;
178 vamp:vamp_API_version vamp:api_version_1 ; 183 vamp:vamp_API_version vamp:api_version_1 ;
179 owl:versionInfo "2" ; 184 owl:versionInfo "2" ;
180 vamp:input_domain vamp:TimeDomain ; 185 vamp:input_domain vamp:TimeDomain ;
181 186
182 187
183 vamp:output plugbase:zerocrossing_output_counts ; 188 vamp:output plugbase:zerocrossing_output_counts ;
184 vamp:output plugbase:zerocrossing_output_zerocrossings ; 189 vamp:output plugbase:zerocrossing_output_zerocrossings ;
185 . 190 .
186 plugbase:zerocrossing_output_counts a vamp:DenseOutput ; 191 plugbase:zerocrossing_output_counts a vamp:DenseOutput ;
187 vamp:identifier "counts" ; 192 vamp:identifier "counts" ;
188 dc:title "Zero Crossing Counts" ; 193 dc:title "Zero Crossing Counts" ;
189 dc:description "The number of zero crossing points per processing block" ; 194 dc:description "The number of zero crossing points per processing block" ;
191 vamp:unit "crossings" ; 196 vamp:unit "crossings" ;
192 a vamp:QuantizedOutput ; 197 a vamp:QuantizedOutput ;
193 vamp:quantize_step 1 ; 198 vamp:quantize_step 1 ;
194 vamp:bin_count 1 ; 199 vamp:bin_count 1 ;
195 vamp:bin_names ( ""); 200 vamp:bin_names ( "");
196 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 201 # vamp:computes_event_type <Place event type URI here and uncomment> ;
197 # vamp:computes_event_type <Place event type URI here and uncomment> ; 202 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
203 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
198 . 204 .
199 plugbase:zerocrossing_output_zerocrossings a vamp:SparseOutput ; 205 plugbase:zerocrossing_output_zerocrossings a vamp:SparseOutput ;
200 vamp:identifier "zerocrossings" ; 206 vamp:identifier "zerocrossings" ;
201 dc:title "Zero Crossings" ; 207 dc:title "Zero Crossings" ;
202 dc:description "The locations of zero crossing points" ; 208 dc:description "The locations of zero crossing points" ;
206 vamp:quantize_step 1 ; 212 vamp:quantize_step 1 ;
207 vamp:bin_count 0 ; 213 vamp:bin_count 0 ;
208 vamp:bin_names (); 214 vamp:bin_names ();
209 vamp:sample_type vamp:VariableSampleRate ; 215 vamp:sample_type vamp:VariableSampleRate ;
210 vamp:sample_rate 44100 ; 216 vamp:sample_rate 44100 ;
211 # vamp:computes_feature_type <Place feature type URI here and uncomment> ; 217 # vamp:computes_event_type <Place event type URI here and uncomment> ;
212 # vamp:computes_event_type <Place event type URI here and uncomment> ; 218 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
213 . 219 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
214 220 .
221