annotate code-docs/classPercussionOnsetDetector.html @ 1:3c430ef1ed66 vamp-plugin-sdk-v2.3

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