comparison code-doc/classSpectralCentroid.html @ 21:cc0be37dc9d3 website

* Updates for 2.0
author cannam
date Tue, 09 Dec 2008 11:02:57 +0000
parents 351c4ebce5f9
children 0976232e353b
comparison
equal deleted inserted replaced
20:34e758355884 21:cc0be37dc9d3
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3 <title>VampPluginSDK: SpectralCentroid Class Reference</title> 3 <title>VampPluginSDK: SpectralCentroid Class Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css"> 5 <link href="tabs.css" rel="stylesheet" type="text/css">
6 </head><body> 6 </head><body>
7 <!-- Generated by Doxygen 1.5.5 --> 7 <!-- Generated by Doxygen 1.5.6 -->
8 <div class="navigation" id="top"> 8 <div class="navigation" id="top">
9 <div class="tabs"> 9 <div class="tabs">
10 <ul> 10 <ul>
11 <li><a href="main.html"><span>Main&nbsp;Page</span></a></li> 11 <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
12 <li><a href="namespaces.html"><span>Namespaces</span></a></li> 12 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
29 <div class="dynheader"> 29 <div class="dynheader">
30 Inheritance diagram for SpectralCentroid:</div> 30 Inheritance diagram for SpectralCentroid:</div>
31 <div class="dynsection"> 31 <div class="dynsection">
32 <p><center><img src="classSpectralCentroid__inherit__graph.png" border="0" usemap="#SpectralCentroid__inherit__map" alt="Inheritance graph"></center> 32 <p><center><img src="classSpectralCentroid__inherit__graph.png" border="0" usemap="#SpectralCentroid__inherit__map" alt="Inheritance graph"></center>
33 <map name="SpectralCentroid__inherit__map"> 33 <map name="SpectralCentroid__inherit__map">
34 <area shape="rect" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction..." alt="" coords="20,82,119,106"><area shape="rect" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="5,7,133,31"></map> 34 <area shape="rect" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction..." alt="" coords="20,80,119,107"><area shape="rect" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="5,6,133,32"></map>
35 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div> 35 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
36 36
37 <p> 37 <p>
38 <a href="classSpectralCentroid-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 38 <a href="classSpectralCentroid-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
39 Example plugin that calculates the centre of gravity of the frequency domain representation of each block of audio. 39 Example plugin that calculates the centre of gravity of the frequency domain representation of each block of audio.
114 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#be13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr> 114 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#be13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr>
115 115
116 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. <a href="#be13b3997a69fbcc09e2213faa352f91"></a><br></td></tr> 116 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. <a href="#be13b3997a69fbcc09e2213faa352f91"></a><br></td></tr>
117 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#8fd2c48291c64b790f0efb8948508dcf">getVampApiVersion</a> () const </td></tr> 117 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#8fd2c48291c64b790f0efb8948508dcf">getVampApiVersion</a> () const </td></tr>
118 118
119 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> API compatibility level of the plugin. <a href="#8fd2c48291c64b790f0efb8948508dcf"></a><br></td></tr> 119 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. <a href="#8fd2c48291c64b790f0efb8948508dcf"></a><br></td></tr>
120 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#ac3e49b3b66cacfbb768dfdf07444f21">getParameterDescriptors</a> () const </td></tr> 120 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#ac3e49b3b66cacfbb768dfdf07444f21">getParameterDescriptors</a> () const </td></tr>
121 121
122 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#ac3e49b3b66cacfbb768dfdf07444f21"></a><br></td></tr> 122 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#ac3e49b3b66cacfbb768dfdf07444f21"></a><br></td></tr>
123 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#97ababcd45348ceec998d0f8e0f38bf7">getParameter</a> (std::string) const </td></tr> 123 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#97ababcd45348ceec998d0f8e0f38bf7">getParameter</a> (std::string) const </td></tr>
124 124
155 </div> 155 </div>
156 <div class="memdoc"> 156 <div class="memdoc">
157 157
158 <p> 158 <p>
159 159
160 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00309">309</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 160 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00322">322</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
161 161
162 </div> 162 </div>
163 </div><p> 163 </div><p>
164 <a class="anchor" name="0730bc72c87fa02eb8d2854b233f7be1"></a><!-- doxytag: member="SpectralCentroid::FeatureList" ref="0730bc72c87fa02eb8d2854b233f7be1" args="" --> 164 <a class="anchor" name="0730bc72c87fa02eb8d2854b233f7be1"></a><!-- doxytag: member="SpectralCentroid::FeatureList" ref="0730bc72c87fa02eb8d2854b233f7be1" args="" -->
165 <div class="memitem"> 165 <div class="memitem">
172 </div> 172 </div>
173 <div class="memdoc"> 173 <div class="memdoc">
174 174
175 <p> 175 <p>
176 176
177 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00347">347</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 177 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00380">380</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
178 178
179 </div> 179 </div>
180 </div><p> 180 </div><p>
181 <a class="anchor" name="448fb57dc245d47923ec9eeaf9856c5f"></a><!-- doxytag: member="SpectralCentroid::FeatureSet" ref="448fb57dc245d47923ec9eeaf9856c5f" args="" --> 181 <a class="anchor" name="448fb57dc245d47923ec9eeaf9856c5f"></a><!-- doxytag: member="SpectralCentroid::FeatureSet" ref="448fb57dc245d47923ec9eeaf9856c5f" args="" -->
182 <div class="memitem"> 182 <div class="memitem">
189 </div> 189 </div>
190 <div class="memdoc"> 190 <div class="memdoc">
191 191
192 <p> 192 <p>
193 193
194 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00348">348</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 194 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00382">382</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
195 195
196 </div> 196 </div>
197 </div><p> 197 </div><p>
198 <a class="anchor" name="3b6bb4bbd86affe1ca9deceea1aad4f8"></a><!-- doxytag: member="SpectralCentroid::ParameterList" ref="3b6bb4bbd86affe1ca9deceea1aad4f8" args="" --> 198 <a class="anchor" name="3b6bb4bbd86affe1ca9deceea1aad4f8"></a><!-- doxytag: member="SpectralCentroid::ParameterList" ref="3b6bb4bbd86affe1ca9deceea1aad4f8" args="" -->
199 <div class="memitem"> 199 <div class="memitem">
206 </div> 206 </div>
207 <div class="memdoc"> 207 <div class="memdoc">
208 208
209 <p> 209 <p>
210 210
211 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00195">195</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 211 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00203">203</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
212 212
213 </div> 213 </div>
214 </div><p> 214 </div><p>
215 <a class="anchor" name="7f66f00437b21e5f694fe02356b12f20"></a><!-- doxytag: member="SpectralCentroid::ProgramList" ref="7f66f00437b21e5f694fe02356b12f20" args="" --> 215 <a class="anchor" name="7f66f00437b21e5f694fe02356b12f20"></a><!-- doxytag: member="SpectralCentroid::ProgramList" ref="7f66f00437b21e5f694fe02356b12f20" args="" -->
216 <div class="memitem"> 216 <div class="memitem">
223 </div> 223 </div>
224 <div class="memdoc"> 224 <div class="memdoc">
225 225
226 <p> 226 <p>
227 227
228 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00217">217</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 228 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00225">225</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
229 229
230 </div> 230 </div>
231 </div><p> 231 </div><p>
232 <hr><h2>Member Enumeration Documentation</h2> 232 <hr><h2>Member Enumeration Documentation</h2>
233 <a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bc"></a><!-- doxytag: member="SpectralCentroid::InputDomain" ref="39cb7649d6dcc20e4cb1640cd55907bc" args="" --> 233 <a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bc"></a><!-- doxytag: member="SpectralCentroid::InputDomain" ref="39cb7649d6dcc20e4cb1640cd55907bc" args="" -->
249 <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53"></a><!-- doxytag: member="FrequencyDomain" ref="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53" args="" -->FrequencyDomain</em>&nbsp;</td><td> 249 <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53"></a><!-- doxytag: member="FrequencyDomain" ref="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53" args="" -->FrequencyDomain</em>&nbsp;</td><td>
250 </td></tr> 250 </td></tr>
251 </table> 251 </table>
252 </dl> 252 </dl>
253 253
254 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00149">149</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 254 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00152">152</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
255 255
256 </div> 256 </div>
257 </div><p> 257 </div><p>
258 <hr><h2>Constructor &amp; Destructor Documentation</h2> 258 <hr><h2>Constructor &amp; Destructor Documentation</h2>
259 <a class="anchor" name="2cd801ad72f262eceb95ab0d22e7dbcd"></a><!-- doxytag: member="SpectralCentroid::SpectralCentroid" ref="2cd801ad72f262eceb95ab0d22e7dbcd" args="(float inputSampleRate)" --> 259 <a class="anchor" name="2cd801ad72f262eceb95ab0d22e7dbcd"></a><!-- doxytag: member="SpectralCentroid::SpectralCentroid" ref="2cd801ad72f262eceb95ab0d22e7dbcd" args="(float inputSampleRate)" -->
264 <td class="memname">SpectralCentroid::SpectralCentroid </td> 264 <td class="memname">SpectralCentroid::SpectralCentroid </td>
265 <td>(</td> 265 <td>(</td>
266 <td class="paramtype">float&nbsp;</td> 266 <td class="paramtype">float&nbsp;</td>
267 <td class="paramname"> <em>inputSampleRate</em> </td> 267 <td class="paramname"> <em>inputSampleRate</em> </td>
268 <td>&nbsp;)&nbsp;</td> 268 <td>&nbsp;)&nbsp;</td>
269 <td width="100%"></td> 269 <td></td>
270 </tr> 270 </tr>
271 </table> 271 </table>
272 </div> 272 </div>
273 <div class="memdoc"> 273 <div class="memdoc">
274 274
275 <p> 275 <p>
276 276
277 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00047">47</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 277 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00051">51</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
278 278
279 </div> 279 </div>
280 </div><p> 280 </div><p>
281 <a class="anchor" name="483e0d6757bc3dcf61e8066f764f45c6"></a><!-- doxytag: member="SpectralCentroid::~SpectralCentroid" ref="483e0d6757bc3dcf61e8066f764f45c6" args="()" --> 281 <a class="anchor" name="483e0d6757bc3dcf61e8066f764f45c6"></a><!-- doxytag: member="SpectralCentroid::~SpectralCentroid" ref="483e0d6757bc3dcf61e8066f764f45c6" args="()" -->
282 <div class="memitem"> 282 <div class="memitem">
285 <tr> 285 <tr>
286 <td class="memname">SpectralCentroid::~SpectralCentroid </td> 286 <td class="memname">SpectralCentroid::~SpectralCentroid </td>
287 <td>(</td> 287 <td>(</td>
288 <td class="paramname"> </td> 288 <td class="paramname"> </td>
289 <td>&nbsp;)&nbsp;</td> 289 <td>&nbsp;)&nbsp;</td>
290 <td width="100%"><code> [virtual]</code></td> 290 <td><code> [virtual]</code></td>
291 </tr> 291 </tr>
292 </table> 292 </table>
293 </div> 293 </div>
294 <div class="memdoc"> 294 <div class="memdoc">
295 295
296 <p> 296 <p>
297 297
298 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00054">54</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 298 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00058">58</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
299 299
300 </div> 300 </div>
301 </div><p> 301 </div><p>
302 <hr><h2>Member Function Documentation</h2> 302 <hr><h2>Member Function Documentation</h2>
303 <a class="anchor" name="ab1ae16f5c68e2b319668f447908cedb"></a><!-- doxytag: member="SpectralCentroid::initialise" ref="ab1ae16f5c68e2b319668f447908cedb" args="(size_t channels, size_t stepSize, size_t blockSize)" --> 303 <a class="anchor" name="ab1ae16f5c68e2b319668f447908cedb"></a><!-- doxytag: member="SpectralCentroid::initialise" ref="ab1ae16f5c68e2b319668f447908cedb" args="(size_t channels, size_t stepSize, size_t blockSize)" -->
323 <td class="paramname"> <em>blockSize</em></td><td>&nbsp;</td> 323 <td class="paramname"> <em>blockSize</em></td><td>&nbsp;</td>
324 </tr> 324 </tr>
325 <tr> 325 <tr>
326 <td></td> 326 <td></td>
327 <td>)</td> 327 <td>)</td>
328 <td></td><td></td><td width="100%"><code> [virtual]</code></td> 328 <td></td><td></td><td><code> [virtual]</code></td>
329 </tr> 329 </tr>
330 </table> 330 </table>
331 </div> 331 </div>
332 <div class="memdoc"> 332 <div class="memdoc">
333 333
336 <p> 336 <p>
337 The input sample rate should have been already specified at construction time.<p> 337 The input sample rate should have been already specified at construction time.<p>
338 Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported. 338 Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported.
339 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p> 339 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p>
340 340
341 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00095">95</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 341 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00099">99</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
342 342
343 <p>References <a class="el" href="Plugin_8h-source.html#l00196">Vamp::Plugin::getMaxChannelCount()</a>, <a class="el" href="Plugin_8h-source.html#l00191">Vamp::Plugin::getMinChannelCount()</a>, <a class="el" href="SpectralCentroid_8h-source.html#l00074">m_blockSize</a>, and <a class="el" href="SpectralCentroid_8h-source.html#l00073">m_stepSize</a>.</p> 343 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00199">Vamp::Plugin::getMaxChannelCount()</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00194">Vamp::Plugin::getMinChannelCount()</a>, <a class="el" href="SpectralCentroid_8h-source.html#l00074">m_blockSize</a>, and <a class="el" href="SpectralCentroid_8h-source.html#l00073">m_stepSize</a>.</p>
344 344
345 </div> 345 </div>
346 </div><p> 346 </div><p>
347 <a class="anchor" name="9b5f5581691ff8f46bb7674d8d74395c"></a><!-- doxytag: member="SpectralCentroid::reset" ref="9b5f5581691ff8f46bb7674d8d74395c" args="()" --> 347 <a class="anchor" name="9b5f5581691ff8f46bb7674d8d74395c"></a><!-- doxytag: member="SpectralCentroid::reset" ref="9b5f5581691ff8f46bb7674d8d74395c" args="()" -->
348 <div class="memitem"> 348 <div class="memitem">
351 <tr> 351 <tr>
352 <td class="memname">void SpectralCentroid::reset </td> 352 <td class="memname">void SpectralCentroid::reset </td>
353 <td>(</td> 353 <td>(</td>
354 <td class="paramname"> </td> 354 <td class="paramname"> </td>
355 <td>&nbsp;)&nbsp;</td> 355 <td>&nbsp;)&nbsp;</td>
356 <td width="100%"><code> [virtual]</code></td> 356 <td><code> [virtual]</code></td>
357 </tr> 357 </tr>
358 </table> 358 </table>
359 </div> 359 </div>
360 <div class="memdoc"> 360 <div class="memdoc">
361 361
363 Reset the plugin after use, to prepare it for another clean run. 363 Reset the plugin after use, to prepare it for another clean run.
364 <p> 364 <p>
365 Not called for the first initialisation (i.e. initialise must also do a reset). 365 Not called for the first initialisation (i.e. initialise must also do a reset).
366 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p> 366 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
367 367
368 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00107">107</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 368 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00111">111</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
369 369
370 </div> 370 </div>
371 </div><p> 371 </div><p>
372 <a class="anchor" name="0ec2cb74c1c5f6e57d0bd9dcf7c8f469"></a><!-- doxytag: member="SpectralCentroid::getInputDomain" ref="0ec2cb74c1c5f6e57d0bd9dcf7c8f469" args="() const " --> 372 <a class="anchor" name="0ec2cb74c1c5f6e57d0bd9dcf7c8f469"></a><!-- doxytag: member="SpectralCentroid::getInputDomain" ref="0ec2cb74c1c5f6e57d0bd9dcf7c8f469" args="() const " -->
373 <div class="memitem"> 373 <div class="memitem">
376 <tr> 376 <tr>
377 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> SpectralCentroid::getInputDomain </td> 377 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> SpectralCentroid::getInputDomain </td>
378 <td>(</td> 378 <td>(</td>
379 <td class="paramname"> </td> 379 <td class="paramname"> </td>
380 <td>&nbsp;)&nbsp;</td> 380 <td>&nbsp;)&nbsp;</td>
381 <td width="100%"> const<code> [inline, virtual]</code></td> 381 <td> const<code> [inline, virtual]</code></td>
382 </tr> 382 </tr>
383 </table> 383 </table>
384 </div> 384 </div>
385 <div class="memdoc"> 385 <div class="memdoc">
386 386
390 If this is TimeDomain, the samples provided to the <a class="el" href="classSpectralCentroid.html#ca96c70e7e75c9e4a7db38485018914c" title="Process a single block of input data.">process()</a> function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to <a class="el" href="classSpectralCentroid.html#ca96c70e7e75c9e4a7db38485018914c" title="Process a single block of input data.">process()</a>. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. 390 If this is TimeDomain, the samples provided to the <a class="el" href="classSpectralCentroid.html#ca96c70e7e75c9e4a7db38485018914c" title="Process a single block of input data.">process()</a> function (below) will be in the time domain, as for a traditional audio processing plugin. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to <a class="el" href="classSpectralCentroid.html#ca96c70e7e75c9e4a7db38485018914c" title="Process a single block of input data.">process()</a>. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.
391 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p> 391 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
392 392
393 <p>Definition at line <a class="el" href="SpectralCentroid_8h-source.html#l00056">56</a> of file <a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a>.</p> 393 <p>Definition at line <a class="el" href="SpectralCentroid_8h-source.html#l00056">56</a> of file <a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a>.</p>
394 394
395 <p>References <a class="el" href="Plugin_8h-source.html#l00149">Vamp::Plugin::FrequencyDomain</a>.</p> 395 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00152">Vamp::Plugin::FrequencyDomain</a>.</p>
396 396
397 </div> 397 </div>
398 </div><p> 398 </div><p>
399 <a class="anchor" name="1b2c4c8440c024c4c635fcef5697949f"></a><!-- doxytag: member="SpectralCentroid::getIdentifier" ref="1b2c4c8440c024c4c635fcef5697949f" args="() const " --> 399 <a class="anchor" name="1b2c4c8440c024c4c635fcef5697949f"></a><!-- doxytag: member="SpectralCentroid::getIdentifier" ref="1b2c4c8440c024c4c635fcef5697949f" args="() const " -->
400 <div class="memitem"> 400 <div class="memitem">
403 <tr> 403 <tr>
404 <td class="memname">string SpectralCentroid::getIdentifier </td> 404 <td class="memname">string SpectralCentroid::getIdentifier </td>
405 <td>(</td> 405 <td>(</td>
406 <td class="paramname"> </td> 406 <td class="paramname"> </td>
407 <td>&nbsp;)&nbsp;</td> 407 <td>&nbsp;)&nbsp;</td>
408 <td width="100%"> const<code> [virtual]</code></td> 408 <td> const<code> [virtual]</code></td>
409 </tr> 409 </tr>
410 </table> 410 </table>
411 </div> 411 </div>
412 <div class="memdoc"> 412 <div class="memdoc">
413 413
417 This should be reasonably short and contain no whitespace or punctuation characters. It may only contain the characters [a-zA-Z0-9_-]. This is the authoritative way for a program to identify a plugin within a given library.<p> 417 This should be reasonably short and contain no whitespace or punctuation characters. It may only contain the characters [a-zA-Z0-9_-]. This is the authoritative way for a program to identify a plugin within a given library.<p>
418 This text may be visible to the user, but it should not be the main text used to identify a plugin to the user (that will be the name, below).<p> 418 This text may be visible to the user, but it should not be the main text used to identify a plugin to the user (that will be the name, below).<p>
419 Example: "zero_crossings" 419 Example: "zero_crossings"
420 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#d1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p> 420 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#d1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
421 421
422 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00059">59</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 422 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00063">63</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
423 423
424 </div> 424 </div>
425 </div><p> 425 </div><p>
426 <a class="anchor" name="b7e6a620fea568af431be3cfd9dd5a41"></a><!-- doxytag: member="SpectralCentroid::getName" ref="b7e6a620fea568af431be3cfd9dd5a41" args="() const " --> 426 <a class="anchor" name="b7e6a620fea568af431be3cfd9dd5a41"></a><!-- doxytag: member="SpectralCentroid::getName" ref="b7e6a620fea568af431be3cfd9dd5a41" args="() const " -->
427 <div class="memitem"> 427 <div class="memitem">
430 <tr> 430 <tr>
431 <td class="memname">string SpectralCentroid::getName </td> 431 <td class="memname">string SpectralCentroid::getName </td>
432 <td>(</td> 432 <td>(</td>
433 <td class="paramname"> </td> 433 <td class="paramname"> </td>
434 <td>&nbsp;)&nbsp;</td> 434 <td>&nbsp;)&nbsp;</td>
435 <td width="100%"> const<code> [virtual]</code></td> 435 <td> const<code> [virtual]</code></td>
436 </tr> 436 </tr>
437 </table> 437 </table>
438 </div> 438 </div>
439 <div class="memdoc"> 439 <div class="memdoc">
440 440
443 <p> 443 <p>
444 This should be brief and self-contained, as it may be used to identify the plugin to the user in isolation (i.e. without also showing the plugin's "identifier").<p> 444 This should be brief and self-contained, as it may be used to identify the plugin to the user in isolation (i.e. without also showing the plugin's "identifier").<p>
445 Example: "Zero Crossings" 445 Example: "Zero Crossings"
446 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p> 446 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
447 447
448 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00065">65</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 448 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00069">69</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
449 449
450 </div> 450 </div>
451 </div><p> 451 </div><p>
452 <a class="anchor" name="8fbb74a46283057d9a0b0e4718ee943c"></a><!-- doxytag: member="SpectralCentroid::getDescription" ref="8fbb74a46283057d9a0b0e4718ee943c" args="() const " --> 452 <a class="anchor" name="8fbb74a46283057d9a0b0e4718ee943c"></a><!-- doxytag: member="SpectralCentroid::getDescription" ref="8fbb74a46283057d9a0b0e4718ee943c" args="() const " -->
453 <div class="memitem"> 453 <div class="memitem">
456 <tr> 456 <tr>
457 <td class="memname">string SpectralCentroid::getDescription </td> 457 <td class="memname">string SpectralCentroid::getDescription </td>
458 <td>(</td> 458 <td>(</td>
459 <td class="paramname"> </td> 459 <td class="paramname"> </td>
460 <td>&nbsp;)&nbsp;</td> 460 <td>&nbsp;)&nbsp;</td>
461 <td width="100%"> const<code> [virtual]</code></td> 461 <td> const<code> [virtual]</code></td>
462 </tr> 462 </tr>
463 </table> 463 </table>
464 </div> 464 </div>
465 <div class="memdoc"> 465 <div class="memdoc">
466 466
469 <p> 469 <p>
470 May be empty if the name has said it all already.<p> 470 May be empty if the name has said it all already.<p>
471 Example: "Detect and count zero crossing points" 471 Example: "Detect and count zero crossing points"
472 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p> 472 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
473 473
474 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00071">71</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 474 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00075">75</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
475 475
476 </div> 476 </div>
477 </div><p> 477 </div><p>
478 <a class="anchor" name="c01ff858bf67e2e93ad5d24a6ba8c8c8"></a><!-- doxytag: member="SpectralCentroid::getMaker" ref="c01ff858bf67e2e93ad5d24a6ba8c8c8" args="() const " --> 478 <a class="anchor" name="c01ff858bf67e2e93ad5d24a6ba8c8c8"></a><!-- doxytag: member="SpectralCentroid::getMaker" ref="c01ff858bf67e2e93ad5d24a6ba8c8c8" args="() const " -->
479 <div class="memitem"> 479 <div class="memitem">
482 <tr> 482 <tr>
483 <td class="memname">string SpectralCentroid::getMaker </td> 483 <td class="memname">string SpectralCentroid::getMaker </td>
484 <td>(</td> 484 <td>(</td>
485 <td class="paramname"> </td> 485 <td class="paramname"> </td>
486 <td>&nbsp;)&nbsp;</td> 486 <td>&nbsp;)&nbsp;</td>
487 <td width="100%"> const<code> [virtual]</code></td> 487 <td> const<code> [virtual]</code></td>
488 </tr> 488 </tr>
489 </table> 489 </table>
490 </div> 490 </div>
491 <div class="memdoc"> 491 <div class="memdoc">
492 492
494 Get the name of the author or vendor of the plugin in human-readable form. 494 Get the name of the author or vendor of the plugin in human-readable form.
495 <p> 495 <p>
496 This should be a short identifying text, as it may be used to label plugins from the same source in a menu or similar. 496 This should be a short identifying text, as it may be used to label plugins from the same source in a menu or similar.
497 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p> 497 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
498 498
499 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00077">77</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 499 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00081">81</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
500 500
501 </div> 501 </div>
502 </div><p> 502 </div><p>
503 <a class="anchor" name="f64622e66bf678ac2b0b58aa832ca2b3"></a><!-- doxytag: member="SpectralCentroid::getPluginVersion" ref="f64622e66bf678ac2b0b58aa832ca2b3" args="() const " --> 503 <a class="anchor" name="f64622e66bf678ac2b0b58aa832ca2b3"></a><!-- doxytag: member="SpectralCentroid::getPluginVersion" ref="f64622e66bf678ac2b0b58aa832ca2b3" args="() const " -->
504 <div class="memitem"> 504 <div class="memitem">
507 <tr> 507 <tr>
508 <td class="memname">int SpectralCentroid::getPluginVersion </td> 508 <td class="memname">int SpectralCentroid::getPluginVersion </td>
509 <td>(</td> 509 <td>(</td>
510 <td class="paramname"> </td> 510 <td class="paramname"> </td>
511 <td>&nbsp;)&nbsp;</td> 511 <td>&nbsp;)&nbsp;</td>
512 <td width="100%"> const<code> [virtual]</code></td> 512 <td> const<code> [virtual]</code></td>
513 </tr> 513 </tr>
514 </table> 514 </table>
515 </div> 515 </div>
516 <div class="memdoc"> 516 <div class="memdoc">
517 517
519 Get the version number of the plugin. 519 Get the version number of the plugin.
520 <p> 520 <p>
521 521
522 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p> 522 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
523 523
524 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00083">83</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 524 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00087">87</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
525 525
526 </div> 526 </div>
527 </div><p> 527 </div><p>
528 <a class="anchor" name="925747d513d598e0fa21ed0ed6520980"></a><!-- doxytag: member="SpectralCentroid::getCopyright" ref="925747d513d598e0fa21ed0ed6520980" args="() const " --> 528 <a class="anchor" name="925747d513d598e0fa21ed0ed6520980"></a><!-- doxytag: member="SpectralCentroid::getCopyright" ref="925747d513d598e0fa21ed0ed6520980" args="() const " -->
529 <div class="memitem"> 529 <div class="memitem">
532 <tr> 532 <tr>
533 <td class="memname">string SpectralCentroid::getCopyright </td> 533 <td class="memname">string SpectralCentroid::getCopyright </td>
534 <td>(</td> 534 <td>(</td>
535 <td class="paramname"> </td> 535 <td class="paramname"> </td>
536 <td>&nbsp;)&nbsp;</td> 536 <td>&nbsp;)&nbsp;</td>
537 <td width="100%"> const<code> [virtual]</code></td> 537 <td> const<code> [virtual]</code></td>
538 </tr> 538 </tr>
539 </table> 539 </table>
540 </div> 540 </div>
541 <div class="memdoc"> 541 <div class="memdoc">
542 542
544 Get the copyright statement or licensing summary for the plugin. 544 Get the copyright statement or licensing summary for the plugin.
545 <p> 545 <p>
546 This can be an informative text, without the same presentation constraints as mentioned for getMaker above. 546 This can be an informative text, without the same presentation constraints as mentioned for getMaker above.
547 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#b7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p> 547 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#b7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
548 548
549 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00089">89</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 549 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00093">93</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
550 550
551 </div> 551 </div>
552 </div><p> 552 </div><p>
553 <a class="anchor" name="894ca9740927102bb80b56b5e9e95877"></a><!-- doxytag: member="SpectralCentroid::getOutputDescriptors" ref="894ca9740927102bb80b56b5e9e95877" args="() const " --> 553 <a class="anchor" name="894ca9740927102bb80b56b5e9e95877"></a><!-- doxytag: member="SpectralCentroid::getOutputDescriptors" ref="894ca9740927102bb80b56b5e9e95877" args="() const " -->
554 <div class="memitem"> 554 <div class="memitem">
557 <tr> 557 <tr>
558 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">SpectralCentroid::OutputList</a> SpectralCentroid::getOutputDescriptors </td> 558 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">SpectralCentroid::OutputList</a> SpectralCentroid::getOutputDescriptors </td>
559 <td>(</td> 559 <td>(</td>
560 <td class="paramname"> </td> 560 <td class="paramname"> </td>
561 <td>&nbsp;)&nbsp;</td> 561 <td>&nbsp;)&nbsp;</td>
562 <td width="100%"> const<code> [virtual]</code></td> 562 <td> const<code> [virtual]</code></td>
563 </tr> 563 </tr>
564 </table> 564 </table>
565 </div> 565 </div>
566 <div class="memdoc"> 566 <div class="memdoc">
567 567
569 Get the outputs of this plugin. 569 Get the outputs of this plugin.
570 <p> 570 <p>
571 An output's index in this list is used as its numeric index when looking it up in the FeatureSet returned from the <a class="el" href="classSpectralCentroid.html#ca96c70e7e75c9e4a7db38485018914c" title="Process a single block of input data.">process()</a> call. 571 An output's index in this list is used as its numeric index when looking it up in the FeatureSet returned from the <a class="el" href="classSpectralCentroid.html#ca96c70e7e75c9e4a7db38485018914c" title="Process a single block of input data.">process()</a> call.
572 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#d064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p> 572 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#d064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
573 573
574 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00112">112</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 574 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00116">116</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
575 575
576 <p>References <a class="el" href="Plugin_8h-source.html#l00239">Vamp::Plugin::OutputDescriptor::binCount</a>, <a class="el" href="Plugin_8h-source.html#l00219">Vamp::Plugin::OutputDescriptor::description</a>, <a class="el" href="Plugin_8h-source.html#l00231">Vamp::Plugin::OutputDescriptor::hasFixedBinCount</a>, <a class="el" href="Plugin_8h-source.html#l00252">Vamp::Plugin::OutputDescriptor::hasKnownExtents</a>, <a class="el" href="Plugin_8h-source.html#l00206">Vamp::Plugin::OutputDescriptor::identifier</a>, <a class="el" href="Plugin_8h-source.html#l00270">Vamp::Plugin::OutputDescriptor::isQuantized</a>, <a class="el" href="Plugin_8h-source.html#l00212">Vamp::Plugin::OutputDescriptor::name</a>, <a class="el" href="Plugin_8h-source.html#l00282">Vamp::Plugin::OutputDescriptor::OneSamplePerStep</a>, <a class="el" href="Plugin_8h-source.html#l00294">Vamp::Plugin::OutputDescriptor::sampleType</a>, and <a class="el" href="Plugin_8h-source.html#l00224">Vamp::Plugin::OutputDescriptor::unit</a>.</p> 576 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00242">Vamp::Plugin::OutputDescriptor::binCount</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00222">Vamp::Plugin::OutputDescriptor::description</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00234">Vamp::Plugin::OutputDescriptor::hasFixedBinCount</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00255">Vamp::Plugin::OutputDescriptor::hasKnownExtents</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00209">Vamp::Plugin::OutputDescriptor::identifier</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00273">Vamp::Plugin::OutputDescriptor::isQuantized</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00215">Vamp::Plugin::OutputDescriptor::name</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00285">Vamp::Plugin::OutputDescriptor::OneSamplePerStep</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00297">Vamp::Plugin::OutputDescriptor::sampleType</a>, and <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00227">Vamp::Plugin::OutputDescriptor::unit</a>.</p>
577 577
578 </div> 578 </div>
579 </div><p> 579 </div><p>
580 <a class="anchor" name="ca96c70e7e75c9e4a7db38485018914c"></a><!-- doxytag: member="SpectralCentroid::process" ref="ca96c70e7e75c9e4a7db38485018914c" args="(const float *const *inputBuffers, Vamp::RealTime timestamp)" --> 580 <a class="anchor" name="ca96c70e7e75c9e4a7db38485018914c"></a><!-- doxytag: member="SpectralCentroid::process" ref="ca96c70e7e75c9e4a7db38485018914c" args="(const float *const *inputBuffers, Vamp::RealTime timestamp)" -->
581 <div class="memitem"> 581 <div class="memitem">
594 <td class="paramname"> <em>timestamp</em></td><td>&nbsp;</td> 594 <td class="paramname"> <em>timestamp</em></td><td>&nbsp;</td>
595 </tr> 595 </tr>
596 <tr> 596 <tr>
597 <td></td> 597 <td></td>
598 <td>)</td> 598 <td>)</td>
599 <td></td><td></td><td width="100%"><code> [virtual]</code></td> 599 <td></td><td></td><td><code> [virtual]</code></td>
600 </tr> 600 </tr>
601 </table> 601 </table>
602 </div> 602 </div>
603 <div class="memdoc"> 603 <div class="memdoc">
604 604
605 <p> 605 <p>
606 Process a single block of input data. 606 Process a single block of input data.
607 <p> 607 <p>
608 If the plugin's inputDomain is TimeDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize consecutive audio samples (the host will zero-pad as necessary). The timestamp will be the real time in seconds of the start of the supplied block of samples.<p> 608 If the plugin's inputDomain is TimeDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize consecutive audio samples (the host will zero-pad as necessary). The timestamp in this case will be the real time in seconds of the start of the supplied block of samples.<p>
609 If the plugin's inputDomain is FrequencyDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize/2+1 consecutive pairs of real and imaginary component floats corresponding to bins 0..(blockSize/2) of the FFT output. That is, bin 0 (the first pair of floats) contains the DC output, up to bin blockSize/2 which contains the Nyquist-frequency output. There will therefore be blockSize+2 floats per channel in total. The timestamp will be the real time in seconds of the centre of the FFT input window (i.e. the very first block passed to process might contain the FFT of half a block of zero samples and the first half-block of the actual data, with a timestamp of zero).<p> 609 If the plugin's inputDomain is FrequencyDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize/2+1 consecutive pairs of real and imaginary component floats corresponding to bins 0..(blockSize/2) of the FFT output. That is, bin 0 (the first pair of floats) contains the DC output, up to bin blockSize/2 which contains the Nyquist-frequency output. There will therefore be blockSize+2 floats per channel in total. The timestamp will be the real time in seconds of the centre of the FFT input window (i.e. the very first block passed to process might contain the FFT of half a block of zero samples and the first half-block of the actual data, with a timestamp of zero).<p>
610 Return any features that have become available after this process call. (These do not necessarily have to fall within the process block, except for OneSamplePerStep outputs.) 610 Return any features that have become available after this process call. (These do not necessarily have to fall within the process block, except for OneSamplePerStep outputs.)
611 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p> 611 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p>
612 612
613 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00137">137</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 613 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00141">141</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
614 614
615 <p>References <a class="el" href="Plugin_8h-source.html#l00325">Vamp::Plugin::Feature::hasTimestamp</a>, <a class="el" href="SpectralCentroid_8h-source.html#l00074">m_blockSize</a>, <a class="el" href="Plugin_8h-source.html#l00397">Vamp::Plugin::m_inputSampleRate</a>, <a class="el" href="SpectralCentroid_8h-source.html#l00073">m_stepSize</a>, and <a class="el" href="Plugin_8h-source.html#l00339">Vamp::Plugin::Feature::values</a>.</p> 615 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00339">Vamp::Plugin::Feature::hasTimestamp</a>, <a class="el" href="SpectralCentroid_8h-source.html#l00074">m_blockSize</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00431">Vamp::Plugin::m_inputSampleRate</a>, <a class="el" href="SpectralCentroid_8h-source.html#l00073">m_stepSize</a>, and <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00369">Vamp::Plugin::Feature::values</a>.</p>
616 616
617 </div> 617 </div>
618 </div><p> 618 </div><p>
619 <a class="anchor" name="83ba39f0870a2f86837605a958dfab1a"></a><!-- doxytag: member="SpectralCentroid::getRemainingFeatures" ref="83ba39f0870a2f86837605a958dfab1a" args="()" --> 619 <a class="anchor" name="83ba39f0870a2f86837605a958dfab1a"></a><!-- doxytag: member="SpectralCentroid::getRemainingFeatures" ref="83ba39f0870a2f86837605a958dfab1a" args="()" -->
620 <div class="memitem"> 620 <div class="memitem">
623 <tr> 623 <tr>
624 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">SpectralCentroid::FeatureSet</a> SpectralCentroid::getRemainingFeatures </td> 624 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">SpectralCentroid::FeatureSet</a> SpectralCentroid::getRemainingFeatures </td>
625 <td>(</td> 625 <td>(</td>
626 <td class="paramname"> </td> 626 <td class="paramname"> </td>
627 <td>&nbsp;)&nbsp;</td> 627 <td>&nbsp;)&nbsp;</td>
628 <td width="100%"><code> [virtual]</code></td> 628 <td><code> [virtual]</code></td>
629 </tr> 629 </tr>
630 </table> 630 </table>
631 </div> 631 </div>
632 <div class="memdoc"> 632 <div class="memdoc">
633 633
635 After all blocks have been processed, calculate and return any remaining features derived from the complete input. 635 After all blocks have been processed, calculate and return any remaining features derived from the complete input.
636 <p> 636 <p>
637 637
638 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#eca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p> 638 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#eca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
639 639
640 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00184">184</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p> 640 <p>Definition at line <a class="el" href="SpectralCentroid_8cpp-source.html#l00187">187</a> of file <a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a>.</p>
641 641
642 </div> 642 </div>
643 </div><p> 643 </div><p>
644 <a class="anchor" name="a529adf83f87a603954eb31407602aac"></a><!-- doxytag: member="SpectralCentroid::getPreferredBlockSize" ref="a529adf83f87a603954eb31407602aac" args="() const " --> 644 <a class="anchor" name="a529adf83f87a603954eb31407602aac"></a><!-- doxytag: member="SpectralCentroid::getPreferredBlockSize" ref="a529adf83f87a603954eb31407602aac" args="() const " -->
645 <div class="memitem"> 645 <div class="memitem">
648 <tr> 648 <tr>
649 <td class="memname">virtual size_t Vamp::Plugin::getPreferredBlockSize </td> 649 <td class="memname">virtual size_t Vamp::Plugin::getPreferredBlockSize </td>
650 <td>(</td> 650 <td>(</td>
651 <td class="paramname"> </td> 651 <td class="paramname"> </td>
652 <td>&nbsp;)&nbsp;</td> 652 <td>&nbsp;)&nbsp;</td>
653 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 653 <td> const<code> [inline, virtual, inherited]</code></td>
654 </tr> 654 </tr>
655 </table> 655 </table>
656 </div> 656 </div>
657 <div class="memdoc"> 657 <div class="memdoc">
658 658
659 <p> 659 <p>
660 Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function). 660 Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function).
661 <p> 661 <p>
662 This should be called before <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p> 662 This should be called before <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p>
663 A plugin that can handle any block size may return 0. The final block size will be set in the <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call. 663 A plugin that can handle any block size may return 0. The final block size will be set in the <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call.
664 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#d5e0ea8042bdec4dd18428991117e07a">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#4cf40d09d02022b1962ff17bb0324ea5">Vamp::HostExt::PluginInputDomainAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2c62a656313a819650656643a867ad01">Vamp::HostExt::PluginWrapper</a>, and <a class="el" href="classPercussionOnsetDetector.html#410c0b47c6c849d7ed9b726b84402ad0">PercussionOnsetDetector</a>.</p> 664 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#21e45180b19873f9ab69fe7a4e184a03">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#d5e0ea8042bdec4dd18428991117e07a">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#4cf40d09d02022b1962ff17bb0324ea5">Vamp::HostExt::PluginInputDomainAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2c62a656313a819650656643a867ad01">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classFixedTempoEstimator.html#68b8569b71504a0478caf990dbe30683">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#410c0b47c6c849d7ed9b726b84402ad0">PercussionOnsetDetector</a>.</p>
665 665
666 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00171">171</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 666 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00174">174</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
667 667
668 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00164">Vamp::HostExt::PluginWrapper::getPreferredBlockSize()</a>, <a class="el" href="PluginInputDomainAdapter_8cpp-source.html#l00283">Vamp::HostExt::PluginInputDomainAdapter::Impl::getPreferredBlockSize()</a>, <a class="el" href="PluginBufferingAdapter_8cpp-source.html#l00314">Vamp::HostExt::PluginBufferingAdapter::Impl::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00244">runPlugin()</a>.</p> 668 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00265">runPlugin()</a>.</p>
669 669
670 </div> 670 </div>
671 </div><p> 671 </div><p>
672 <a class="anchor" name="514c716c22f81c055f19b56c3f882567"></a><!-- doxytag: member="SpectralCentroid::getPreferredStepSize" ref="514c716c22f81c055f19b56c3f882567" args="() const " --> 672 <a class="anchor" name="514c716c22f81c055f19b56c3f882567"></a><!-- doxytag: member="SpectralCentroid::getPreferredStepSize" ref="514c716c22f81c055f19b56c3f882567" args="() const " -->
673 <div class="memitem"> 673 <div class="memitem">
676 <tr> 676 <tr>
677 <td class="memname">virtual size_t Vamp::Plugin::getPreferredStepSize </td> 677 <td class="memname">virtual size_t Vamp::Plugin::getPreferredStepSize </td>
678 <td>(</td> 678 <td>(</td>
679 <td class="paramname"> </td> 679 <td class="paramname"> </td>
680 <td>&nbsp;)&nbsp;</td> 680 <td>&nbsp;)&nbsp;</td>
681 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 681 <td> const<code> [inline, virtual, inherited]</code></td>
682 </tr> 682 </tr>
683 </table> 683 </table>
684 </div> 684 </div>
685 <div class="memdoc"> 685 <div class="memdoc">
686 686
687 <p> 687 <p>
688 Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function) for the plugin. 688 Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function) for the plugin.
689 <p> 689 <p>
690 This should be called before <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p> 690 This should be called before <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p>
691 A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call. 691 A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call.
692 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#859ad5d59402691daed3cf1af1899ebe">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#2e66d009df69c951001e5d2786973d60">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#d979af9f1cbf2eeb16f4eaedb4a4f565">Vamp::HostExt::PluginInputDomainAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#0137d93d7019bacc31104836fb4d352e">Vamp::HostExt::PluginWrapper</a>, and <a class="el" href="classPercussionOnsetDetector.html#733824891e11c306a7a678534b89b968">PercussionOnsetDetector</a>.</p> 692 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#2e66d009df69c951001e5d2786973d60">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#859ad5d59402691daed3cf1af1899ebe">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#d979af9f1cbf2eeb16f4eaedb4a4f565">Vamp::HostExt::PluginInputDomainAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#0137d93d7019bacc31104836fb4d352e">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classFixedTempoEstimator.html#d450bb7e7df559ae3d68dfbfb085676f">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#733824891e11c306a7a678534b89b968">PercussionOnsetDetector</a>.</p>
693 693
694 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00186">186</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 694 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00189">189</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
695 695
696 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00158">Vamp::HostExt::PluginWrapper::getPreferredStepSize()</a>, <a class="el" href="PluginInputDomainAdapter_8cpp-source.html#l00271">Vamp::HostExt::PluginInputDomainAdapter::Impl::getPreferredStepSize()</a>, <a class="el" href="PluginBufferingAdapter_8cpp-source.html#l00314">Vamp::HostExt::PluginBufferingAdapter::Impl::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00244">runPlugin()</a>.</p> 696 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00265">runPlugin()</a>.</p>
697 697
698 </div> 698 </div>
699 </div><p> 699 </div><p>
700 <a class="anchor" name="267b42e866df3cf0d190893e8096f525"></a><!-- doxytag: member="SpectralCentroid::getMinChannelCount" ref="267b42e866df3cf0d190893e8096f525" args="() const " --> 700 <a class="anchor" name="267b42e866df3cf0d190893e8096f525"></a><!-- doxytag: member="SpectralCentroid::getMinChannelCount" ref="267b42e866df3cf0d190893e8096f525" args="() const " -->
701 <div class="memitem"> 701 <div class="memitem">
704 <tr> 704 <tr>
705 <td class="memname">virtual size_t Vamp::Plugin::getMinChannelCount </td> 705 <td class="memname">virtual size_t Vamp::Plugin::getMinChannelCount </td>
706 <td>(</td> 706 <td>(</td>
707 <td class="paramname"> </td> 707 <td class="paramname"> </td>
708 <td>&nbsp;)&nbsp;</td> 708 <td>&nbsp;)&nbsp;</td>
709 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 709 <td> const<code> [inline, virtual, inherited]</code></td>
710 </tr> 710 </tr>
711 </table> 711 </table>
712 </div> 712 </div>
713 <div class="memdoc"> 713 <div class="memdoc">
714 714
716 Get the minimum supported number of input channels. 716 Get the minimum supported number of input channels.
717 <p> 717 <p>
718 718
719 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#67d1198c0e58d3f0076d0eda599ff28d">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2b28f1cf37d46a514f1e1411a6037bf8">Vamp::HostExt::PluginWrapper</a>.</p> 719 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#67d1198c0e58d3f0076d0eda599ff28d">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2b28f1cf37d46a514f1e1411a6037bf8">Vamp::HostExt::PluginWrapper</a>.</p>
720 720
721 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00191">191</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 721 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00194">194</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
722 722
723 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00170">Vamp::HostExt::PluginWrapper::getMinChannelCount()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00093">ZeroCrossing::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00095">initialise()</a>, <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00119">Vamp::HostExt::PluginChannelAdapter::Impl::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00244">runPlugin()</a>.</p> 723 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00094">ZeroCrossing::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00099">initialise()</a>, <a class="el" href="PowerSpectrum_8cpp-source.html#l00092">PowerSpectrum::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp-source.html#l00676">FixedTempoEstimator::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00265">runPlugin()</a>.</p>
724 724
725 </div> 725 </div>
726 </div><p> 726 </div><p>
727 <a class="anchor" name="2c5ab12b6fa4847cb244bd1e9cb3ae5e"></a><!-- doxytag: member="SpectralCentroid::getMaxChannelCount" ref="2c5ab12b6fa4847cb244bd1e9cb3ae5e" args="() const " --> 727 <a class="anchor" name="2c5ab12b6fa4847cb244bd1e9cb3ae5e"></a><!-- doxytag: member="SpectralCentroid::getMaxChannelCount" ref="2c5ab12b6fa4847cb244bd1e9cb3ae5e" args="() const " -->
728 <div class="memitem"> 728 <div class="memitem">
731 <tr> 731 <tr>
732 <td class="memname">virtual size_t Vamp::Plugin::getMaxChannelCount </td> 732 <td class="memname">virtual size_t Vamp::Plugin::getMaxChannelCount </td>
733 <td>(</td> 733 <td>(</td>
734 <td class="paramname"> </td> 734 <td class="paramname"> </td>
735 <td>&nbsp;)&nbsp;</td> 735 <td>&nbsp;)&nbsp;</td>
736 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 736 <td> const<code> [inline, virtual, inherited]</code></td>
737 </tr> 737 </tr>
738 </table> 738 </table>
739 </div> 739 </div>
740 <div class="memdoc"> 740 <div class="memdoc">
741 741
743 Get the maximum supported number of input channels. 743 Get the maximum supported number of input channels.
744 <p> 744 <p>
745 745
746 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#25091905e97e39d515d8ffc1a9f2b9e0">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#985eb21f1827bfbc3950d6871b107a58">Vamp::HostExt::PluginWrapper</a>.</p> 746 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#25091905e97e39d515d8ffc1a9f2b9e0">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#985eb21f1827bfbc3950d6871b107a58">Vamp::HostExt::PluginWrapper</a>.</p>
747 747
748 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00196">196</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 748 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00199">199</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
749 749
750 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00175">Vamp::HostExt::PluginWrapper::getMaxChannelCount()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00093">ZeroCrossing::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00095">initialise()</a>, <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00119">Vamp::HostExt::PluginChannelAdapter::Impl::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00244">runPlugin()</a>.</p> 750 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00094">ZeroCrossing::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00099">initialise()</a>, <a class="el" href="PowerSpectrum_8cpp-source.html#l00092">PowerSpectrum::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp-source.html#l00676">FixedTempoEstimator::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00265">runPlugin()</a>.</p>
751 751
752 </div> 752 </div>
753 </div><p> 753 </div><p>
754 <a class="anchor" name="be13b3997a69fbcc09e2213faa352f91"></a><!-- doxytag: member="SpectralCentroid::getType" ref="be13b3997a69fbcc09e2213faa352f91" args="() const " --> 754 <a class="anchor" name="be13b3997a69fbcc09e2213faa352f91"></a><!-- doxytag: member="SpectralCentroid::getType" ref="be13b3997a69fbcc09e2213faa352f91" args="() const " -->
755 <div class="memitem"> 755 <div class="memitem">
758 <tr> 758 <tr>
759 <td class="memname">virtual std::string Vamp::Plugin::getType </td> 759 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
760 <td>(</td> 760 <td>(</td>
761 <td class="paramname"> </td> 761 <td class="paramname"> </td>
762 <td>&nbsp;)&nbsp;</td> 762 <td>&nbsp;)&nbsp;</td>
763 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 763 <td> const<code> [inline, virtual, inherited]</code></td>
764 </tr> 764 </tr>
765 </table> 765 </table>
766 </div> 766 </div>
767 <div class="memdoc"> 767 <div class="memdoc">
768 768
770 Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. 770 Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>.
771 <p> 771 <p>
772 Do not reimplement this function in your subclass. 772 Do not reimplement this function in your subclass.
773 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p> 773 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
774 774
775 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00391">391</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 775 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00425">425</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
776 776
777 </div> 777 </div>
778 </div><p> 778 </div><p>
779 <a class="anchor" name="8fd2c48291c64b790f0efb8948508dcf"></a><!-- doxytag: member="SpectralCentroid::getVampApiVersion" ref="8fd2c48291c64b790f0efb8948508dcf" args="() const " --> 779 <a class="anchor" name="8fd2c48291c64b790f0efb8948508dcf"></a><!-- doxytag: member="SpectralCentroid::getVampApiVersion" ref="8fd2c48291c64b790f0efb8948508dcf" args="() const " -->
780 <div class="memitem"> 780 <div class="memitem">
783 <tr> 783 <tr>
784 <td class="memname">virtual unsigned int Vamp::PluginBase::getVampApiVersion </td> 784 <td class="memname">virtual unsigned int Vamp::PluginBase::getVampApiVersion </td>
785 <td>(</td> 785 <td>(</td>
786 <td class="paramname"> </td> 786 <td class="paramname"> </td>
787 <td>&nbsp;)&nbsp;</td> 787 <td>&nbsp;)&nbsp;</td>
788 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 788 <td> const<code> [inline, virtual, inherited]</code></td>
789 </tr> 789 </tr>
790 </table> 790 </table>
791 </div> 791 </div>
792 <div class="memdoc"> 792 <div class="memdoc">
793 793
794 <p> 794 <p>
795 Get the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> API compatibility level of the plugin. 795 Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin.
796 <p> 796 <p>
797 797
798 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#98aadddc8403eb46c9d8c5a9d1fdd19e">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#74147fda6b44ff2169bd4a1eea0d46ff">Vamp::HostExt::PluginWrapper</a>.</p> 798 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#98aadddc8403eb46c9d8c5a9d1fdd19e">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#74147fda6b44ff2169bd4a1eea0d46ff">Vamp::HostExt::PluginWrapper</a>.</p>
799 799
800 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00067">67</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 800 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00072">72</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
801 801
802 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00478">enumeratePlugins()</a>, <a class="el" href="PluginAdapter_8cpp-source.html#l00153">Vamp::PluginAdapterBase::Impl::getDescriptor()</a>, and <a class="el" href="PluginWrapper_8cpp-source.html#l00080">Vamp::HostExt::PluginWrapper::getVampApiVersion()</a>.</p> 802 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>.</p>
803 803
804 </div> 804 </div>
805 </div><p> 805 </div><p>
806 <a class="anchor" name="ac3e49b3b66cacfbb768dfdf07444f21"></a><!-- doxytag: member="SpectralCentroid::getParameterDescriptors" ref="ac3e49b3b66cacfbb768dfdf07444f21" args="() const " --> 806 <a class="anchor" name="ac3e49b3b66cacfbb768dfdf07444f21"></a><!-- doxytag: member="SpectralCentroid::getParameterDescriptors" ref="ac3e49b3b66cacfbb768dfdf07444f21" args="() const " -->
807 <div class="memitem"> 807 <div class="memitem">
810 <tr> 810 <tr>
811 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> Vamp::PluginBase::getParameterDescriptors </td> 811 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> Vamp::PluginBase::getParameterDescriptors </td>
812 <td>(</td> 812 <td>(</td>
813 <td class="paramname"> </td> 813 <td class="paramname"> </td>
814 <td>&nbsp;)&nbsp;</td> 814 <td>&nbsp;)&nbsp;</td>
815 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 815 <td> const<code> [inline, virtual, inherited]</code></td>
816 </tr> 816 </tr>
817 </table> 817 </table>
818 </div> 818 </div>
819 <div class="memdoc"> 819 <div class="memdoc">
820 820
821 <p> 821 <p>
822 Get the controllable parameters of this plugin. 822 Get the controllable parameters of this plugin.
823 <p> 823 <p>
824 824
825 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#bfa93b20d9b5651a32042a9bb7c8df13">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#3b075b8f950b344503f0d27ac0fe332e">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classAmplitudeFollower.html#9df01323a09e117bc12354ebe9244edf">AmplitudeFollower</a>, and <a class="el" href="classPercussionOnsetDetector.html#bceae88cc9762b0ea310d7aad71de815">PercussionOnsetDetector</a>.</p> 825 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#602faa0bfaae83e2ca53b36292271a76">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#9be71561265c2e6e43b7feaddaa91f36">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classAmplitudeFollower.html#9df01323a09e117bc12354ebe9244edf">AmplitudeFollower</a>, <a class="el" href="classFixedTempoEstimator.html#e157465a4e07d180bab05b5c3a4d8987">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#bceae88cc9762b0ea310d7aad71de815">PercussionOnsetDetector</a>.</p>
826 826
827 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00200">200</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 827 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00208">208</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
828 828
829 <p>Referenced by <a class="el" href="PluginAdapter_8cpp-source.html#l00153">Vamp::PluginAdapterBase::Impl::getDescriptor()</a>, and <a class="el" href="PluginWrapper_8cpp-source.html#l00122">Vamp::HostExt::PluginWrapper::getParameterDescriptors()</a>.</p> 829 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>.</p>
830 830
831 </div> 831 </div>
832 </div><p> 832 </div><p>
833 <a class="anchor" name="97ababcd45348ceec998d0f8e0f38bf7"></a><!-- doxytag: member="SpectralCentroid::getParameter" ref="97ababcd45348ceec998d0f8e0f38bf7" args="(std::string) const " --> 833 <a class="anchor" name="97ababcd45348ceec998d0f8e0f38bf7"></a><!-- doxytag: member="SpectralCentroid::getParameter" ref="97ababcd45348ceec998d0f8e0f38bf7" args="(std::string) const " -->
834 <div class="memitem"> 834 <div class="memitem">
838 <td class="memname">virtual float Vamp::PluginBase::getParameter </td> 838 <td class="memname">virtual float Vamp::PluginBase::getParameter </td>
839 <td>(</td> 839 <td>(</td>
840 <td class="paramtype">std::string&nbsp;</td> 840 <td class="paramtype">std::string&nbsp;</td>
841 <td class="paramname"> </td> 841 <td class="paramname"> </td>
842 <td>&nbsp;)&nbsp;</td> 842 <td>&nbsp;)&nbsp;</td>
843 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 843 <td> const<code> [inline, virtual, inherited]</code></td>
844 </tr> 844 </tr>
845 </table> 845 </table>
846 </div> 846 </div>
847 <div class="memdoc"> 847 <div class="memdoc">
848 848
849 <p> 849 <p>
850 Get the value of a named parameter. 850 Get the value of a named parameter.
851 <p> 851 <p>
852 The argument is the identifier field from that parameter's descriptor. 852 The argument is the identifier field from that parameter's descriptor.
853 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#f0c46d4f67ca93be7c76f3ea2e6c8efb">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#034920f56c8d7609a85447c42556048c">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classAmplitudeFollower.html#b278c4b6f2ca23248dc94ad775273f39">AmplitudeFollower</a>, and <a class="el" href="classPercussionOnsetDetector.html#9b28da8315fcde46ce7644d6592ba527">PercussionOnsetDetector</a>.</p> 853 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#f0c46d4f67ca93be7c76f3ea2e6c8efb">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#034920f56c8d7609a85447c42556048c">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classAmplitudeFollower.html#b278c4b6f2ca23248dc94ad775273f39">AmplitudeFollower</a>, <a class="el" href="classFixedTempoEstimator.html#2030b05fb1228b30ace16200780c9152">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#9b28da8315fcde46ce7644d6592ba527">PercussionOnsetDetector</a>.</p>
854 854
855 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00208">208</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 855 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00216">216</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
856
857 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00128">Vamp::HostExt::PluginWrapper::getParameter()</a>.</p>
858 856
859 </div> 857 </div>
860 </div><p> 858 </div><p>
861 <a class="anchor" name="6c718ce822f7b73b98940d59dcaa9366"></a><!-- doxytag: member="SpectralCentroid::setParameter" ref="6c718ce822f7b73b98940d59dcaa9366" args="(std::string, float)" --> 859 <a class="anchor" name="6c718ce822f7b73b98940d59dcaa9366"></a><!-- doxytag: member="SpectralCentroid::setParameter" ref="6c718ce822f7b73b98940d59dcaa9366" args="(std::string, float)" -->
862 <div class="memitem"> 860 <div class="memitem">
875 <td class="paramname"></td><td>&nbsp;</td> 873 <td class="paramname"></td><td>&nbsp;</td>
876 </tr> 874 </tr>
877 <tr> 875 <tr>
878 <td></td> 876 <td></td>
879 <td>)</td> 877 <td>)</td>
880 <td></td><td></td><td width="100%"><code> [inline, virtual, inherited]</code></td> 878 <td></td><td></td><td><code> [inline, virtual, inherited]</code></td>
881 </tr> 879 </tr>
882 </table> 880 </table>
883 </div> 881 </div>
884 <div class="memdoc"> 882 <div class="memdoc">
885 883
886 <p> 884 <p>
887 Set a named parameter. 885 Set a named parameter.
888 <p> 886 <p>
889 The first argument is the identifier field from that parameter's descriptor. 887 The first argument is the identifier field from that parameter's descriptor.
890 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#29f75395aa75b9de0228aa11edf9c6d6">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#651b15a5dc4c27942ac0c87c6092bfe5">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classAmplitudeFollower.html#e1fc37ece4d20e40f3066a3361a99340">AmplitudeFollower</a>, and <a class="el" href="classPercussionOnsetDetector.html#a097d72488e1211f05fc661ff5c6dc01">PercussionOnsetDetector</a>.</p> 888 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#7a979b20c169d37adbd7b7d8b8a077b3">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#29f75395aa75b9de0228aa11edf9c6d6">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#651b15a5dc4c27942ac0c87c6092bfe5">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classAmplitudeFollower.html#e1fc37ece4d20e40f3066a3361a99340">AmplitudeFollower</a>, <a class="el" href="classFixedTempoEstimator.html#8a5a413025384cf451c64d2c2ce13a75">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#a097d72488e1211f05fc661ff5c6dc01">PercussionOnsetDetector</a>.</p>
891 889
892 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00214">214</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 890 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00222">222</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
893
894 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00134">Vamp::HostExt::PluginWrapper::setParameter()</a>.</p>
895 891
896 </div> 892 </div>
897 </div><p> 893 </div><p>
898 <a class="anchor" name="bb307c60bdb981d5f5af50c3c4ae84af"></a><!-- doxytag: member="SpectralCentroid::getPrograms" ref="bb307c60bdb981d5f5af50c3c4ae84af" args="() const " --> 894 <a class="anchor" name="bb307c60bdb981d5f5af50c3c4ae84af"></a><!-- doxytag: member="SpectralCentroid::getPrograms" ref="bb307c60bdb981d5f5af50c3c4ae84af" args="() const " -->
899 <div class="memitem"> 895 <div class="memitem">
902 <tr> 898 <tr>
903 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::PluginBase::getPrograms </td> 899 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::PluginBase::getPrograms </td>
904 <td>(</td> 900 <td>(</td>
905 <td class="paramname"> </td> 901 <td class="paramname"> </td>
906 <td>&nbsp;)&nbsp;</td> 902 <td>&nbsp;)&nbsp;</td>
907 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 903 <td> const<code> [inline, virtual, inherited]</code></td>
908 </tr> 904 </tr>
909 </table> 905 </table>
910 </div> 906 </div>
911 <div class="memdoc"> 907 <div class="memdoc">
912 908
913 <p> 909 <p>
914 Get the program settings available in this plugin. 910 Get the program settings available in this plugin.
915 <p> 911 <p>
916 A program is a named shorthand for a set of parameter values; changing the program may cause the plugin to alter the values of its published parameters (and/or non-public internal processing parameters). The host should re-read the plugin's parameter values after setting a new program.<p> 912 A program is a named shorthand for a set of parameter values; changing the program may cause the plugin to alter the values of its published parameters (and/or non-public internal processing parameters). The host should re-read the plugin's parameter values after setting a new program.<p>
917 The programs must have unique names. 913 The programs must have unique names.
918 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#7ac5681dcfe08b7b8a796bffc0aff3e3">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#f3abaf717dc4b00cad5770ed6dfa01e1">Vamp::HostExt::PluginWrapper</a>.</p> 914 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#e0cde5cd625418c1bc470b91f75daafc">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#131fbe1df81215020b9aa8cecef4c802">Vamp::HostExt::PluginWrapper</a>.</p>
919 915
920 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00229">229</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 916 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00237">237</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
921
922 <p>Referenced by <a class="el" href="PluginAdapter_8cpp-source.html#l00153">Vamp::PluginAdapterBase::Impl::getDescriptor()</a>, and <a class="el" href="PluginWrapper_8cpp-source.html#l00140">Vamp::HostExt::PluginWrapper::getPrograms()</a>.</p>
923 917
924 </div> 918 </div>
925 </div><p> 919 </div><p>
926 <a class="anchor" name="24e77eccf1bdfbbca3c79bb25e8799b3"></a><!-- doxytag: member="SpectralCentroid::getCurrentProgram" ref="24e77eccf1bdfbbca3c79bb25e8799b3" args="() const " --> 920 <a class="anchor" name="24e77eccf1bdfbbca3c79bb25e8799b3"></a><!-- doxytag: member="SpectralCentroid::getCurrentProgram" ref="24e77eccf1bdfbbca3c79bb25e8799b3" args="() const " -->
927 <div class="memitem"> 921 <div class="memitem">
930 <tr> 924 <tr>
931 <td class="memname">virtual std::string Vamp::PluginBase::getCurrentProgram </td> 925 <td class="memname">virtual std::string Vamp::PluginBase::getCurrentProgram </td>
932 <td>(</td> 926 <td>(</td>
933 <td class="paramname"> </td> 927 <td class="paramname"> </td>
934 <td>&nbsp;)&nbsp;</td> 928 <td>&nbsp;)&nbsp;</td>
935 <td width="100%"> const<code> [inline, virtual, inherited]</code></td> 929 <td> const<code> [inline, virtual, inherited]</code></td>
936 </tr> 930 </tr>
937 </table> 931 </table>
938 </div> 932 </div>
939 <div class="memdoc"> 933 <div class="memdoc">
940 934
942 Get the current program. 936 Get the current program.
943 <p> 937 <p>
944 938
945 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#34859eff8ca8d862af39be9636ec1867">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#7a312dd42d161064b70afd7ff24c0651">Vamp::HostExt::PluginWrapper</a>.</p> 939 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#34859eff8ca8d862af39be9636ec1867">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#7a312dd42d161064b70afd7ff24c0651">Vamp::HostExt::PluginWrapper</a>.</p>
946 940
947 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00234">234</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 941 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00242">242</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
948
949 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00146">Vamp::HostExt::PluginWrapper::getCurrentProgram()</a>.</p>
950 942
951 </div> 943 </div>
952 </div><p> 944 </div><p>
953 <a class="anchor" name="add3a547ef140bae200473a9518e3353"></a><!-- doxytag: member="SpectralCentroid::selectProgram" ref="add3a547ef140bae200473a9518e3353" args="(std::string)" --> 945 <a class="anchor" name="add3a547ef140bae200473a9518e3353"></a><!-- doxytag: member="SpectralCentroid::selectProgram" ref="add3a547ef140bae200473a9518e3353" args="(std::string)" -->
954 <div class="memitem"> 946 <div class="memitem">
958 <td class="memname">virtual void Vamp::PluginBase::selectProgram </td> 950 <td class="memname">virtual void Vamp::PluginBase::selectProgram </td>
959 <td>(</td> 951 <td>(</td>
960 <td class="paramtype">std::string&nbsp;</td> 952 <td class="paramtype">std::string&nbsp;</td>
961 <td class="paramname"> </td> 953 <td class="paramname"> </td>
962 <td>&nbsp;)&nbsp;</td> 954 <td>&nbsp;)&nbsp;</td>
963 <td width="100%"><code> [inline, virtual, inherited]</code></td> 955 <td><code> [inline, virtual, inherited]</code></td>
964 </tr> 956 </tr>
965 </table> 957 </table>
966 </div> 958 </div>
967 <div class="memdoc"> 959 <div class="memdoc">
968 960
969 <p> 961 <p>
970 Select a program. 962 Select a program.
971 <p> 963 <p>
972 (If the given program name is not one of the available programs, do nothing.) 964 (If the given program name is not one of the available programs, do nothing.)
973 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#8f5515ab34cc13d9403ccc6b4b788683">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#074978333a74fdcf336a8a1d8ea20abf">Vamp::HostExt::PluginWrapper</a>.</p> 965 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#3cc7000e0aff525950e0a286b87f8927">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#8f5515ab34cc13d9403ccc6b4b788683">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#074978333a74fdcf336a8a1d8ea20abf">Vamp::HostExt::PluginWrapper</a>.</p>
974 966
975 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00240">240</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> 967 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00248">248</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
976
977 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00152">Vamp::HostExt::PluginWrapper::selectProgram()</a>.</p>
978 968
979 </div> 969 </div>
980 </div><p> 970 </div><p>
981 <hr><h2>Member Data Documentation</h2> 971 <hr><h2>Member Data Documentation</h2>
982 <a class="anchor" name="49805a090ba58477da4adbefea4392a7"></a><!-- doxytag: member="SpectralCentroid::m_stepSize" ref="49805a090ba58477da4adbefea4392a7" args="" --> 972 <a class="anchor" name="49805a090ba58477da4adbefea4392a7"></a><!-- doxytag: member="SpectralCentroid::m_stepSize" ref="49805a090ba58477da4adbefea4392a7" args="" -->
992 982
993 <p> 983 <p>
994 984
995 <p>Definition at line <a class="el" href="SpectralCentroid_8h-source.html#l00073">73</a> of file <a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a>.</p> 985 <p>Definition at line <a class="el" href="SpectralCentroid_8h-source.html#l00073">73</a> of file <a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a>.</p>
996 986
997 <p>Referenced by <a class="el" href="SpectralCentroid_8cpp-source.html#l00095">initialise()</a>, and <a class="el" href="SpectralCentroid_8cpp-source.html#l00137">process()</a>.</p> 987 <p>Referenced by <a class="el" href="SpectralCentroid_8cpp-source.html#l00099">initialise()</a>, and <a class="el" href="SpectralCentroid_8cpp-source.html#l00141">process()</a>.</p>
998 988
999 </div> 989 </div>
1000 </div><p> 990 </div><p>
1001 <a class="anchor" name="262f583d71b442bb2d80023e7c85aa4e"></a><!-- doxytag: member="SpectralCentroid::m_blockSize" ref="262f583d71b442bb2d80023e7c85aa4e" args="" --> 991 <a class="anchor" name="262f583d71b442bb2d80023e7c85aa4e"></a><!-- doxytag: member="SpectralCentroid::m_blockSize" ref="262f583d71b442bb2d80023e7c85aa4e" args="" -->
1002 <div class="memitem"> 992 <div class="memitem">
1011 1001
1012 <p> 1002 <p>
1013 1003
1014 <p>Definition at line <a class="el" href="SpectralCentroid_8h-source.html#l00074">74</a> of file <a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a>.</p> 1004 <p>Definition at line <a class="el" href="SpectralCentroid_8h-source.html#l00074">74</a> of file <a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a>.</p>
1015 1005
1016 <p>Referenced by <a class="el" href="SpectralCentroid_8cpp-source.html#l00095">initialise()</a>, and <a class="el" href="SpectralCentroid_8cpp-source.html#l00137">process()</a>.</p> 1006 <p>Referenced by <a class="el" href="SpectralCentroid_8cpp-source.html#l00099">initialise()</a>, and <a class="el" href="SpectralCentroid_8cpp-source.html#l00141">process()</a>.</p>
1017 1007
1018 </div> 1008 </div>
1019 </div><p> 1009 </div><p>
1020 <a class="anchor" name="59b9dd82a4f4eb946cd0474cc81abc23"></a><!-- doxytag: member="SpectralCentroid::m_inputSampleRate" ref="59b9dd82a4f4eb946cd0474cc81abc23" args="" --> 1010 <a class="anchor" name="59b9dd82a4f4eb946cd0474cc81abc23"></a><!-- doxytag: member="SpectralCentroid::m_inputSampleRate" ref="59b9dd82a4f4eb946cd0474cc81abc23" args="" -->
1021 <div class="memitem"> 1011 <div class="memitem">
1028 </div> 1018 </div>
1029 <div class="memdoc"> 1019 <div class="memdoc">
1030 1020
1031 <p> 1021 <p>
1032 1022
1033 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00397">397</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> 1023 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00431">431</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
1034 1024
1035 <p>Referenced by <a class="el" href="ZeroCrossing_8cpp-source.html#l00110">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00047">Vamp::HostExt::PluginRateExtractor::getRate()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="PluginBufferingAdapter_8cpp-source.html#l00238">Vamp::HostExt::PluginBufferingAdapter::PluginBufferingAdapter()</a>, <a class="el" href="PluginInputDomainAdapter_8cpp-source.html#l00113">Vamp::HostExt::PluginInputDomainAdapter::PluginInputDomainAdapter()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00141">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00137">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">PercussionOnsetDetector::process()</a>.</p> 1025 <p>Referenced by <a class="el" href="ZeroCrossing_8cpp-source.html#l00111">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00142">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00141">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">PercussionOnsetDetector::process()</a>.</p>
1036 1026
1037 </div> 1027 </div>
1038 </div><p> 1028 </div><p>
1039 <hr>The documentation for this class was generated from the following files:<ul> 1029 <hr>The documentation for this class was generated from the following files:<ul>
1040 <li><a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a><li><a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a></ul> 1030 <li><a class="el" href="SpectralCentroid_8h-source.html">SpectralCentroid.h</a><li><a class="el" href="SpectralCentroid_8cpp-source.html">SpectralCentroid.cpp</a></ul>
1041 </div> 1031 </div>
1042 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 9 11:36:07 2008 for VampPluginSDK by&nbsp; 1032 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 8 14:37:19 2008 for VampPluginSDK by&nbsp;
1043 <a href="http://www.doxygen.org/index.html"> 1033 <a href="http://www.doxygen.org/index.html">
1044 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> 1034 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
1045 </body> 1035 </body>
1046 </html> 1036 </html>