annotate code-docs/classAmplitudeFollower.html @ 3:5c2683745b33 vamp-plugin-sdk-v2.4

Update for 2.4
author Chris Cannam
date Fri, 13 Jul 2012 13:30:27 +0100
parents 3c430ef1ed66
children 27319718b1f8
rev   line source
Chris@1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Chris@1 2 <html xmlns="http://www.w3.org/1999/xhtml">
Chris@1 3 <head>
Chris@1 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
Chris@3 5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
Chris@1 6 <title>VampPluginSDK: AmplitudeFollower Class Reference</title>
Chris@1 7
Chris@1 8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
Chris@1 9 <link href="doxygen.css" rel="stylesheet" type="text/css" />
Chris@1 10 <link href="navtree.css" rel="stylesheet" type="text/css"/>
Chris@1 11 <script type="text/javascript" src="jquery.js"></script>
Chris@1 12 <script type="text/javascript" src="resize.js"></script>
Chris@1 13 <script type="text/javascript" src="navtree.js"></script>
Chris@1 14 <script type="text/javascript">
Chris@1 15 $(document).ready(initResizable);
Chris@1 16 </script>
Chris@1 17
Chris@1 18
Chris@1 19 </head>
Chris@1 20 <body>
Chris@1 21 <div id="top"><!-- do not remove this div! -->
Chris@1 22
Chris@1 23
Chris@1 24 <div id="titlearea">
Chris@1 25 <table cellspacing="0" cellpadding="0">
Chris@1 26 <tbody>
Chris@1 27 <tr style="height: 56px;">
Chris@1 28
Chris@1 29
Chris@1 30 <td style="padding-left: 0.5em;">
Chris@1 31 <div id="projectname">VampPluginSDK
Chris@3 32 &#160;<span id="projectnumber">2.4</span>
Chris@1 33 </div>
Chris@1 34
Chris@1 35 </td>
Chris@1 36
Chris@1 37
Chris@1 38
Chris@1 39 </tr>
Chris@1 40 </tbody>
Chris@1 41 </table>
Chris@1 42 </div>
Chris@1 43
Chris@3 44 <!-- Generated by Doxygen 1.8.0 -->
Chris@1 45 <div id="navrow1" class="tabs">
Chris@1 46 <ul class="tablist">
Chris@1 47 <li><a href="index.html"><span>Main&#160;Page</span></a></li>
Chris@1 48 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
Chris@1 49 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
Chris@1 50 <li><a href="files.html"><span>Files</span></a></li>
Chris@1 51 <li><a href="dirs.html"><span>Directories</span></a></li>
Chris@1 52 </ul>
Chris@1 53 </div>
Chris@1 54 <div id="navrow2" class="tabs2">
Chris@1 55 <ul class="tablist">
Chris@1 56 <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
Chris@1 57 <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
Chris@1 58 <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
Chris@1 59 </ul>
Chris@1 60 </div>
Chris@1 61 </div>
Chris@1 62 <div id="side-nav" class="ui-resizable side-nav-resizable">
Chris@1 63 <div id="nav-tree">
Chris@1 64 <div id="nav-tree-contents">
Chris@1 65 </div>
Chris@1 66 </div>
Chris@1 67 <div id="splitbar" style="-moz-user-select:none;"
Chris@1 68 class="ui-resizable-handle">
Chris@1 69 </div>
Chris@1 70 </div>
Chris@1 71 <script type="text/javascript">
Chris@1 72 initNavTree('classAmplitudeFollower.html','');
Chris@1 73 </script>
Chris@1 74 <div id="doc-content">
Chris@1 75 <div class="header">
Chris@1 76 <div class="summary">
Chris@1 77 <a href="#pub-types">Public Types</a> &#124;
Chris@1 78 <a href="#pub-methods">Public Member Functions</a> &#124;
Chris@1 79 <a href="#pro-attribs">Protected Attributes</a> </div>
Chris@1 80 <div class="headertitle">
Chris@1 81 <div class="title">AmplitudeFollower Class Reference</div> </div>
Chris@3 82 </div><!--header-->
Chris@1 83 <div class="contents">
Chris@3 84
Chris@1 85 <p>Example plugin implementing the SuperCollider amplitude follower function.
Chris@1 86 <a href="classAmplitudeFollower.html#details">More...</a></p>
Chris@1 87
Chris@1 88 <p><code>#include &lt;<a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>&gt;</code></p>
Chris@1 89 <div class="dynheader">
Chris@1 90 Inheritance diagram for AmplitudeFollower:</div>
Chris@1 91 <div class="dyncontent">
Chris@1 92 <div class="center"><img src="classAmplitudeFollower__inherit__graph.png" border="0" usemap="#AmplitudeFollower_inherit__map" alt="Inheritance graph"/></div>
Chris@1 93 <map name="AmplitudeFollower_inherit__map" id="AmplitudeFollower_inherit__map">
Chris@1 94 <area shape="rect" id="node2" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o..." alt="" coords="21,81,112,106"/><area shape="rect" id="node4" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="7,6,125,31"/></map>
Chris@1 95 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
Chris@1 96
Chris@1 97 <p><a href="classAmplitudeFollower-members.html">List of all members.</a></p>
Chris@1 98 <table class="memberdecls">
Chris@1 99 <tr><td colspan="2"><h2><a name="pub-types"></a>
Chris@1 100 Public Types</h2></td></tr>
Chris@3 101 <tr class="memitem:a39cb7649d6dcc20e4cb1640cd55907bc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> { <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff">TimeDomain</a>,
Chris@1 102 <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
Chris@1 103 }</td></tr>
Chris@3 104 <tr class="memitem:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
Chris@1 105 &lt; <a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a></td></tr>
Chris@3 106 <tr class="memitem:a0730bc72c87fa02eb8d2854b233f7be1"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a></td></tr>
Chris@3 107 <tr class="memitem:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, <br class="typebreak"/>
Chris@1 108 <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a></td></tr>
Chris@3 109 <tr class="memitem:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
Chris@1 110 &lt; <a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a></td></tr>
Chris@3 111 <tr class="memitem:a7f66f00437b21e5f694fe02356b12f20"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a></td></tr>
Chris@1 112 <tr><td colspan="2"><h2><a name="pub-methods"></a>
Chris@1 113 Public Member Functions</h2></td></tr>
Chris@3 114 <tr class="memitem:a29eaeffc353da2614ae508abcd0ab63f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a29eaeffc353da2614ae508abcd0ab63f">AmplitudeFollower</a> (float inputSampleRate)</td></tr>
Chris@3 115 <tr class="memdesc:a29eaeffc353da2614ae508abcd0ab63f"><td class="mdescLeft">&#160;</td><td class="mdescRight">An implementation of SuperCollider's amplitude-follower algorithm as a simple <a class="el" href="namespaceVamp.html">Vamp</a> plugin. <a href="#a29eaeffc353da2614ae508abcd0ab63f"></a><br/></td></tr>
Chris@3 116 <tr class="memitem:aa78f98539ad3a1b08691a99b32035b2d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#aa78f98539ad3a1b08691a99b32035b2d">~AmplitudeFollower</a> ()</td></tr>
Chris@3 117 <tr class="memitem:aeb727e44ee8ad1aceb90964d20f8d90d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#aeb727e44ee8ad1aceb90964d20f8d90d">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
Chris@3 118 <tr class="memdesc:aeb727e44ee8ad1aceb90964d20f8d90d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames). <a href="#aeb727e44ee8ad1aceb90964d20f8d90d"></a><br/></td></tr>
Chris@3 119 <tr class="memitem:acebd835e80e84669df078fbd7591d8f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#acebd835e80e84669df078fbd7591d8f7">reset</a> ()</td></tr>
Chris@3 120 <tr class="memdesc:acebd835e80e84669df078fbd7591d8f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#acebd835e80e84669df078fbd7591d8f7"></a><br/></td></tr>
Chris@3 121 <tr class="memitem:afc07a389b5f922b944b0350fd232d2eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#afc07a389b5f922b944b0350fd232d2eb">getInputDomain</a> () const </td></tr>
Chris@3 122 <tr class="memdesc:afc07a389b5f922b944b0350fd232d2eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the plugin's required input domain. <a href="#afc07a389b5f922b944b0350fd232d2eb"></a><br/></td></tr>
Chris@3 123 <tr class="memitem:afe7576af95c8fcc7f5bad42eec9f9f29"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#afe7576af95c8fcc7f5bad42eec9f9f29">getIdentifier</a> () const </td></tr>
Chris@3 124 <tr class="memdesc:afe7576af95c8fcc7f5bad42eec9f9f29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#afe7576af95c8fcc7f5bad42eec9f9f29"></a><br/></td></tr>
Chris@3 125 <tr class="memitem:a7cfed00bc9d96ba6c709b69ab6a40594"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a7cfed00bc9d96ba6c709b69ab6a40594">getName</a> () const </td></tr>
Chris@3 126 <tr class="memdesc:a7cfed00bc9d96ba6c709b69ab6a40594"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#a7cfed00bc9d96ba6c709b69ab6a40594"></a><br/></td></tr>
Chris@3 127 <tr class="memitem:a6f0f2fea1fdb4b51e688edfe859d5062"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a6f0f2fea1fdb4b51e688edfe859d5062">getDescription</a> () const </td></tr>
Chris@3 128 <tr class="memdesc:a6f0f2fea1fdb4b51e688edfe859d5062"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable description for the plugin, typically a line of text that may optionally be displayed in addition to the plugin's "name". <a href="#a6f0f2fea1fdb4b51e688edfe859d5062"></a><br/></td></tr>
Chris@3 129 <tr class="memitem:a44fc43838f203f58bc2ce6e3cb2b03dd"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a44fc43838f203f58bc2ce6e3cb2b03dd">getMaker</a> () const </td></tr>
Chris@3 130 <tr class="memdesc:a44fc43838f203f58bc2ce6e3cb2b03dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the author or vendor of the plugin in human-readable form. <a href="#a44fc43838f203f58bc2ce6e3cb2b03dd"></a><br/></td></tr>
Chris@3 131 <tr class="memitem:a8a5d7a834eb996d517c51f84b2a72250"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a8a5d7a834eb996d517c51f84b2a72250">getPluginVersion</a> () const </td></tr>
Chris@3 132 <tr class="memdesc:a8a5d7a834eb996d517c51f84b2a72250"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version number of the plugin. <a href="#a8a5d7a834eb996d517c51f84b2a72250"></a><br/></td></tr>
Chris@3 133 <tr class="memitem:a0c197fc90f30d91cb4403115c83c9134"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a0c197fc90f30d91cb4403115c83c9134">getCopyright</a> () const </td></tr>
Chris@3 134 <tr class="memdesc:a0c197fc90f30d91cb4403115c83c9134"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#a0c197fc90f30d91cb4403115c83c9134"></a><br/></td></tr>
Chris@3 135 <tr class="memitem:a043e3c3db77d76267cd8069e1485bf26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a043e3c3db77d76267cd8069e1485bf26">getOutputDescriptors</a> () const </td></tr>
Chris@3 136 <tr class="memdesc:a043e3c3db77d76267cd8069e1485bf26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the outputs of this plugin. <a href="#a043e3c3db77d76267cd8069e1485bf26"></a><br/></td></tr>
Chris@3 137 <tr class="memitem:a9df01323a09e117bc12354ebe9244edf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a9df01323a09e117bc12354ebe9244edf">getParameterDescriptors</a> () const </td></tr>
Chris@3 138 <tr class="memdesc:a9df01323a09e117bc12354ebe9244edf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#a9df01323a09e117bc12354ebe9244edf"></a><br/></td></tr>
Chris@3 139 <tr class="memitem:ab278c4b6f2ca23248dc94ad775273f39"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#ab278c4b6f2ca23248dc94ad775273f39">getParameter</a> (std::string paramid) const </td></tr>
Chris@3 140 <tr class="memdesc:ab278c4b6f2ca23248dc94ad775273f39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of a named parameter. <a href="#ab278c4b6f2ca23248dc94ad775273f39"></a><br/></td></tr>
Chris@3 141 <tr class="memitem:ae1fc37ece4d20e40f3066a3361a99340"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#ae1fc37ece4d20e40f3066a3361a99340">setParameter</a> (std::string paramid, float newval)</td></tr>
Chris@3 142 <tr class="memdesc:ae1fc37ece4d20e40f3066a3361a99340"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a named parameter. <a href="#ae1fc37ece4d20e40f3066a3361a99340"></a><br/></td></tr>
Chris@3 143 <tr class="memitem:a48d0f95cac31ffd190cff89b50a2a5bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a48d0f95cac31ffd190cff89b50a2a5bd">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">Vamp::RealTime</a> timestamp)</td></tr>
Chris@3 144 <tr class="memdesc:a48d0f95cac31ffd190cff89b50a2a5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single block of input data. <a href="#a48d0f95cac31ffd190cff89b50a2a5bd"></a><br/></td></tr>
Chris@3 145 <tr class="memitem:a368606f643b88e0df0823d85e36f030c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a368606f643b88e0df0823d85e36f030c">getRemainingFeatures</a> ()</td></tr>
Chris@3 146 <tr class="memdesc:a368606f643b88e0df0823d85e36f030c"><td class="mdescLeft">&#160;</td><td class="mdescRight">After all blocks have been processed, calculate and return any remaining features derived from the complete input. <a href="#a368606f643b88e0df0823d85e36f030c"></a><br/></td></tr>
Chris@3 147 <tr class="memitem:aa529adf83f87a603954eb31407602aac"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#aa529adf83f87a603954eb31407602aac">getPreferredBlockSize</a> () const </td></tr>
Chris@3 148 <tr class="memdesc:aa529adf83f87a603954eb31407602aac"><td class="mdescLeft">&#160;</td><td class="mdescRight">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#ae4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function). <a href="#aa529adf83f87a603954eb31407602aac"></a><br/></td></tr>
Chris@3 149 <tr class="memitem:a514c716c22f81c055f19b56c3f882567"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a514c716c22f81c055f19b56c3f882567">getPreferredStepSize</a> () const </td></tr>
Chris@3 150 <tr class="memdesc:a514c716c22f81c055f19b56c3f882567"><td class="mdescLeft">&#160;</td><td class="mdescRight">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#ae4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function) for the plugin. <a href="#a514c716c22f81c055f19b56c3f882567"></a><br/></td></tr>
Chris@3 151 <tr class="memitem:a267b42e866df3cf0d190893e8096f525"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a267b42e866df3cf0d190893e8096f525">getMinChannelCount</a> () const </td></tr>
Chris@3 152 <tr class="memdesc:a267b42e866df3cf0d190893e8096f525"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#a267b42e866df3cf0d190893e8096f525"></a><br/></td></tr>
Chris@3 153 <tr class="memitem:a2c5ab12b6fa4847cb244bd1e9cb3ae5e"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a2c5ab12b6fa4847cb244bd1e9cb3ae5e">getMaxChannelCount</a> () const </td></tr>
Chris@3 154 <tr class="memdesc:a2c5ab12b6fa4847cb244bd1e9cb3ae5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#a2c5ab12b6fa4847cb244bd1e9cb3ae5e"></a><br/></td></tr>
Chris@3 155 <tr class="memitem:abe13b3997a69fbcc09e2213faa352f91"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#abe13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr>
Chris@3 156 <tr class="memdesc:abe13b3997a69fbcc09e2213faa352f91"><td class="mdescLeft">&#160;</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 from audio o...">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="#abe13b3997a69fbcc09e2213faa352f91"></a><br/></td></tr>
Chris@3 157 <tr class="memitem:a8fd2c48291c64b790f0efb8948508dcf"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a8fd2c48291c64b790f0efb8948508dcf">getVampApiVersion</a> () const </td></tr>
Chris@3 158 <tr class="memdesc:a8fd2c48291c64b790f0efb8948508dcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. <a href="#a8fd2c48291c64b790f0efb8948508dcf"></a><br/></td></tr>
Chris@3 159 <tr class="memitem:abb307c60bdb981d5f5af50c3c4ae84af"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#abb307c60bdb981d5f5af50c3c4ae84af">getPrograms</a> () const </td></tr>
Chris@3 160 <tr class="memdesc:abb307c60bdb981d5f5af50c3c4ae84af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the program settings available in this plugin. <a href="#abb307c60bdb981d5f5af50c3c4ae84af"></a><br/></td></tr>
Chris@3 161 <tr class="memitem:a24e77eccf1bdfbbca3c79bb25e8799b3"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a24e77eccf1bdfbbca3c79bb25e8799b3">getCurrentProgram</a> () const </td></tr>
Chris@3 162 <tr class="memdesc:a24e77eccf1bdfbbca3c79bb25e8799b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current program. <a href="#a24e77eccf1bdfbbca3c79bb25e8799b3"></a><br/></td></tr>
Chris@3 163 <tr class="memitem:aadd3a547ef140bae200473a9518e3353"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#aadd3a547ef140bae200473a9518e3353">selectProgram</a> (std::string)</td></tr>
Chris@3 164 <tr class="memdesc:aadd3a547ef140bae200473a9518e3353"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a program. <a href="#aadd3a547ef140bae200473a9518e3353"></a><br/></td></tr>
Chris@1 165 <tr><td colspan="2"><h2><a name="pro-attribs"></a>
Chris@1 166 Protected Attributes</h2></td></tr>
Chris@3 167 <tr class="memitem:a959c2647fd3c5feea2591e3618774027"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a959c2647fd3c5feea2591e3618774027">m_stepSize</a></td></tr>
Chris@3 168 <tr class="memitem:ac95e8d2f334821c6c92c706bae29695a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#ac95e8d2f334821c6c92c706bae29695a">m_previn</a></td></tr>
Chris@3 169 <tr class="memitem:a1cb205b08cfe2ce94a4af05b18f72876"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#a1cb205b08cfe2ce94a4af05b18f72876">m_clampcoef</a></td></tr>
Chris@3 170 <tr class="memitem:aceecd3b3879f32eb4a2e597c32c41cfc"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAmplitudeFollower.html#aceecd3b3879f32eb4a2e597c32c41cfc">m_relaxcoef</a></td></tr>
Chris@3 171 <tr class="memitem:a59b9dd82a4f4eb946cd0474cc81abc23"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a59b9dd82a4f4eb946cd0474cc81abc23">m_inputSampleRate</a></td></tr>
Chris@1 172 </table>
Chris@1 173 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
Chris@1 174 <div class="textblock"><p>Example plugin implementing the SuperCollider amplitude follower function. </p>
Chris@1 175
Chris@1 176 <p>Definition at line <a class="el" href="AmplitudeFollower_8h_source.html#l00047">47</a> of file <a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>.</p>
Chris@1 177 </div><hr/><h2>Member Typedef Documentation</h2>
Chris@3 178 <a class="anchor" id="a30f531b8fb69fac41a24e3d2a6a08ed9"></a>
Chris@1 179 <div class="memitem">
Chris@1 180 <div class="memproto">
Chris@1 181 <table class="memname">
Chris@1 182 <tr>
Chris@1 183 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">Vamp::Plugin::OutputList</a><code> [inherited]</code></td>
Chris@1 184 </tr>
Chris@1 185 </table>
Chris@1 186 </div>
Chris@1 187 <div class="memdoc">
Chris@1 188
Chris@1 189 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00327">327</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 190
Chris@1 191 </div>
Chris@1 192 </div>
Chris@3 193 <a class="anchor" id="a0730bc72c87fa02eb8d2854b233f7be1"></a>
Chris@1 194 <div class="memitem">
Chris@1 195 <div class="memproto">
Chris@1 196 <table class="memname">
Chris@1 197 <tr>
Chris@1 198 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">Vamp::Plugin::FeatureList</a><code> [inherited]</code></td>
Chris@1 199 </tr>
Chris@1 200 </table>
Chris@1 201 </div>
Chris@1 202 <div class="memdoc">
Chris@1 203
Chris@1 204 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00385">385</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 205
Chris@1 206 </div>
Chris@1 207 </div>
Chris@3 208 <a class="anchor" id="a448fb57dc245d47923ec9eeaf9856c5f"></a>
Chris@1 209 <div class="memitem">
Chris@1 210 <div class="memproto">
Chris@1 211 <table class="memname">
Chris@1 212 <tr>
Chris@1 213 <td class="memname">typedef std::map&lt;int, <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">Vamp::Plugin::FeatureSet</a><code> [inherited]</code></td>
Chris@1 214 </tr>
Chris@1 215 </table>
Chris@1 216 </div>
Chris@1 217 <div class="memdoc">
Chris@1 218
Chris@1 219 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00387">387</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 220
Chris@1 221 </div>
Chris@1 222 </div>
Chris@3 223 <a class="anchor" id="a3b6bb4bbd86affe1ca9deceea1aad4f8"></a>
Chris@1 224 <div class="memitem">
Chris@1 225 <div class="memproto">
Chris@1 226 <table class="memname">
Chris@1 227 <tr>
Chris@1 228 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a>&gt; <a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">Vamp::PluginBase::ParameterList</a><code> [inherited]</code></td>
Chris@1 229 </tr>
Chris@1 230 </table>
Chris@1 231 </div>
Chris@1 232 <div class="memdoc">
Chris@1 233
Chris@3 234 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00199">199</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 235
Chris@1 236 </div>
Chris@1 237 </div>
Chris@3 238 <a class="anchor" id="a7f66f00437b21e5f694fe02356b12f20"></a>
Chris@1 239 <div class="memitem">
Chris@1 240 <div class="memproto">
Chris@1 241 <table class="memname">
Chris@1 242 <tr>
Chris@1 243 <td class="memname">typedef std::vector&lt;std::string&gt; <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a><code> [inherited]</code></td>
Chris@1 244 </tr>
Chris@1 245 </table>
Chris@1 246 </div>
Chris@1 247 <div class="memdoc">
Chris@1 248
Chris@3 249 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00221">221</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 250
Chris@1 251 </div>
Chris@1 252 </div>
Chris@1 253 <hr/><h2>Member Enumeration Documentation</h2>
Chris@3 254 <a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bc"></a>
Chris@1 255 <div class="memitem">
Chris@1 256 <div class="memproto">
Chris@1 257 <table class="memname">
Chris@1 258 <tr>
Chris@1 259 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a><code> [inherited]</code></td>
Chris@1 260 </tr>
Chris@1 261 </table>
Chris@1 262 </div>
Chris@1 263 <div class="memdoc">
Chris@1 264 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
Chris@3 265 <tr><td valign="top"><em><a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff"></a>TimeDomain</em>&nbsp;</td><td>
Chris@1 266 </td></tr>
Chris@3 267 <tr><td valign="top"><em><a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53"></a>FrequencyDomain</em>&nbsp;</td><td>
Chris@1 268 </td></tr>
Chris@1 269 </table>
Chris@1 270 </dd>
Chris@1 271 </dl>
Chris@1 272
Chris@1 273 <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>
Chris@1 274
Chris@1 275 </div>
Chris@1 276 </div>
Chris@1 277 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
Chris@3 278 <a class="anchor" id="a29eaeffc353da2614ae508abcd0ab63f"></a>
Chris@1 279 <div class="memitem">
Chris@1 280 <div class="memproto">
Chris@1 281 <table class="memname">
Chris@1 282 <tr>
Chris@3 283 <td class="memname"><a class="el" href="classAmplitudeFollower.html#a29eaeffc353da2614ae508abcd0ab63f">AmplitudeFollower::AmplitudeFollower</a> </td>
Chris@1 284 <td>(</td>
Chris@1 285 <td class="paramtype">float&#160;</td>
Chris@1 286 <td class="paramname"><em>inputSampleRate</em></td><td>)</td>
Chris@1 287 <td></td>
Chris@1 288 </tr>
Chris@1 289 </table>
Chris@1 290 </div>
Chris@1 291 <div class="memdoc">
Chris@1 292
Chris@1 293 <p>An implementation of SuperCollider's amplitude-follower algorithm as a simple <a class="el" href="namespaceVamp.html">Vamp</a> plugin. </p>
Chris@1 294
Chris@1 295 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00055">55</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 296
Chris@1 297 </div>
Chris@1 298 </div>
Chris@3 299 <a class="anchor" id="aa78f98539ad3a1b08691a99b32035b2d"></a>
Chris@1 300 <div class="memitem">
Chris@1 301 <div class="memproto">
Chris@1 302 <table class="memname">
Chris@1 303 <tr>
Chris@3 304 <td class="memname"><a class="el" href="classAmplitudeFollower.html#aa78f98539ad3a1b08691a99b32035b2d">AmplitudeFollower::~AmplitudeFollower</a> </td>
Chris@1 305 <td>(</td>
Chris@1 306 <td class="paramname"></td><td>)</td>
Chris@1 307 <td><code> [virtual]</code></td>
Chris@1 308 </tr>
Chris@1 309 </table>
Chris@1 310 </div>
Chris@1 311 <div class="memdoc">
Chris@1 312
Chris@1 313 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00064">64</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 314
Chris@1 315 </div>
Chris@1 316 </div>
Chris@1 317 <hr/><h2>Member Function Documentation</h2>
Chris@3 318 <a class="anchor" id="aeb727e44ee8ad1aceb90964d20f8d90d"></a>
Chris@1 319 <div class="memitem">
Chris@1 320 <div class="memproto">
Chris@1 321 <table class="memname">
Chris@1 322 <tr>
Chris@3 323 <td class="memname">bool <a class="el" href="classAmplitudeFollower.html#aeb727e44ee8ad1aceb90964d20f8d90d">AmplitudeFollower::initialise</a> </td>
Chris@1 324 <td>(</td>
Chris@1 325 <td class="paramtype">size_t&#160;</td>
Chris@1 326 <td class="paramname"><em>inputChannels</em>, </td>
Chris@1 327 </tr>
Chris@1 328 <tr>
Chris@1 329 <td class="paramkey"></td>
Chris@1 330 <td></td>
Chris@1 331 <td class="paramtype">size_t&#160;</td>
Chris@1 332 <td class="paramname"><em>stepSize</em>, </td>
Chris@1 333 </tr>
Chris@1 334 <tr>
Chris@1 335 <td class="paramkey"></td>
Chris@1 336 <td></td>
Chris@1 337 <td class="paramtype">size_t&#160;</td>
Chris@1 338 <td class="paramname"><em>blockSize</em>&#160;</td>
Chris@1 339 </tr>
Chris@1 340 <tr>
Chris@1 341 <td></td>
Chris@1 342 <td>)</td>
Chris@1 343 <td></td><td><code> [virtual]</code></td>
Chris@1 344 </tr>
Chris@1 345 </table>
Chris@1 346 </div>
Chris@1 347 <div class="memdoc">
Chris@1 348
Chris@1 349 <p>Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames). </p>
Chris@1 350 <p>The input sample rate should have been already specified at construction time.</p>
Chris@1 351 <p>Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported. </p>
Chris@1 352
Chris@1 353 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#af26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p>
Chris@1 354
Chris@1 355 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">105</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 356
Chris@1 357 <p>References <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00204">Vamp::Plugin::getMaxChannelCount()</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00199">Vamp::Plugin::getMinChannelCount()</a>, <a class="el" href="AmplitudeFollower_8h_source.html#l00079">m_clampcoef</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00436">Vamp::Plugin::m_inputSampleRate</a>, <a class="el" href="AmplitudeFollower_8h_source.html#l00080">m_relaxcoef</a>, and <a class="el" href="AmplitudeFollower_8h_source.html#l00077">m_stepSize</a>.</p>
Chris@1 358
Chris@1 359 </div>
Chris@1 360 </div>
Chris@3 361 <a class="anchor" id="acebd835e80e84669df078fbd7591d8f7"></a>
Chris@1 362 <div class="memitem">
Chris@1 363 <div class="memproto">
Chris@1 364 <table class="memname">
Chris@1 365 <tr>
Chris@3 366 <td class="memname">void <a class="el" href="classAmplitudeFollower.html#acebd835e80e84669df078fbd7591d8f7">AmplitudeFollower::reset</a> </td>
Chris@1 367 <td>(</td>
Chris@1 368 <td class="paramname"></td><td>)</td>
Chris@1 369 <td><code> [virtual]</code></td>
Chris@1 370 </tr>
Chris@1 371 </table>
Chris@1 372 </div>
Chris@1 373 <div class="memdoc">
Chris@1 374
Chris@1 375 <p>Reset the plugin after use, to prepare it for another clean run. </p>
Chris@1 376 <p>Not called for the first initialisation (i.e. initialise must also do a reset). </p>
Chris@1 377
Chris@1 378 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
Chris@1 379
Chris@1 380 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00122">122</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 381
Chris@1 382 <p>References <a class="el" href="AmplitudeFollower_8h_source.html#l00078">m_previn</a>.</p>
Chris@1 383
Chris@1 384 </div>
Chris@1 385 </div>
Chris@3 386 <a class="anchor" id="afc07a389b5f922b944b0350fd232d2eb"></a>
Chris@1 387 <div class="memitem">
Chris@1 388 <div class="memproto">
Chris@1 389 <table class="memname">
Chris@1 390 <tr>
Chris@3 391 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> <a class="el" href="classAmplitudeFollower.html#afc07a389b5f922b944b0350fd232d2eb">AmplitudeFollower::getInputDomain</a> </td>
Chris@1 392 <td>(</td>
Chris@1 393 <td class="paramname"></td><td>)</td>
Chris@1 394 <td> const<code> [inline, virtual]</code></td>
Chris@1 395 </tr>
Chris@1 396 </table>
Chris@1 397 </div>
Chris@1 398 <div class="memdoc">
Chris@1 399
Chris@1 400 <p>Get the plugin's required input domain. </p>
Chris@1 401 <p>If this is TimeDomain, the samples provided to the <a class="el" href="classAmplitudeFollower.html#a48d0f95cac31ffd190cff89b50a2a5bd" 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.</p>
Chris@1 402 <p>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="classAmplitudeFollower.html#a48d0f95cac31ffd190cff89b50a2a5bd" title="Process a single block of input data.">process()</a>. The input data for the FFT will be rotated so as to place the origin in the centre of the block. 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. </p>
Chris@1 403
Chris@1 404 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
Chris@1 405
Chris@1 406 <p>Definition at line <a class="el" href="AmplitudeFollower_8h_source.html#l00056">56</a> of file <a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>.</p>
Chris@1 407
Chris@1 408 <p>References <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00152">Vamp::Plugin::TimeDomain</a>.</p>
Chris@1 409
Chris@1 410 </div>
Chris@1 411 </div>
Chris@3 412 <a class="anchor" id="afe7576af95c8fcc7f5bad42eec9f9f29"></a>
Chris@1 413 <div class="memitem">
Chris@1 414 <div class="memproto">
Chris@1 415 <table class="memname">
Chris@1 416 <tr>
Chris@3 417 <td class="memname">string <a class="el" href="classAmplitudeFollower.html#afe7576af95c8fcc7f5bad42eec9f9f29">AmplitudeFollower::getIdentifier</a> </td>
Chris@1 418 <td>(</td>
Chris@1 419 <td class="paramname"></td><td>)</td>
Chris@1 420 <td> const<code> [virtual]</code></td>
Chris@1 421 </tr>
Chris@1 422 </table>
Chris@1 423 </div>
Chris@1 424 <div class="memdoc">
Chris@1 425
Chris@1 426 <p>Get the computer-usable name of the plugin. </p>
Chris@1 427 <p>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>
Chris@1 428 <p>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>
Chris@1 429 <p>Example: "zero_crossings" </p>
Chris@1 430
Chris@1 431 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ad1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
Chris@1 432
Chris@1 433 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00069">69</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 434
Chris@1 435 </div>
Chris@1 436 </div>
Chris@3 437 <a class="anchor" id="a7cfed00bc9d96ba6c709b69ab6a40594"></a>
Chris@1 438 <div class="memitem">
Chris@1 439 <div class="memproto">
Chris@1 440 <table class="memname">
Chris@1 441 <tr>
Chris@3 442 <td class="memname">string <a class="el" href="classAmplitudeFollower.html#a7cfed00bc9d96ba6c709b69ab6a40594">AmplitudeFollower::getName</a> </td>
Chris@1 443 <td>(</td>
Chris@1 444 <td class="paramname"></td><td>)</td>
Chris@1 445 <td> const<code> [virtual]</code></td>
Chris@1 446 </tr>
Chris@1 447 </table>
Chris@1 448 </div>
Chris@1 449 <div class="memdoc">
Chris@1 450
Chris@1 451 <p>Get a human-readable name or title of the plugin. </p>
Chris@1 452 <p>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>
Chris@1 453 <p>Example: "Zero Crossings" </p>
Chris@1 454
Chris@1 455 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
Chris@1 456
Chris@1 457 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00075">75</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 458
Chris@1 459 </div>
Chris@1 460 </div>
Chris@3 461 <a class="anchor" id="a6f0f2fea1fdb4b51e688edfe859d5062"></a>
Chris@1 462 <div class="memitem">
Chris@1 463 <div class="memproto">
Chris@1 464 <table class="memname">
Chris@1 465 <tr>
Chris@3 466 <td class="memname">string <a class="el" href="classAmplitudeFollower.html#a6f0f2fea1fdb4b51e688edfe859d5062">AmplitudeFollower::getDescription</a> </td>
Chris@1 467 <td>(</td>
Chris@1 468 <td class="paramname"></td><td>)</td>
Chris@1 469 <td> const<code> [virtual]</code></td>
Chris@1 470 </tr>
Chris@1 471 </table>
Chris@1 472 </div>
Chris@1 473 <div class="memdoc">
Chris@1 474
Chris@1 475 <p>Get a human-readable description for the plugin, typically a line of text that may optionally be displayed in addition to the plugin's "name". </p>
Chris@1 476 <p>May be empty if the name has said it all already.</p>
Chris@1 477 <p>Example: "Detect and count zero crossing points" </p>
Chris@1 478
Chris@1 479 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
Chris@1 480
Chris@1 481 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00081">81</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 482
Chris@1 483 </div>
Chris@1 484 </div>
Chris@3 485 <a class="anchor" id="a44fc43838f203f58bc2ce6e3cb2b03dd"></a>
Chris@1 486 <div class="memitem">
Chris@1 487 <div class="memproto">
Chris@1 488 <table class="memname">
Chris@1 489 <tr>
Chris@3 490 <td class="memname">string <a class="el" href="classAmplitudeFollower.html#a44fc43838f203f58bc2ce6e3cb2b03dd">AmplitudeFollower::getMaker</a> </td>
Chris@1 491 <td>(</td>
Chris@1 492 <td class="paramname"></td><td>)</td>
Chris@1 493 <td> const<code> [virtual]</code></td>
Chris@1 494 </tr>
Chris@1 495 </table>
Chris@1 496 </div>
Chris@1 497 <div class="memdoc">
Chris@1 498
Chris@1 499 <p>Get the name of the author or vendor of the plugin in human-readable form. </p>
Chris@1 500 <p>This should be a short identifying text, as it may be used to label plugins from the same source in a menu or similar. </p>
Chris@1 501
Chris@1 502 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
Chris@1 503
Chris@1 504 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00087">87</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 505
Chris@1 506 </div>
Chris@1 507 </div>
Chris@3 508 <a class="anchor" id="a8a5d7a834eb996d517c51f84b2a72250"></a>
Chris@1 509 <div class="memitem">
Chris@1 510 <div class="memproto">
Chris@1 511 <table class="memname">
Chris@1 512 <tr>
Chris@3 513 <td class="memname">int <a class="el" href="classAmplitudeFollower.html#a8a5d7a834eb996d517c51f84b2a72250">AmplitudeFollower::getPluginVersion</a> </td>
Chris@1 514 <td>(</td>
Chris@1 515 <td class="paramname"></td><td>)</td>
Chris@1 516 <td> const<code> [virtual]</code></td>
Chris@1 517 </tr>
Chris@1 518 </table>
Chris@1 519 </div>
Chris@1 520 <div class="memdoc">
Chris@1 521
Chris@1 522 <p>Get the version number of the plugin. </p>
Chris@1 523
Chris@1 524 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
Chris@1 525
Chris@1 526 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00093">93</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 527
Chris@1 528 </div>
Chris@1 529 </div>
Chris@3 530 <a class="anchor" id="a0c197fc90f30d91cb4403115c83c9134"></a>
Chris@1 531 <div class="memitem">
Chris@1 532 <div class="memproto">
Chris@1 533 <table class="memname">
Chris@1 534 <tr>
Chris@3 535 <td class="memname">string <a class="el" href="classAmplitudeFollower.html#a0c197fc90f30d91cb4403115c83c9134">AmplitudeFollower::getCopyright</a> </td>
Chris@1 536 <td>(</td>
Chris@1 537 <td class="paramname"></td><td>)</td>
Chris@1 538 <td> const<code> [virtual]</code></td>
Chris@1 539 </tr>
Chris@1 540 </table>
Chris@1 541 </div>
Chris@1 542 <div class="memdoc">
Chris@1 543
Chris@1 544 <p>Get the copyright statement or licensing summary for the plugin. </p>
Chris@1 545 <p>This can be an informative text, without the same presentation constraints as mentioned for getMaker above. </p>
Chris@1 546
Chris@1 547 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ab7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
Chris@1 548
Chris@1 549 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00099">99</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 550
Chris@1 551 </div>
Chris@1 552 </div>
Chris@3 553 <a class="anchor" id="a043e3c3db77d76267cd8069e1485bf26"></a>
Chris@1 554 <div class="memitem">
Chris@1 555 <div class="memproto">
Chris@1 556 <table class="memname">
Chris@1 557 <tr>
Chris@3 558 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">AmplitudeFollower::OutputList</a> <a class="el" href="classAmplitudeFollower.html#a043e3c3db77d76267cd8069e1485bf26">AmplitudeFollower::getOutputDescriptors</a> </td>
Chris@1 559 <td>(</td>
Chris@1 560 <td class="paramname"></td><td>)</td>
Chris@1 561 <td> const<code> [virtual]</code></td>
Chris@1 562 </tr>
Chris@1 563 </table>
Chris@1 564 </div>
Chris@1 565 <div class="memdoc">
Chris@1 566
Chris@1 567 <p>Get the outputs of this plugin. </p>
Chris@1 568 <p>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="classAmplitudeFollower.html#a48d0f95cac31ffd190cff89b50a2a5bd" title="Process a single block of input data.">process()</a> call. </p>
Chris@1 569
Chris@1 570 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
Chris@1 571
Chris@1 572 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00128">128</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 573
Chris@1 574 <p>References <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00247">Vamp::Plugin::OutputDescriptor::binCount</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00227">Vamp::Plugin::OutputDescriptor::description</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00239">Vamp::Plugin::OutputDescriptor::hasFixedBinCount</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00260">Vamp::Plugin::OutputDescriptor::hasKnownExtents</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00214">Vamp::Plugin::OutputDescriptor::identifier</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00278">Vamp::Plugin::OutputDescriptor::isQuantized</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00220">Vamp::Plugin::OutputDescriptor::name</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00290">Vamp::Plugin::OutputDescriptor::OneSamplePerStep</a>, <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00302">Vamp::Plugin::OutputDescriptor::sampleType</a>, and <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00232">Vamp::Plugin::OutputDescriptor::unit</a>.</p>
Chris@1 575
Chris@1 576 </div>
Chris@1 577 </div>
Chris@3 578 <a class="anchor" id="a9df01323a09e117bc12354ebe9244edf"></a>
Chris@1 579 <div class="memitem">
Chris@1 580 <div class="memproto">
Chris@1 581 <table class="memname">
Chris@1 582 <tr>
Chris@3 583 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">AmplitudeFollower::ParameterList</a> <a class="el" href="classAmplitudeFollower.html#a9df01323a09e117bc12354ebe9244edf">AmplitudeFollower::getParameterDescriptors</a> </td>
Chris@1 584 <td>(</td>
Chris@1 585 <td class="paramname"></td><td>)</td>
Chris@1 586 <td> const<code> [virtual]</code></td>
Chris@1 587 </tr>
Chris@1 588 </table>
Chris@1 589 </div>
Chris@1 590 <div class="memdoc">
Chris@1 591
Chris@1 592 <p>Get the controllable parameters of this plugin. </p>
Chris@1 593
Chris@1 594 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aac3e49b3b66cacfbb768dfdf07444f21">Vamp::PluginBase</a>.</p>
Chris@1 595
Chris@1 596 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00148">148</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 597
Chris@3 598 <p>References <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00167">Vamp::PluginBase::ParameterDescriptor::defaultValue</a>, <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00144">Vamp::PluginBase::ParameterDescriptor::description</a>, <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00133">Vamp::PluginBase::ParameterDescriptor::identifier</a>, <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00173">Vamp::PluginBase::ParameterDescriptor::isQuantized</a>, <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00159">Vamp::PluginBase::ParameterDescriptor::maxValue</a>, <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00154">Vamp::PluginBase::ParameterDescriptor::minValue</a>, <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00138">Vamp::PluginBase::ParameterDescriptor::name</a>, and <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00149">Vamp::PluginBase::ParameterDescriptor::unit</a>.</p>
Chris@1 599
Chris@1 600 </div>
Chris@1 601 </div>
Chris@3 602 <a class="anchor" id="ab278c4b6f2ca23248dc94ad775273f39"></a>
Chris@1 603 <div class="memitem">
Chris@1 604 <div class="memproto">
Chris@1 605 <table class="memname">
Chris@1 606 <tr>
Chris@3 607 <td class="memname">float <a class="el" href="classAmplitudeFollower.html#ab278c4b6f2ca23248dc94ad775273f39">AmplitudeFollower::getParameter</a> </td>
Chris@1 608 <td>(</td>
Chris@1 609 <td class="paramtype">std::string&#160;</td>
Chris@1 610 <td class="paramname"></td><td>)</td>
Chris@1 611 <td> const<code> [virtual]</code></td>
Chris@1 612 </tr>
Chris@1 613 </table>
Chris@1 614 </div>
Chris@1 615 <div class="memdoc">
Chris@1 616
Chris@1 617 <p>Get the value of a named parameter. </p>
Chris@1 618 <p>The argument is the identifier field from that parameter's descriptor. </p>
Chris@1 619
Chris@1 620 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a97ababcd45348ceec998d0f8e0f38bf7">Vamp::PluginBase</a>.</p>
Chris@1 621
Chris@1 622 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00188">188</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 623
Chris@1 624 <p>References <a class="el" href="AmplitudeFollower_8h_source.html#l00079">m_clampcoef</a>, and <a class="el" href="AmplitudeFollower_8h_source.html#l00080">m_relaxcoef</a>.</p>
Chris@1 625
Chris@1 626 </div>
Chris@1 627 </div>
Chris@3 628 <a class="anchor" id="ae1fc37ece4d20e40f3066a3361a99340"></a>
Chris@1 629 <div class="memitem">
Chris@1 630 <div class="memproto">
Chris@1 631 <table class="memname">
Chris@1 632 <tr>
Chris@3 633 <td class="memname">void <a class="el" href="classAmplitudeFollower.html#ae1fc37ece4d20e40f3066a3361a99340">AmplitudeFollower::setParameter</a> </td>
Chris@1 634 <td>(</td>
Chris@1 635 <td class="paramtype">std::string&#160;</td>
Chris@1 636 <td class="paramname">, </td>
Chris@1 637 </tr>
Chris@1 638 <tr>
Chris@1 639 <td class="paramkey"></td>
Chris@1 640 <td></td>
Chris@1 641 <td class="paramtype">float&#160;</td>
Chris@1 642 <td class="paramname">&#160;</td>
Chris@1 643 </tr>
Chris@1 644 <tr>
Chris@1 645 <td></td>
Chris@1 646 <td>)</td>
Chris@1 647 <td></td><td><code> [virtual]</code></td>
Chris@1 648 </tr>
Chris@1 649 </table>
Chris@1 650 </div>
Chris@1 651 <div class="memdoc">
Chris@1 652
Chris@1 653 <p>Set a named parameter. </p>
Chris@1 654 <p>The first argument is the identifier field from that parameter's descriptor. </p>
Chris@1 655
Chris@1 656 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
Chris@1 657
Chris@1 658 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00179">179</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 659
Chris@1 660 <p>References <a class="el" href="AmplitudeFollower_8h_source.html#l00079">m_clampcoef</a>, and <a class="el" href="AmplitudeFollower_8h_source.html#l00080">m_relaxcoef</a>.</p>
Chris@1 661
Chris@1 662 </div>
Chris@1 663 </div>
Chris@3 664 <a class="anchor" id="a48d0f95cac31ffd190cff89b50a2a5bd"></a>
Chris@1 665 <div class="memitem">
Chris@1 666 <div class="memproto">
Chris@1 667 <table class="memname">
Chris@1 668 <tr>
Chris@3 669 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">AmplitudeFollower::FeatureSet</a> <a class="el" href="classAmplitudeFollower.html#a48d0f95cac31ffd190cff89b50a2a5bd">AmplitudeFollower::process</a> </td>
Chris@1 670 <td>(</td>
Chris@1 671 <td class="paramtype">const float *const *&#160;</td>
Chris@1 672 <td class="paramname"><em>inputBuffers</em>, </td>
Chris@1 673 </tr>
Chris@1 674 <tr>
Chris@1 675 <td class="paramkey"></td>
Chris@1 676 <td></td>
Chris@1 677 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">Vamp::RealTime</a>&#160;</td>
Chris@1 678 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 679 </tr>
Chris@1 680 <tr>
Chris@1 681 <td></td>
Chris@1 682 <td>)</td>
Chris@1 683 <td></td><td><code> [virtual]</code></td>
Chris@1 684 </tr>
Chris@1 685 </table>
Chris@1 686 </div>
Chris@1 687 <div class="memdoc">
Chris@1 688
Chris@1 689 <p>Process a single block of input data. </p>
Chris@1 690 <p>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>
Chris@1 691 <p>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>
Chris@1 692 <p>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.) </p>
Chris@1 693
Chris@1 694 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p>
Chris@1 695
Chris@1 696 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00200">200</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 697
Chris@1 698 <p>References <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00344">Vamp::Plugin::Feature::hasTimestamp</a>, <a class="el" href="AmplitudeFollower_8h_source.html#l00079">m_clampcoef</a>, <a class="el" href="AmplitudeFollower_8h_source.html#l00078">m_previn</a>, <a class="el" href="AmplitudeFollower_8h_source.html#l00080">m_relaxcoef</a>, <a class="el" href="AmplitudeFollower_8h_source.html#l00077">m_stepSize</a>, and <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00374">Vamp::Plugin::Feature::values</a>.</p>
Chris@1 699
Chris@1 700 </div>
Chris@1 701 </div>
Chris@3 702 <a class="anchor" id="a368606f643b88e0df0823d85e36f030c"></a>
Chris@1 703 <div class="memitem">
Chris@1 704 <div class="memproto">
Chris@1 705 <table class="memname">
Chris@1 706 <tr>
Chris@3 707 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">AmplitudeFollower::FeatureSet</a> <a class="el" href="classAmplitudeFollower.html#a368606f643b88e0df0823d85e36f030c">AmplitudeFollower::getRemainingFeatures</a> </td>
Chris@1 708 <td>(</td>
Chris@1 709 <td class="paramname"></td><td>)</td>
Chris@1 710 <td><code> [virtual]</code></td>
Chris@1 711 </tr>
Chris@1 712 </table>
Chris@1 713 </div>
Chris@1 714 <div class="memdoc">
Chris@1 715
Chris@1 716 <p>After all blocks have been processed, calculate and return any remaining features derived from the complete input. </p>
Chris@1 717
Chris@1 718 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aeca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
Chris@1 719
Chris@1 720 <p>Definition at line <a class="el" href="AmplitudeFollower_8cpp_source.html#l00243">243</a> of file <a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a>.</p>
Chris@1 721
Chris@1 722 </div>
Chris@1 723 </div>
Chris@3 724 <a class="anchor" id="aa529adf83f87a603954eb31407602aac"></a>
Chris@1 725 <div class="memitem">
Chris@1 726 <div class="memproto">
Chris@1 727 <table class="memname">
Chris@1 728 <tr>
Chris@3 729 <td class="memname">virtual size_t <a class="el" href="classVamp_1_1Plugin.html#aa529adf83f87a603954eb31407602aac">Vamp::Plugin::getPreferredBlockSize</a> </td>
Chris@1 730 <td>(</td>
Chris@1 731 <td class="paramname"></td><td>)</td>
Chris@1 732 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 733 </tr>
Chris@1 734 </table>
Chris@1 735 </div>
Chris@1 736 <div class="memdoc">
Chris@1 737
Chris@1 738 <p>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#ae4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function). </p>
Chris@1 739 <p>This should be called before <a class="el" href="classVamp_1_1Plugin.html#af26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>.</p>
Chris@1 740 <p>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#af26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a> call. </p>
Chris@1 741
Chris@1 742 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a21e45180b19873f9ab69fe7a4e184a03">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#a4cf40d09d02022b1962ff17bb0324ea5">Vamp::HostExt::PluginInputDomainAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#ad5e0ea8042bdec4dd18428991117e07a">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2c62a656313a819650656643a867ad01">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classFixedTempoEstimator.html#a68b8569b71504a0478caf990dbe30683">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#a410c0b47c6c849d7ed9b726b84402ad0">PercussionOnsetDetector</a>.</p>
Chris@1 743
Chris@1 744 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00179">179</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 745
Chris@1 746 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00578">enumeratePlugins()</a>, and <a class="el" href="vamp-simple-host_8cpp_source.html#l00265">runPlugin()</a>.</p>
Chris@1 747
Chris@1 748 </div>
Chris@1 749 </div>
Chris@3 750 <a class="anchor" id="a514c716c22f81c055f19b56c3f882567"></a>
Chris@1 751 <div class="memitem">
Chris@1 752 <div class="memproto">
Chris@1 753 <table class="memname">
Chris@1 754 <tr>
Chris@3 755 <td class="memname">virtual size_t <a class="el" href="classVamp_1_1Plugin.html#a514c716c22f81c055f19b56c3f882567">Vamp::Plugin::getPreferredStepSize</a> </td>
Chris@1 756 <td>(</td>
Chris@1 757 <td class="paramname"></td><td>)</td>
Chris@1 758 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 759 </tr>
Chris@1 760 </table>
Chris@1 761 </div>
Chris@1 762 <div class="memdoc">
Chris@1 763
Chris@1 764 <p>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#ae4aed3bebfe80a2e2fccd3d37af26996" title="Process a single block of input data.">process()</a> function) for the plugin. </p>
Chris@1 765 <p>This should be called before <a class="el" href="classVamp_1_1Plugin.html#af26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>.</p>
Chris@1 766 <p>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#af26212cf5fc511b603a8b48034247822" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a> call. </p>
Chris@1 767
Chris@1 768 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#ad979af9f1cbf2eeb16f4eaedb4a4f565">Vamp::HostExt::PluginInputDomainAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#a859ad5d59402691daed3cf1af1899ebe">Vamp::PluginHostAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a2e66d009df69c951001e5d2786973d60">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a0137d93d7019bacc31104836fb4d352e">Vamp::HostExt::PluginWrapper</a>, <a class="el" href="classFixedTempoEstimator.html#ad450bb7e7df559ae3d68dfbfb085676f">FixedTempoEstimator</a>, and <a class="el" href="classPercussionOnsetDetector.html#a733824891e11c306a7a678534b89b968">PercussionOnsetDetector</a>.</p>
Chris@1 769
Chris@1 770 <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>
Chris@1 771
Chris@1 772 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00578">enumeratePlugins()</a>, and <a class="el" href="vamp-simple-host_8cpp_source.html#l00265">runPlugin()</a>.</p>
Chris@1 773
Chris@1 774 </div>
Chris@1 775 </div>
Chris@3 776 <a class="anchor" id="a267b42e866df3cf0d190893e8096f525"></a>
Chris@1 777 <div class="memitem">
Chris@1 778 <div class="memproto">
Chris@1 779 <table class="memname">
Chris@1 780 <tr>
Chris@3 781 <td class="memname">virtual size_t <a class="el" href="classVamp_1_1Plugin.html#a267b42e866df3cf0d190893e8096f525">Vamp::Plugin::getMinChannelCount</a> </td>
Chris@1 782 <td>(</td>
Chris@1 783 <td class="paramname"></td><td>)</td>
Chris@1 784 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 785 </tr>
Chris@1 786 </table>
Chris@1 787 </div>
Chris@1 788 <div class="memdoc">
Chris@1 789
Chris@1 790 <p>Get the minimum supported number of input channels. </p>
Chris@1 791
Chris@1 792 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a67d1198c0e58d3f0076d0eda599ff28d">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2b28f1cf37d46a514f1e1411a6037bf8">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 793
Chris@1 794 <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>
Chris@1 795
Chris@1 796 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00578">enumeratePlugins()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00677">FixedTempoEstimator::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">initialise()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00104">SpectralCentroid::initialise()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00094">ZeroCrossing::initialise()</a>, <a class="el" href="PowerSpectrum_8cpp_source.html#l00092">PowerSpectrum::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp_source.html#l00265">runPlugin()</a>.</p>
Chris@1 797
Chris@1 798 </div>
Chris@1 799 </div>
Chris@3 800 <a class="anchor" id="a2c5ab12b6fa4847cb244bd1e9cb3ae5e"></a>
Chris@1 801 <div class="memitem">
Chris@1 802 <div class="memproto">
Chris@1 803 <table class="memname">
Chris@1 804 <tr>
Chris@3 805 <td class="memname">virtual size_t <a class="el" href="classVamp_1_1Plugin.html#a2c5ab12b6fa4847cb244bd1e9cb3ae5e">Vamp::Plugin::getMaxChannelCount</a> </td>
Chris@1 806 <td>(</td>
Chris@1 807 <td class="paramname"></td><td>)</td>
Chris@1 808 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 809 </tr>
Chris@1 810 </table>
Chris@1 811 </div>
Chris@1 812 <div class="memdoc">
Chris@1 813
Chris@1 814 <p>Get the maximum supported number of input channels. </p>
Chris@1 815
Chris@1 816 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a25091905e97e39d515d8ffc1a9f2b9e0">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a985eb21f1827bfbc3950d6871b107a58">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 817
Chris@1 818 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00204">204</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 819
Chris@1 820 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00578">enumeratePlugins()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00677">FixedTempoEstimator::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">initialise()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00104">SpectralCentroid::initialise()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00094">ZeroCrossing::initialise()</a>, <a class="el" href="PowerSpectrum_8cpp_source.html#l00092">PowerSpectrum::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp_source.html#l00265">runPlugin()</a>.</p>
Chris@1 821
Chris@1 822 </div>
Chris@1 823 </div>
Chris@3 824 <a class="anchor" id="abe13b3997a69fbcc09e2213faa352f91"></a>
Chris@1 825 <div class="memitem">
Chris@1 826 <div class="memproto">
Chris@1 827 <table class="memname">
Chris@1 828 <tr>
Chris@3 829 <td class="memname">virtual std::string <a class="el" href="classVamp_1_1Plugin.html#abe13b3997a69fbcc09e2213faa352f91">Vamp::Plugin::getType</a> </td>
Chris@1 830 <td>(</td>
Chris@1 831 <td class="paramname"></td><td>)</td>
Chris@1 832 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 833 </tr>
Chris@1 834 </table>
Chris@1 835 </div>
Chris@1 836 <div class="memdoc">
Chris@1 837
Chris@1 838 <p>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 from audio o...">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>. </p>
Chris@1 839 <p>Do not reimplement this function in your subclass. </p>
Chris@1 840
Chris@1 841 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
Chris@1 842
Chris@1 843 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00430">430</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 844
Chris@1 845 </div>
Chris@1 846 </div>
Chris@3 847 <a class="anchor" id="a8fd2c48291c64b790f0efb8948508dcf"></a>
Chris@1 848 <div class="memitem">
Chris@1 849 <div class="memproto">
Chris@1 850 <table class="memname">
Chris@1 851 <tr>
Chris@3 852 <td class="memname">virtual unsigned int <a class="el" href="classVamp_1_1PluginBase.html#a8fd2c48291c64b790f0efb8948508dcf">Vamp::PluginBase::getVampApiVersion</a> </td>
Chris@1 853 <td>(</td>
Chris@1 854 <td class="paramname"></td><td>)</td>
Chris@1 855 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 856 </tr>
Chris@1 857 </table>
Chris@1 858 </div>
Chris@1 859 <div class="memdoc">
Chris@1 860
Chris@1 861 <p>Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. </p>
Chris@1 862
Chris@1 863 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a98aadddc8403eb46c9d8c5a9d1fdd19e">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a74147fda6b44ff2169bd4a1eea0d46ff">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 864
Chris@3 865 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00068">68</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 866
Chris@1 867 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00578">enumeratePlugins()</a>.</p>
Chris@1 868
Chris@1 869 </div>
Chris@1 870 </div>
Chris@3 871 <a class="anchor" id="abb307c60bdb981d5f5af50c3c4ae84af"></a>
Chris@1 872 <div class="memitem">
Chris@1 873 <div class="memproto">
Chris@1 874 <table class="memname">
Chris@1 875 <tr>
Chris@3 876 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a> <a class="el" href="classVamp_1_1PluginBase.html#abb307c60bdb981d5f5af50c3c4ae84af">Vamp::PluginBase::getPrograms</a> </td>
Chris@1 877 <td>(</td>
Chris@1 878 <td class="paramname"></td><td>)</td>
Chris@1 879 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 880 </tr>
Chris@1 881 </table>
Chris@1 882 </div>
Chris@1 883 <div class="memdoc">
Chris@1 884
Chris@1 885 <p>Get the program settings available in this plugin. </p>
Chris@1 886 <p>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>
Chris@1 887 <p>The programs must have unique names. </p>
Chris@1 888
Chris@1 889 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#ae0cde5cd625418c1bc470b91f75daafc">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a131fbe1df81215020b9aa8cecef4c802">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 890
Chris@3 891 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00233">233</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 892
Chris@1 893 </div>
Chris@1 894 </div>
Chris@3 895 <a class="anchor" id="a24e77eccf1bdfbbca3c79bb25e8799b3"></a>
Chris@1 896 <div class="memitem">
Chris@1 897 <div class="memproto">
Chris@1 898 <table class="memname">
Chris@1 899 <tr>
Chris@3 900 <td class="memname">virtual std::string <a class="el" href="classVamp_1_1PluginBase.html#a24e77eccf1bdfbbca3c79bb25e8799b3">Vamp::PluginBase::getCurrentProgram</a> </td>
Chris@1 901 <td>(</td>
Chris@1 902 <td class="paramname"></td><td>)</td>
Chris@1 903 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 904 </tr>
Chris@1 905 </table>
Chris@1 906 </div>
Chris@1 907 <div class="memdoc">
Chris@1 908
Chris@1 909 <p>Get the current program. </p>
Chris@1 910
Chris@1 911 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a34859eff8ca8d862af39be9636ec1867">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a7a312dd42d161064b70afd7ff24c0651">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 912
Chris@3 913 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00238">238</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 914
Chris@1 915 </div>
Chris@1 916 </div>
Chris@3 917 <a class="anchor" id="aadd3a547ef140bae200473a9518e3353"></a>
Chris@1 918 <div class="memitem">
Chris@1 919 <div class="memproto">
Chris@1 920 <table class="memname">
Chris@1 921 <tr>
Chris@3 922 <td class="memname">virtual void <a class="el" href="classVamp_1_1PluginBase.html#aadd3a547ef140bae200473a9518e3353">Vamp::PluginBase::selectProgram</a> </td>
Chris@1 923 <td>(</td>
Chris@1 924 <td class="paramtype">std::string&#160;</td>
Chris@1 925 <td class="paramname"></td><td>)</td>
Chris@1 926 <td><code> [inline, virtual, inherited]</code></td>
Chris@1 927 </tr>
Chris@1 928 </table>
Chris@1 929 </div>
Chris@1 930 <div class="memdoc">
Chris@1 931
Chris@1 932 <p>Select a program. </p>
Chris@1 933 <p>(If the given program name is not one of the available programs, do nothing.) </p>
Chris@1 934
Chris@1 935 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a3cc7000e0aff525950e0a286b87f8927">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#a8f5515ab34cc13d9403ccc6b4b788683">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a074978333a74fdcf336a8a1d8ea20abf">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 936
Chris@3 937 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00244">244</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 938
Chris@1 939 </div>
Chris@1 940 </div>
Chris@1 941 <hr/><h2>Member Data Documentation</h2>
Chris@3 942 <a class="anchor" id="a959c2647fd3c5feea2591e3618774027"></a>
Chris@1 943 <div class="memitem">
Chris@1 944 <div class="memproto">
Chris@1 945 <table class="memname">
Chris@1 946 <tr>
Chris@1 947 <td class="memname">size_t <a class="el" href="classAmplitudeFollower.html#a959c2647fd3c5feea2591e3618774027">AmplitudeFollower::m_stepSize</a><code> [protected]</code></td>
Chris@1 948 </tr>
Chris@1 949 </table>
Chris@1 950 </div>
Chris@1 951 <div class="memdoc">
Chris@1 952
Chris@1 953 <p>Definition at line <a class="el" href="AmplitudeFollower_8h_source.html#l00077">77</a> of file <a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>.</p>
Chris@1 954
Chris@1 955 <p>Referenced by <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">initialise()</a>, and <a class="el" href="AmplitudeFollower_8cpp_source.html#l00200">process()</a>.</p>
Chris@1 956
Chris@1 957 </div>
Chris@1 958 </div>
Chris@3 959 <a class="anchor" id="ac95e8d2f334821c6c92c706bae29695a"></a>
Chris@1 960 <div class="memitem">
Chris@1 961 <div class="memproto">
Chris@1 962 <table class="memname">
Chris@1 963 <tr>
Chris@1 964 <td class="memname">float <a class="el" href="classAmplitudeFollower.html#ac95e8d2f334821c6c92c706bae29695a">AmplitudeFollower::m_previn</a><code> [protected]</code></td>
Chris@1 965 </tr>
Chris@1 966 </table>
Chris@1 967 </div>
Chris@1 968 <div class="memdoc">
Chris@1 969
Chris@1 970 <p>Definition at line <a class="el" href="AmplitudeFollower_8h_source.html#l00078">78</a> of file <a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>.</p>
Chris@1 971
Chris@1 972 <p>Referenced by <a class="el" href="AmplitudeFollower_8cpp_source.html#l00200">process()</a>, and <a class="el" href="AmplitudeFollower_8cpp_source.html#l00122">reset()</a>.</p>
Chris@1 973
Chris@1 974 </div>
Chris@1 975 </div>
Chris@3 976 <a class="anchor" id="a1cb205b08cfe2ce94a4af05b18f72876"></a>
Chris@1 977 <div class="memitem">
Chris@1 978 <div class="memproto">
Chris@1 979 <table class="memname">
Chris@1 980 <tr>
Chris@1 981 <td class="memname">float <a class="el" href="classAmplitudeFollower.html#a1cb205b08cfe2ce94a4af05b18f72876">AmplitudeFollower::m_clampcoef</a><code> [protected]</code></td>
Chris@1 982 </tr>
Chris@1 983 </table>
Chris@1 984 </div>
Chris@1 985 <div class="memdoc">
Chris@1 986
Chris@1 987 <p>Definition at line <a class="el" href="AmplitudeFollower_8h_source.html#l00079">79</a> of file <a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>.</p>
Chris@1 988
Chris@1 989 <p>Referenced by <a class="el" href="AmplitudeFollower_8cpp_source.html#l00188">getParameter()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00200">process()</a>, and <a class="el" href="AmplitudeFollower_8cpp_source.html#l00179">setParameter()</a>.</p>
Chris@1 990
Chris@1 991 </div>
Chris@1 992 </div>
Chris@3 993 <a class="anchor" id="aceecd3b3879f32eb4a2e597c32c41cfc"></a>
Chris@1 994 <div class="memitem">
Chris@1 995 <div class="memproto">
Chris@1 996 <table class="memname">
Chris@1 997 <tr>
Chris@1 998 <td class="memname">float <a class="el" href="classAmplitudeFollower.html#aceecd3b3879f32eb4a2e597c32c41cfc">AmplitudeFollower::m_relaxcoef</a><code> [protected]</code></td>
Chris@1 999 </tr>
Chris@1 1000 </table>
Chris@1 1001 </div>
Chris@1 1002 <div class="memdoc">
Chris@1 1003
Chris@1 1004 <p>Definition at line <a class="el" href="AmplitudeFollower_8h_source.html#l00080">80</a> of file <a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a>.</p>
Chris@1 1005
Chris@1 1006 <p>Referenced by <a class="el" href="AmplitudeFollower_8cpp_source.html#l00188">getParameter()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00200">process()</a>, and <a class="el" href="AmplitudeFollower_8cpp_source.html#l00179">setParameter()</a>.</p>
Chris@1 1007
Chris@1 1008 </div>
Chris@1 1009 </div>
Chris@3 1010 <a class="anchor" id="a59b9dd82a4f4eb946cd0474cc81abc23"></a>
Chris@1 1011 <div class="memitem">
Chris@1 1012 <div class="memproto">
Chris@1 1013 <table class="memname">
Chris@1 1014 <tr>
Chris@1 1015 <td class="memname">float <a class="el" href="classVamp_1_1Plugin.html#a59b9dd82a4f4eb946cd0474cc81abc23">Vamp::Plugin::m_inputSampleRate</a><code> [protected, inherited]</code></td>
Chris@1 1016 </tr>
Chris@1 1017 </table>
Chris@1 1018 </div>
Chris@1 1019 <div class="memdoc">
Chris@1 1020
Chris@1 1021 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00436">436</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1022
Chris@1 1023 <p>Referenced by <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00481">FixedTempoEstimator::D::assembleFeatures()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00375">FixedTempoEstimator::D::calculate()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00190">FixedTempoEstimator::D::getOutputDescriptors()</a>, <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">initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00252">FixedTempoEstimator::D::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00363">FixedTempoEstimator::D::lag2tempo()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00146">SpectralCentroid::process()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00142">ZeroCrossing::process()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00226">PercussionOnsetDetector::process()</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00369">FixedTempoEstimator::D::tempo2lag()</a>.</p>
Chris@1 1024
Chris@1 1025 </div>
Chris@1 1026 </div>
Chris@1 1027 <hr/>The documentation for this class was generated from the following files:<ul>
Chris@1 1028 <li><a class="el" href="AmplitudeFollower_8h_source.html">AmplitudeFollower.h</a></li>
Chris@1 1029 <li><a class="el" href="AmplitudeFollower_8cpp_source.html">AmplitudeFollower.cpp</a></li>
Chris@1 1030 </ul>
Chris@3 1031 </div><!-- contents -->
Chris@1 1032 </div>
Chris@1 1033 <div id="nav-path" class="navpath">
Chris@1 1034 <ul>
Chris@1 1035 <li class="navelem"><a class="el" href="classAmplitudeFollower.html">AmplitudeFollower</a> </li>
Chris@1 1036
Chris@3 1037 <li class="footer">Generated on Fri Jul 13 2012 13:28:48 for VampPluginSDK by
Chris@1 1038 <a href="http://www.doxygen.org/index.html">
Chris@3 1039 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
Chris@1 1040 </ul>
Chris@1 1041 </div>
Chris@1 1042
Chris@1 1043
Chris@1 1044 </body>
Chris@1 1045 </html>