annotate code-docs/classFixedTempoEstimator.html @ 7:66d125fb8b42 tip

Added tag vamp-plugin-sdk-v2.7 for changeset 27319718b1f8
author Chris Cannam
date Fri, 24 Feb 2017 16:45:00 +0000
parents 27319718b1f8
children
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@6 6 <meta name="generator" content="Doxygen 1.8.13"/>
Chris@6 7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
Chris@1 8 <title>VampPluginSDK: FixedTempoEstimator Class Reference</title>
Chris@1 9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
Chris@6 10 <script type="text/javascript" src="jquery.js"></script>
Chris@6 11 <script type="text/javascript" src="dynsections.js"></script>
Chris@1 12 <link href="navtree.css" rel="stylesheet" type="text/css"/>
Chris@1 13 <script type="text/javascript" src="resize.js"></script>
Chris@6 14 <script type="text/javascript" src="navtreedata.js"></script>
Chris@1 15 <script type="text/javascript" src="navtree.js"></script>
Chris@1 16 <script type="text/javascript">
Chris@1 17 $(document).ready(initResizable);
Chris@1 18 </script>
Chris@6 19 <link href="doxygen.css" rel="stylesheet" type="text/css" />
Chris@1 20 </head>
Chris@1 21 <body>
Chris@6 22 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
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@6 27 <td id="projectalign" style="padding-left: 0.5em;">
Chris@1 28 <div id="projectname">VampPluginSDK
Chris@6 29 &#160;<span id="projectnumber">2.7</span>
Chris@1 30 </div>
Chris@1 31 </td>
Chris@1 32 </tr>
Chris@1 33 </tbody>
Chris@1 34 </table>
Chris@1 35 </div>
Chris@6 36 <!-- end header part -->
Chris@6 37 <!-- Generated by Doxygen 1.8.13 -->
Chris@6 38 <script type="text/javascript" src="menudata.js"></script>
Chris@6 39 <script type="text/javascript" src="menu.js"></script>
Chris@6 40 <script type="text/javascript">
Chris@6 41 $(function() {
Chris@6 42 initMenu('',false,false,'search.php','Search');
Chris@6 43 });
Chris@6 44 </script>
Chris@6 45 <div id="main-nav"></div>
Chris@6 46 </div><!-- top -->
Chris@1 47 <div id="side-nav" class="ui-resizable side-nav-resizable">
Chris@1 48 <div id="nav-tree">
Chris@1 49 <div id="nav-tree-contents">
Chris@6 50 <div id="nav-sync" class="sync"></div>
Chris@1 51 </div>
Chris@1 52 </div>
Chris@1 53 <div id="splitbar" style="-moz-user-select:none;"
Chris@1 54 class="ui-resizable-handle">
Chris@1 55 </div>
Chris@1 56 </div>
Chris@1 57 <script type="text/javascript">
Chris@6 58 $(document).ready(function(){initNavTree('classFixedTempoEstimator.html','');});
Chris@1 59 </script>
Chris@1 60 <div id="doc-content">
Chris@1 61 <div class="header">
Chris@1 62 <div class="summary">
Chris@1 63 <a href="#nested-classes">Classes</a> &#124;
Chris@1 64 <a href="#pub-types">Public Types</a> &#124;
Chris@1 65 <a href="#pub-methods">Public Member Functions</a> &#124;
Chris@6 66 <a href="#pro-attribs">Protected Attributes</a> &#124;
Chris@6 67 <a href="classFixedTempoEstimator-members.html">List of all members</a> </div>
Chris@1 68 <div class="headertitle">
Chris@1 69 <div class="title">FixedTempoEstimator Class Reference</div> </div>
Chris@3 70 </div><!--header-->
Chris@1 71 <div class="contents">
Chris@3 72
Chris@1 73 <p>Example plugin that estimates the tempo of a short fixed-tempo sample.
Chris@1 74 <a href="classFixedTempoEstimator.html#details">More...</a></p>
Chris@1 75
Chris@1 76 <p><code>#include &lt;<a class="el" href="FixedTempoEstimator_8h_source.html">FixedTempoEstimator.h</a>&gt;</code></p>
Chris@1 77 <div class="dynheader">
Chris@1 78 Inheritance diagram for FixedTempoEstimator:</div>
Chris@1 79 <div class="dyncontent">
Chris@1 80 <div class="center"><img src="classFixedTempoEstimator__inherit__graph.png" border="0" usemap="#FixedTempoEstimator_inherit__map" alt="Inheritance graph"/></div>
Chris@1 81 <map name="FixedTempoEstimator_inherit__map" id="FixedTempoEstimator_inherit__map">
Chris@6 82 <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="28,79,123,104"/>
Chris@6 83 <area shape="rect" id="node3" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc. " alt="" coords="14,5,137,31"/>
Chris@6 84 </map>
Chris@1 85 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
Chris@1 86 <table class="memberdecls">
Chris@6 87 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Chris@1 88 Classes</h2></td></tr>
Chris@3 89 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator_1_1D.html">D</a></td></tr>
Chris@6 90 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 91 </table><table class="memberdecls">
Chris@6 92 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Chris@1 93 Public Types</h2></td></tr>
Chris@3 94 <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 95 <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
Chris@1 96 }</td></tr>
Chris@6 97 <tr class="separator:a39cb7649d6dcc20e4cb1640cd55907bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 98 <tr class="memitem:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memItemLeft" align="right" valign="top">typedef std::vector&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@6 99 <tr class="separator:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 100 <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@6 101 <tr class="separator:a0730bc72c87fa02eb8d2854b233f7be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 102 <tr class="memitem:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, <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@6 103 <tr class="separator:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 104 <tr class="memitem:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memItemLeft" align="right" valign="top">typedef std::vector&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@6 105 <tr class="separator:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 106 <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@6 107 <tr class="separator:a7f66f00437b21e5f694fe02356b12f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 108 </table><table class="memberdecls">
Chris@6 109 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Chris@1 110 Public Member Functions</h2></td></tr>
Chris@3 111 <tr class="memitem:a3967c189f054f864639837c2519bd64d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a3967c189f054f864639837c2519bd64d">FixedTempoEstimator</a> (float inputSampleRate)</td></tr>
Chris@6 112 <tr class="separator:a3967c189f054f864639837c2519bd64d"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 113 <tr class="memitem:a0302c4bfdc163a3d34478cde93c96a53"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a0302c4bfdc163a3d34478cde93c96a53">~FixedTempoEstimator</a> ()</td></tr>
Chris@6 114 <tr class="separator:a0302c4bfdc163a3d34478cde93c96a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 115 <tr class="memitem:aa7500a4ffbc4653baaf5101defdb37f5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#aa7500a4ffbc4653baaf5101defdb37f5">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
Chris@6 116 <tr class="memdesc:aa7500a4ffbc4653baaf5101defdb37f5"><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="#aa7500a4ffbc4653baaf5101defdb37f5">More...</a><br /></td></tr>
Chris@6 117 <tr class="separator:aa7500a4ffbc4653baaf5101defdb37f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 118 <tr class="memitem:ac41708397255400c6682fee6c1b3d45f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#ac41708397255400c6682fee6c1b3d45f">reset</a> ()</td></tr>
Chris@6 119 <tr class="memdesc:ac41708397255400c6682fee6c1b3d45f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#ac41708397255400c6682fee6c1b3d45f">More...</a><br /></td></tr>
Chris@6 120 <tr class="separator:ac41708397255400c6682fee6c1b3d45f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 121 <tr class="memitem:a7da277b8bf01708e2e7817ee5f4afce6"><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="classFixedTempoEstimator.html#a7da277b8bf01708e2e7817ee5f4afce6">getInputDomain</a> () const</td></tr>
Chris@6 122 <tr class="memdesc:a7da277b8bf01708e2e7817ee5f4afce6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the plugin's required input domain. <a href="#a7da277b8bf01708e2e7817ee5f4afce6">More...</a><br /></td></tr>
Chris@6 123 <tr class="separator:a7da277b8bf01708e2e7817ee5f4afce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 124 <tr class="memitem:a149f40bbccc3cf3bc05f35e32e6cedac"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a149f40bbccc3cf3bc05f35e32e6cedac">getIdentifier</a> () const</td></tr>
Chris@6 125 <tr class="memdesc:a149f40bbccc3cf3bc05f35e32e6cedac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#a149f40bbccc3cf3bc05f35e32e6cedac">More...</a><br /></td></tr>
Chris@6 126 <tr class="separator:a149f40bbccc3cf3bc05f35e32e6cedac"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 127 <tr class="memitem:aad3f044387fb8fd4dbadca8f397dd798"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#aad3f044387fb8fd4dbadca8f397dd798">getName</a> () const</td></tr>
Chris@6 128 <tr class="memdesc:aad3f044387fb8fd4dbadca8f397dd798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#aad3f044387fb8fd4dbadca8f397dd798">More...</a><br /></td></tr>
Chris@6 129 <tr class="separator:aad3f044387fb8fd4dbadca8f397dd798"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 130 <tr class="memitem:a4e48cbf0eedb001c0824db864ee4d942"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a4e48cbf0eedb001c0824db864ee4d942">getDescription</a> () const</td></tr>
Chris@6 131 <tr class="memdesc:a4e48cbf0eedb001c0824db864ee4d942"><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="#a4e48cbf0eedb001c0824db864ee4d942">More...</a><br /></td></tr>
Chris@6 132 <tr class="separator:a4e48cbf0eedb001c0824db864ee4d942"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 133 <tr class="memitem:a5ade364056e5ff7c3e2978d9a75a2988"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a5ade364056e5ff7c3e2978d9a75a2988">getMaker</a> () const</td></tr>
Chris@6 134 <tr class="memdesc:a5ade364056e5ff7c3e2978d9a75a2988"><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="#a5ade364056e5ff7c3e2978d9a75a2988">More...</a><br /></td></tr>
Chris@6 135 <tr class="separator:a5ade364056e5ff7c3e2978d9a75a2988"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 136 <tr class="memitem:a243f85a07ef5236e5c547a183969e0d2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a243f85a07ef5236e5c547a183969e0d2">getPluginVersion</a> () const</td></tr>
Chris@6 137 <tr class="memdesc:a243f85a07ef5236e5c547a183969e0d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version number of the plugin. <a href="#a243f85a07ef5236e5c547a183969e0d2">More...</a><br /></td></tr>
Chris@6 138 <tr class="separator:a243f85a07ef5236e5c547a183969e0d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 139 <tr class="memitem:a3bcf5f3d231454792d9abef114ad21b6"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a3bcf5f3d231454792d9abef114ad21b6">getCopyright</a> () const</td></tr>
Chris@6 140 <tr class="memdesc:a3bcf5f3d231454792d9abef114ad21b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#a3bcf5f3d231454792d9abef114ad21b6">More...</a><br /></td></tr>
Chris@6 141 <tr class="separator:a3bcf5f3d231454792d9abef114ad21b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 142 <tr class="memitem:ac7c25bbeeef013210f4ab808ad12b659"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#ac7c25bbeeef013210f4ab808ad12b659">getPreferredStepSize</a> () const</td></tr>
Chris@6 143 <tr class="memdesc:ac7c25bbeeef013210f4ab808ad12b659"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred step size (window increment &ndash; the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" title="Process a single block of input data. ">process()</a> function) for the plugin. <a href="#ac7c25bbeeef013210f4ab808ad12b659">More...</a><br /></td></tr>
Chris@6 144 <tr class="separator:ac7c25bbeeef013210f4ab808ad12b659"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 145 <tr class="memitem:a9a2706b057bb269531f5c2797c42ddf4"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a9a2706b057bb269531f5c2797c42ddf4">getPreferredBlockSize</a> () const</td></tr>
Chris@6 146 <tr class="memdesc:a9a2706b057bb269531f5c2797c42ddf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred block size (window size &ndash; the number of sample frames passed in each block to the <a class="el" href="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" title="Process a single block of input data. ">process()</a> function). <a href="#a9a2706b057bb269531f5c2797c42ddf4">More...</a><br /></td></tr>
Chris@6 147 <tr class="separator:a9a2706b057bb269531f5c2797c42ddf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 148 <tr class="memitem:a4d5edffcea6c8757e0c077913b098aea"><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="classFixedTempoEstimator.html#a4d5edffcea6c8757e0c077913b098aea">getParameterDescriptors</a> () const</td></tr>
Chris@6 149 <tr class="memdesc:a4d5edffcea6c8757e0c077913b098aea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#a4d5edffcea6c8757e0c077913b098aea">More...</a><br /></td></tr>
Chris@6 150 <tr class="separator:a4d5edffcea6c8757e0c077913b098aea"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 151 <tr class="memitem:ae988b4015672a73914e83c1589952752"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#ae988b4015672a73914e83c1589952752">getParameter</a> (std::string id) const</td></tr>
Chris@6 152 <tr class="memdesc:ae988b4015672a73914e83c1589952752"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of a named parameter. <a href="#ae988b4015672a73914e83c1589952752">More...</a><br /></td></tr>
Chris@6 153 <tr class="separator:ae988b4015672a73914e83c1589952752"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 154 <tr class="memitem:a8a5a413025384cf451c64d2c2ce13a75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a8a5a413025384cf451c64d2c2ce13a75">setParameter</a> (std::string id, float value)</td></tr>
Chris@6 155 <tr class="memdesc:a8a5a413025384cf451c64d2c2ce13a75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a named parameter. <a href="#a8a5a413025384cf451c64d2c2ce13a75">More...</a><br /></td></tr>
Chris@6 156 <tr class="separator:a8a5a413025384cf451c64d2c2ce13a75"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 157 <tr class="memitem:af8d3aaa1025078a6ee004f615cc68cbb"><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="classFixedTempoEstimator.html#af8d3aaa1025078a6ee004f615cc68cbb">getOutputDescriptors</a> () const</td></tr>
Chris@6 158 <tr class="memdesc:af8d3aaa1025078a6ee004f615cc68cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the outputs of this plugin. <a href="#af8d3aaa1025078a6ee004f615cc68cbb">More...</a><br /></td></tr>
Chris@6 159 <tr class="separator:af8d3aaa1025078a6ee004f615cc68cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 160 <tr class="memitem:a1cf76b0e55cf4ed3da095cffcdeaec3c"><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="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">Vamp::RealTime</a> timestamp)</td></tr>
Chris@6 161 <tr class="memdesc:a1cf76b0e55cf4ed3da095cffcdeaec3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single block of input data. <a href="#a1cf76b0e55cf4ed3da095cffcdeaec3c">More...</a><br /></td></tr>
Chris@6 162 <tr class="separator:a1cf76b0e55cf4ed3da095cffcdeaec3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 163 <tr class="memitem:a4965cf99be77fc4d1de51e11d83936b0"><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="classFixedTempoEstimator.html#a4965cf99be77fc4d1de51e11d83936b0">getRemainingFeatures</a> ()</td></tr>
Chris@6 164 <tr class="memdesc:a4965cf99be77fc4d1de51e11d83936b0"><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="#a4965cf99be77fc4d1de51e11d83936b0">More...</a><br /></td></tr>
Chris@6 165 <tr class="separator:a4965cf99be77fc4d1de51e11d83936b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 166 <tr class="memitem:ab74f7634c6ac6e3da115667808a79c30"><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#ab74f7634c6ac6e3da115667808a79c30">getMinChannelCount</a> () const</td></tr>
Chris@6 167 <tr class="memdesc:ab74f7634c6ac6e3da115667808a79c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#ab74f7634c6ac6e3da115667808a79c30">More...</a><br /></td></tr>
Chris@6 168 <tr class="separator:ab74f7634c6ac6e3da115667808a79c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 169 <tr class="memitem:a0bff9464bc8c117470136c396b2405dd"><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#a0bff9464bc8c117470136c396b2405dd">getMaxChannelCount</a> () const</td></tr>
Chris@6 170 <tr class="memdesc:a0bff9464bc8c117470136c396b2405dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#a0bff9464bc8c117470136c396b2405dd">More...</a><br /></td></tr>
Chris@6 171 <tr class="separator:a0bff9464bc8c117470136c396b2405dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 172 <tr class="memitem:a530123068767a8728c568ffccfe3e4e5"><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#a530123068767a8728c568ffccfe3e4e5">getType</a> () const</td></tr>
Chris@6 173 <tr class="memdesc:a530123068767a8728c568ffccfe3e4e5"><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="#a530123068767a8728c568ffccfe3e4e5">More...</a><br /></td></tr>
Chris@6 174 <tr class="separator:a530123068767a8728c568ffccfe3e4e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 175 <tr class="memitem:ab4aa9c3e6f6dd9addbc095463c9fb772"><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#ab4aa9c3e6f6dd9addbc095463c9fb772">getVampApiVersion</a> () const</td></tr>
Chris@6 176 <tr class="memdesc:ab4aa9c3e6f6dd9addbc095463c9fb772"><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="#ab4aa9c3e6f6dd9addbc095463c9fb772">More...</a><br /></td></tr>
Chris@6 177 <tr class="separator:ab4aa9c3e6f6dd9addbc095463c9fb772"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 178 <tr class="memitem:aaf6febff0ab4daf4a5089c98a67f4df8"><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#aaf6febff0ab4daf4a5089c98a67f4df8">getPrograms</a> () const</td></tr>
Chris@6 179 <tr class="memdesc:aaf6febff0ab4daf4a5089c98a67f4df8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the program settings available in this plugin. <a href="#aaf6febff0ab4daf4a5089c98a67f4df8">More...</a><br /></td></tr>
Chris@6 180 <tr class="separator:aaf6febff0ab4daf4a5089c98a67f4df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 181 <tr class="memitem:aac38c5dc6e87208616122897518ca3d5"><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#aac38c5dc6e87208616122897518ca3d5">getCurrentProgram</a> () const</td></tr>
Chris@6 182 <tr class="memdesc:aac38c5dc6e87208616122897518ca3d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current program. <a href="#aac38c5dc6e87208616122897518ca3d5">More...</a><br /></td></tr>
Chris@6 183 <tr class="separator:aac38c5dc6e87208616122897518ca3d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 184 <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@6 185 <tr class="memdesc:aadd3a547ef140bae200473a9518e3353"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a program. <a href="#aadd3a547ef140bae200473a9518e3353">More...</a><br /></td></tr>
Chris@6 186 <tr class="separator:aadd3a547ef140bae200473a9518e3353"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 187 </table><table class="memberdecls">
Chris@6 188 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Chris@1 189 Protected Attributes</h2></td></tr>
Chris@3 190 <tr class="memitem:a5e1c9abaf33e9f48eb7d3b48f8af3308"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFixedTempoEstimator_1_1D.html">D</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFixedTempoEstimator.html#a5e1c9abaf33e9f48eb7d3b48f8af3308">m_d</a></td></tr>
Chris@6 191 <tr class="separator:a5e1c9abaf33e9f48eb7d3b48f8af3308"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 192 <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@6 193 <tr class="separator:a59b9dd82a4f4eb946cd0474cc81abc23"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@1 194 </table>
Chris@6 195 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
Chris@1 196 <div class="textblock"><p>Example plugin that estimates the tempo of a short fixed-tempo sample. </p>
Chris@1 197
Chris@6 198 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8h_source.html#l00046">46</a> of file <a class="el" href="FixedTempoEstimator_8h_source.html">FixedTempoEstimator.h</a>.</p>
Chris@6 199 </div><h2 class="groupheader">Member Typedef Documentation</h2>
Chris@6 200 <a id="a30f531b8fb69fac41a24e3d2a6a08ed9"></a>
Chris@6 201 <h2 class="memtitle"><span class="permalink"><a href="#a30f531b8fb69fac41a24e3d2a6a08ed9">&#9670;&nbsp;</a></span>OutputList</h2>
Chris@6 202
Chris@6 203 <div class="memitem">
Chris@6 204 <div class="memproto">
Chris@6 205 <table class="mlabels">
Chris@6 206 <tr>
Chris@6 207 <td class="mlabels-left">
Chris@6 208 <table class="memname">
Chris@6 209 <tr>
Chris@6 210 <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></td>
Chris@6 211 </tr>
Chris@6 212 </table>
Chris@6 213 </td>
Chris@6 214 <td class="mlabels-right">
Chris@6 215 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 216 </tr>
Chris@6 217 </table>
Chris@6 218 </div><div class="memdoc">
Chris@6 219
Chris@6 220 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00335">335</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@6 221
Chris@6 222 </div>
Chris@6 223 </div>
Chris@6 224 <a id="a0730bc72c87fa02eb8d2854b233f7be1"></a>
Chris@6 225 <h2 class="memtitle"><span class="permalink"><a href="#a0730bc72c87fa02eb8d2854b233f7be1">&#9670;&nbsp;</a></span>FeatureList</h2>
Chris@6 226
Chris@6 227 <div class="memitem">
Chris@6 228 <div class="memproto">
Chris@6 229 <table class="mlabels">
Chris@6 230 <tr>
Chris@6 231 <td class="mlabels-left">
Chris@6 232 <table class="memname">
Chris@6 233 <tr>
Chris@6 234 <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></td>
Chris@6 235 </tr>
Chris@6 236 </table>
Chris@6 237 </td>
Chris@6 238 <td class="mlabels-right">
Chris@6 239 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 240 </tr>
Chris@6 241 </table>
Chris@6 242 </div><div class="memdoc">
Chris@6 243
Chris@6 244 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00393">393</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@6 245
Chris@6 246 </div>
Chris@6 247 </div>
Chris@6 248 <a id="a448fb57dc245d47923ec9eeaf9856c5f"></a>
Chris@6 249 <h2 class="memtitle"><span class="permalink"><a href="#a448fb57dc245d47923ec9eeaf9856c5f">&#9670;&nbsp;</a></span>FeatureSet</h2>
Chris@6 250
Chris@6 251 <div class="memitem">
Chris@6 252 <div class="memproto">
Chris@6 253 <table class="mlabels">
Chris@6 254 <tr>
Chris@6 255 <td class="mlabels-left">
Chris@6 256 <table class="memname">
Chris@6 257 <tr>
Chris@6 258 <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></td>
Chris@6 259 </tr>
Chris@6 260 </table>
Chris@6 261 </td>
Chris@6 262 <td class="mlabels-right">
Chris@6 263 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 264 </tr>
Chris@6 265 </table>
Chris@6 266 </div><div class="memdoc">
Chris@6 267
Chris@6 268 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00395">395</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@6 269
Chris@6 270 </div>
Chris@6 271 </div>
Chris@6 272 <a id="a3b6bb4bbd86affe1ca9deceea1aad4f8"></a>
Chris@6 273 <h2 class="memtitle"><span class="permalink"><a href="#a3b6bb4bbd86affe1ca9deceea1aad4f8">&#9670;&nbsp;</a></span>ParameterList</h2>
Chris@6 274
Chris@6 275 <div class="memitem">
Chris@6 276 <div class="memproto">
Chris@6 277 <table class="mlabels">
Chris@6 278 <tr>
Chris@6 279 <td class="mlabels-left">
Chris@6 280 <table class="memname">
Chris@6 281 <tr>
Chris@6 282 <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></td>
Chris@6 283 </tr>
Chris@6 284 </table>
Chris@6 285 </td>
Chris@6 286 <td class="mlabels-right">
Chris@6 287 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 288 </tr>
Chris@6 289 </table>
Chris@6 290 </div><div class="memdoc">
Chris@6 291
Chris@6 292 <p class="definition">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@6 293
Chris@6 294 </div>
Chris@6 295 </div>
Chris@6 296 <a id="a7f66f00437b21e5f694fe02356b12f20"></a>
Chris@6 297 <h2 class="memtitle"><span class="permalink"><a href="#a7f66f00437b21e5f694fe02356b12f20">&#9670;&nbsp;</a></span>ProgramList</h2>
Chris@6 298
Chris@6 299 <div class="memitem">
Chris@6 300 <div class="memproto">
Chris@6 301 <table class="mlabels">
Chris@6 302 <tr>
Chris@6 303 <td class="mlabels-left">
Chris@6 304 <table class="memname">
Chris@6 305 <tr>
Chris@6 306 <td class="memname">typedef std::vector&lt;std::string&gt; <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a></td>
Chris@6 307 </tr>
Chris@6 308 </table>
Chris@6 309 </td>
Chris@6 310 <td class="mlabels-right">
Chris@6 311 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 312 </tr>
Chris@6 313 </table>
Chris@6 314 </div><div class="memdoc">
Chris@6 315
Chris@6 316 <p class="definition">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@6 317
Chris@6 318 </div>
Chris@6 319 </div>
Chris@6 320 <h2 class="groupheader">Member Enumeration Documentation</h2>
Chris@6 321 <a id="a39cb7649d6dcc20e4cb1640cd55907bc"></a>
Chris@6 322 <h2 class="memtitle"><span class="permalink"><a href="#a39cb7649d6dcc20e4cb1640cd55907bc">&#9670;&nbsp;</a></span>InputDomain</h2>
Chris@6 323
Chris@6 324 <div class="memitem">
Chris@6 325 <div class="memproto">
Chris@6 326 <table class="mlabels">
Chris@6 327 <tr>
Chris@6 328 <td class="mlabels-left">
Chris@6 329 <table class="memname">
Chris@6 330 <tr>
Chris@6 331 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a></td>
Chris@6 332 </tr>
Chris@6 333 </table>
Chris@6 334 </td>
Chris@6 335 <td class="mlabels-right">
Chris@6 336 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 337 </tr>
Chris@6 338 </table>
Chris@6 339 </div><div class="memdoc">
Chris@6 340 <table class="fieldtable">
Chris@6 341 <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff"></a>TimeDomain&#160;</td><td class="fielddoc"></td></tr>
Chris@6 342 <tr><td class="fieldname"><a id="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53"></a>FrequencyDomain&#160;</td><td class="fielddoc"></td></tr>
Chris@6 343 </table>
Chris@6 344
Chris@6 345 <p class="definition">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@6 346
Chris@6 347 </div>
Chris@6 348 </div>
Chris@6 349 <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
Chris@6 350 <a id="a3967c189f054f864639837c2519bd64d"></a>
Chris@6 351 <h2 class="memtitle"><span class="permalink"><a href="#a3967c189f054f864639837c2519bd64d">&#9670;&nbsp;</a></span>FixedTempoEstimator()</h2>
Chris@6 352
Chris@1 353 <div class="memitem">
Chris@1 354 <div class="memproto">
Chris@1 355 <table class="memname">
Chris@1 356 <tr>
Chris@6 357 <td class="memname">FixedTempoEstimator::FixedTempoEstimator </td>
Chris@1 358 <td>(</td>
Chris@1 359 <td class="paramtype">float&#160;</td>
Chris@1 360 <td class="paramname"><em>inputSampleRate</em></td><td>)</td>
Chris@1 361 <td></td>
Chris@1 362 </tr>
Chris@1 363 </table>
Chris@6 364 </div><div class="memdoc">
Chris@1 365
Chris@6 366 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00617">617</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 367
Chris@1 368 </div>
Chris@1 369 </div>
Chris@6 370 <a id="a0302c4bfdc163a3d34478cde93c96a53"></a>
Chris@6 371 <h2 class="memtitle"><span class="permalink"><a href="#a0302c4bfdc163a3d34478cde93c96a53">&#9670;&nbsp;</a></span>~FixedTempoEstimator()</h2>
Chris@6 372
Chris@1 373 <div class="memitem">
Chris@1 374 <div class="memproto">
Chris@6 375 <table class="mlabels">
Chris@6 376 <tr>
Chris@6 377 <td class="mlabels-left">
Chris@1 378 <table class="memname">
Chris@1 379 <tr>
Chris@6 380 <td class="memname">FixedTempoEstimator::~FixedTempoEstimator </td>
Chris@1 381 <td>(</td>
Chris@1 382 <td class="paramname"></td><td>)</td>
Chris@6 383 <td></td>
Chris@1 384 </tr>
Chris@1 385 </table>
Chris@6 386 </td>
Chris@6 387 <td class="mlabels-right">
Chris@6 388 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 389 </tr>
Chris@6 390 </table>
Chris@6 391 </div><div class="memdoc">
Chris@1 392
Chris@6 393 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00623">623</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 394
Chris@6 395 <p class="reference">References <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@1 396
Chris@1 397 </div>
Chris@1 398 </div>
Chris@6 399 <h2 class="groupheader">Member Function Documentation</h2>
Chris@6 400 <a id="aa7500a4ffbc4653baaf5101defdb37f5"></a>
Chris@6 401 <h2 class="memtitle"><span class="permalink"><a href="#aa7500a4ffbc4653baaf5101defdb37f5">&#9670;&nbsp;</a></span>initialise()</h2>
Chris@6 402
Chris@1 403 <div class="memitem">
Chris@1 404 <div class="memproto">
Chris@6 405 <table class="mlabels">
Chris@6 406 <tr>
Chris@6 407 <td class="mlabels-left">
Chris@1 408 <table class="memname">
Chris@1 409 <tr>
Chris@6 410 <td class="memname">bool FixedTempoEstimator::initialise </td>
Chris@1 411 <td>(</td>
Chris@1 412 <td class="paramtype">size_t&#160;</td>
Chris@1 413 <td class="paramname"><em>inputChannels</em>, </td>
Chris@1 414 </tr>
Chris@1 415 <tr>
Chris@1 416 <td class="paramkey"></td>
Chris@1 417 <td></td>
Chris@1 418 <td class="paramtype">size_t&#160;</td>
Chris@1 419 <td class="paramname"><em>stepSize</em>, </td>
Chris@1 420 </tr>
Chris@1 421 <tr>
Chris@1 422 <td class="paramkey"></td>
Chris@1 423 <td></td>
Chris@1 424 <td class="paramtype">size_t&#160;</td>
Chris@1 425 <td class="paramname"><em>blockSize</em>&#160;</td>
Chris@1 426 </tr>
Chris@1 427 <tr>
Chris@1 428 <td></td>
Chris@1 429 <td>)</td>
Chris@6 430 <td></td><td></td>
Chris@1 431 </tr>
Chris@1 432 </table>
Chris@6 433 </td>
Chris@6 434 <td class="mlabels-right">
Chris@6 435 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 436 </tr>
Chris@6 437 </table>
Chris@6 438 </div><div class="memdoc">
Chris@1 439
Chris@1 440 <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 441 <p>The input sample rate should have been already specified at construction time.</p>
Chris@1 442 <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 443
Chris@1 444 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#af26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p>
Chris@1 445
Chris@6 446 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00677">677</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 447
Chris@6 448 <p class="reference">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="FixedTempoEstimator_8cpp_source.html#l00252">FixedTempoEstimator::D::initialise()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@1 449
Chris@1 450 </div>
Chris@1 451 </div>
Chris@6 452 <a id="ac41708397255400c6682fee6c1b3d45f"></a>
Chris@6 453 <h2 class="memtitle"><span class="permalink"><a href="#ac41708397255400c6682fee6c1b3d45f">&#9670;&nbsp;</a></span>reset()</h2>
Chris@6 454
Chris@1 455 <div class="memitem">
Chris@1 456 <div class="memproto">
Chris@6 457 <table class="mlabels">
Chris@6 458 <tr>
Chris@6 459 <td class="mlabels-left">
Chris@1 460 <table class="memname">
Chris@1 461 <tr>
Chris@6 462 <td class="memname">void FixedTempoEstimator::reset </td>
Chris@1 463 <td>(</td>
Chris@1 464 <td class="paramname"></td><td>)</td>
Chris@6 465 <td></td>
Chris@1 466 </tr>
Chris@1 467 </table>
Chris@6 468 </td>
Chris@6 469 <td class="mlabels-right">
Chris@6 470 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 471 </tr>
Chris@6 472 </table>
Chris@6 473 </div><div class="memdoc">
Chris@1 474
Chris@1 475 <p>Reset the plugin after use, to prepare it for another clean run. </p>
Chris@1 476 <p>Not called for the first initialisation (i.e. initialise must also do a reset). </p>
Chris@1 477
Chris@1 478 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
Chris@1 479
Chris@6 480 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00686">686</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 481
Chris@6 482 <p class="reference">References <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00276">FixedTempoEstimator::D::reset()</a>.</p>
Chris@1 483
Chris@1 484 </div>
Chris@1 485 </div>
Chris@6 486 <a id="a7da277b8bf01708e2e7817ee5f4afce6"></a>
Chris@6 487 <h2 class="memtitle"><span class="permalink"><a href="#a7da277b8bf01708e2e7817ee5f4afce6">&#9670;&nbsp;</a></span>getInputDomain()</h2>
Chris@6 488
Chris@1 489 <div class="memitem">
Chris@1 490 <div class="memproto">
Chris@6 491 <table class="mlabels">
Chris@6 492 <tr>
Chris@6 493 <td class="mlabels-left">
Chris@1 494 <table class="memname">
Chris@1 495 <tr>
Chris@6 496 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> FixedTempoEstimator::getInputDomain </td>
Chris@1 497 <td>(</td>
Chris@1 498 <td class="paramname"></td><td>)</td>
Chris@6 499 <td> const</td>
Chris@1 500 </tr>
Chris@1 501 </table>
Chris@6 502 </td>
Chris@6 503 <td class="mlabels-right">
Chris@6 504 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
Chris@6 505 </tr>
Chris@6 506 </table>
Chris@6 507 </div><div class="memdoc">
Chris@1 508
Chris@1 509 <p>Get the plugin's required input domain. </p>
Chris@6 510 <p>If this is TimeDomain, the samples provided to the <a class="el" href="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" 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@6 511 <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="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" 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 &ndash; the host will either let the user do so, or will use a Hanning window. </p>
Chris@1 512
Chris@1 513 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
Chris@1 514
Chris@6 515 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">55</a> of file <a class="el" href="FixedTempoEstimator_8h_source.html">FixedTempoEstimator.h</a>.</p>
Chris@1 516
Chris@6 517 <p class="reference">References <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00152">Vamp::Plugin::FrequencyDomain</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00659">getCopyright()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00641">getDescription()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00629">getIdentifier()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00647">getMaker()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00635">getName()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00710">getOutputDescriptors()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00698">getParameter()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00692">getParameterDescriptors()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00653">getPluginVersion()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00671">getPreferredBlockSize()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00665">getPreferredStepSize()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00722">getRemainingFeatures()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00716">process()</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00704">setParameter()</a>.</p>
Chris@1 518
Chris@1 519 </div>
Chris@1 520 </div>
Chris@6 521 <a id="a149f40bbccc3cf3bc05f35e32e6cedac"></a>
Chris@6 522 <h2 class="memtitle"><span class="permalink"><a href="#a149f40bbccc3cf3bc05f35e32e6cedac">&#9670;&nbsp;</a></span>getIdentifier()</h2>
Chris@6 523
Chris@1 524 <div class="memitem">
Chris@1 525 <div class="memproto">
Chris@6 526 <table class="mlabels">
Chris@6 527 <tr>
Chris@6 528 <td class="mlabels-left">
Chris@1 529 <table class="memname">
Chris@1 530 <tr>
Chris@6 531 <td class="memname">string FixedTempoEstimator::getIdentifier </td>
Chris@1 532 <td>(</td>
Chris@1 533 <td class="paramname"></td><td>)</td>
Chris@6 534 <td> const</td>
Chris@1 535 </tr>
Chris@1 536 </table>
Chris@6 537 </td>
Chris@6 538 <td class="mlabels-right">
Chris@6 539 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 540 </tr>
Chris@6 541 </table>
Chris@6 542 </div><div class="memdoc">
Chris@1 543
Chris@1 544 <p>Get the computer-usable name of the plugin. </p>
Chris@1 545 <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 546 <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 547 <p>Example: "zero_crossings" </p>
Chris@1 548
Chris@1 549 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ad1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
Chris@1 550
Chris@6 551 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00629">629</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@6 552
Chris@6 553 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 554
Chris@1 555 </div>
Chris@1 556 </div>
Chris@6 557 <a id="aad3f044387fb8fd4dbadca8f397dd798"></a>
Chris@6 558 <h2 class="memtitle"><span class="permalink"><a href="#aad3f044387fb8fd4dbadca8f397dd798">&#9670;&nbsp;</a></span>getName()</h2>
Chris@6 559
Chris@1 560 <div class="memitem">
Chris@1 561 <div class="memproto">
Chris@6 562 <table class="mlabels">
Chris@6 563 <tr>
Chris@6 564 <td class="mlabels-left">
Chris@1 565 <table class="memname">
Chris@1 566 <tr>
Chris@6 567 <td class="memname">string FixedTempoEstimator::getName </td>
Chris@1 568 <td>(</td>
Chris@1 569 <td class="paramname"></td><td>)</td>
Chris@6 570 <td> const</td>
Chris@1 571 </tr>
Chris@1 572 </table>
Chris@6 573 </td>
Chris@6 574 <td class="mlabels-right">
Chris@6 575 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 576 </tr>
Chris@6 577 </table>
Chris@6 578 </div><div class="memdoc">
Chris@1 579
Chris@1 580 <p>Get a human-readable name or title of the plugin. </p>
Chris@1 581 <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 582 <p>Example: "Zero Crossings" </p>
Chris@1 583
Chris@1 584 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
Chris@1 585
Chris@6 586 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00635">635</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@6 587
Chris@6 588 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 589
Chris@1 590 </div>
Chris@1 591 </div>
Chris@6 592 <a id="a4e48cbf0eedb001c0824db864ee4d942"></a>
Chris@6 593 <h2 class="memtitle"><span class="permalink"><a href="#a4e48cbf0eedb001c0824db864ee4d942">&#9670;&nbsp;</a></span>getDescription()</h2>
Chris@6 594
Chris@1 595 <div class="memitem">
Chris@1 596 <div class="memproto">
Chris@6 597 <table class="mlabels">
Chris@6 598 <tr>
Chris@6 599 <td class="mlabels-left">
Chris@1 600 <table class="memname">
Chris@1 601 <tr>
Chris@6 602 <td class="memname">string FixedTempoEstimator::getDescription </td>
Chris@1 603 <td>(</td>
Chris@1 604 <td class="paramname"></td><td>)</td>
Chris@6 605 <td> const</td>
Chris@1 606 </tr>
Chris@1 607 </table>
Chris@6 608 </td>
Chris@6 609 <td class="mlabels-right">
Chris@6 610 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 611 </tr>
Chris@6 612 </table>
Chris@6 613 </div><div class="memdoc">
Chris@1 614
Chris@1 615 <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 616 <p>May be empty if the name has said it all already.</p>
Chris@1 617 <p>Example: "Detect and count zero crossing points" </p>
Chris@1 618
Chris@1 619 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
Chris@1 620
Chris@6 621 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00641">641</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@6 622
Chris@6 623 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 624
Chris@1 625 </div>
Chris@1 626 </div>
Chris@6 627 <a id="a5ade364056e5ff7c3e2978d9a75a2988"></a>
Chris@6 628 <h2 class="memtitle"><span class="permalink"><a href="#a5ade364056e5ff7c3e2978d9a75a2988">&#9670;&nbsp;</a></span>getMaker()</h2>
Chris@6 629
Chris@1 630 <div class="memitem">
Chris@1 631 <div class="memproto">
Chris@6 632 <table class="mlabels">
Chris@6 633 <tr>
Chris@6 634 <td class="mlabels-left">
Chris@1 635 <table class="memname">
Chris@1 636 <tr>
Chris@6 637 <td class="memname">string FixedTempoEstimator::getMaker </td>
Chris@1 638 <td>(</td>
Chris@1 639 <td class="paramname"></td><td>)</td>
Chris@6 640 <td> const</td>
Chris@1 641 </tr>
Chris@1 642 </table>
Chris@6 643 </td>
Chris@6 644 <td class="mlabels-right">
Chris@6 645 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 646 </tr>
Chris@6 647 </table>
Chris@6 648 </div><div class="memdoc">
Chris@1 649
Chris@1 650 <p>Get the name of the author or vendor of the plugin in human-readable form. </p>
Chris@1 651 <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 652
Chris@1 653 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
Chris@1 654
Chris@6 655 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00647">647</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@6 656
Chris@6 657 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 658
Chris@1 659 </div>
Chris@1 660 </div>
Chris@6 661 <a id="a243f85a07ef5236e5c547a183969e0d2"></a>
Chris@6 662 <h2 class="memtitle"><span class="permalink"><a href="#a243f85a07ef5236e5c547a183969e0d2">&#9670;&nbsp;</a></span>getPluginVersion()</h2>
Chris@6 663
Chris@1 664 <div class="memitem">
Chris@1 665 <div class="memproto">
Chris@6 666 <table class="mlabels">
Chris@6 667 <tr>
Chris@6 668 <td class="mlabels-left">
Chris@1 669 <table class="memname">
Chris@1 670 <tr>
Chris@6 671 <td class="memname">int FixedTempoEstimator::getPluginVersion </td>
Chris@1 672 <td>(</td>
Chris@1 673 <td class="paramname"></td><td>)</td>
Chris@6 674 <td> const</td>
Chris@1 675 </tr>
Chris@1 676 </table>
Chris@6 677 </td>
Chris@6 678 <td class="mlabels-right">
Chris@6 679 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 680 </tr>
Chris@6 681 </table>
Chris@6 682 </div><div class="memdoc">
Chris@1 683
Chris@1 684 <p>Get the version number of the plugin. </p>
Chris@1 685
Chris@1 686 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
Chris@1 687
Chris@6 688 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00653">653</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@6 689
Chris@6 690 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 691
Chris@1 692 </div>
Chris@1 693 </div>
Chris@6 694 <a id="a3bcf5f3d231454792d9abef114ad21b6"></a>
Chris@6 695 <h2 class="memtitle"><span class="permalink"><a href="#a3bcf5f3d231454792d9abef114ad21b6">&#9670;&nbsp;</a></span>getCopyright()</h2>
Chris@6 696
Chris@1 697 <div class="memitem">
Chris@1 698 <div class="memproto">
Chris@6 699 <table class="mlabels">
Chris@6 700 <tr>
Chris@6 701 <td class="mlabels-left">
Chris@1 702 <table class="memname">
Chris@1 703 <tr>
Chris@6 704 <td class="memname">string FixedTempoEstimator::getCopyright </td>
Chris@1 705 <td>(</td>
Chris@1 706 <td class="paramname"></td><td>)</td>
Chris@6 707 <td> const</td>
Chris@1 708 </tr>
Chris@1 709 </table>
Chris@6 710 </td>
Chris@6 711 <td class="mlabels-right">
Chris@6 712 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 713 </tr>
Chris@6 714 </table>
Chris@6 715 </div><div class="memdoc">
Chris@1 716
Chris@1 717 <p>Get the copyright statement or licensing summary for the plugin. </p>
Chris@1 718 <p>This can be an informative text, without the same presentation constraints as mentioned for getMaker above. </p>
Chris@1 719
Chris@1 720 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ab7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
Chris@1 721
Chris@6 722 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00659">659</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@6 723
Chris@6 724 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 725
Chris@1 726 </div>
Chris@1 727 </div>
Chris@6 728 <a id="ac7c25bbeeef013210f4ab808ad12b659"></a>
Chris@6 729 <h2 class="memtitle"><span class="permalink"><a href="#ac7c25bbeeef013210f4ab808ad12b659">&#9670;&nbsp;</a></span>getPreferredStepSize()</h2>
Chris@6 730
Chris@1 731 <div class="memitem">
Chris@1 732 <div class="memproto">
Chris@6 733 <table class="mlabels">
Chris@6 734 <tr>
Chris@6 735 <td class="mlabels-left">
Chris@1 736 <table class="memname">
Chris@1 737 <tr>
Chris@6 738 <td class="memname">size_t FixedTempoEstimator::getPreferredStepSize </td>
Chris@1 739 <td>(</td>
Chris@1 740 <td class="paramname"></td><td>)</td>
Chris@6 741 <td> const</td>
Chris@1 742 </tr>
Chris@1 743 </table>
Chris@6 744 </td>
Chris@6 745 <td class="mlabels-right">
Chris@6 746 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 747 </tr>
Chris@6 748 </table>
Chris@6 749 </div><div class="memdoc">
Chris@1 750
Chris@6 751 <p>Get the preferred step size (window increment &ndash; the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" title="Process a single block of input data. ">process()</a> function) for the plugin. </p>
Chris@6 752 <p>This should be called before <a class="el" href="classFixedTempoEstimator.html#aa7500a4ffbc4653baaf5101defdb37f5" 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@6 753 <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="classFixedTempoEstimator.html#aa7500a4ffbc4653baaf5101defdb37f5" 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 754
Chris@6 755 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a33eaf9a265bc3a055e156452112456c2">Vamp::Plugin</a>.</p>
Chris@1 756
Chris@6 757 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00665">665</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 758
Chris@6 759 <p class="reference">References <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00057">FixedTempoEstimator::D::getPreferredStepSize()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@6 760
Chris@6 761 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 762
Chris@1 763 </div>
Chris@1 764 </div>
Chris@6 765 <a id="a9a2706b057bb269531f5c2797c42ddf4"></a>
Chris@6 766 <h2 class="memtitle"><span class="permalink"><a href="#a9a2706b057bb269531f5c2797c42ddf4">&#9670;&nbsp;</a></span>getPreferredBlockSize()</h2>
Chris@6 767
Chris@1 768 <div class="memitem">
Chris@1 769 <div class="memproto">
Chris@6 770 <table class="mlabels">
Chris@6 771 <tr>
Chris@6 772 <td class="mlabels-left">
Chris@1 773 <table class="memname">
Chris@1 774 <tr>
Chris@6 775 <td class="memname">size_t FixedTempoEstimator::getPreferredBlockSize </td>
Chris@1 776 <td>(</td>
Chris@1 777 <td class="paramname"></td><td>)</td>
Chris@6 778 <td> const</td>
Chris@1 779 </tr>
Chris@1 780 </table>
Chris@6 781 </td>
Chris@6 782 <td class="mlabels-right">
Chris@6 783 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 784 </tr>
Chris@6 785 </table>
Chris@6 786 </div><div class="memdoc">
Chris@1 787
Chris@6 788 <p>Get the preferred block size (window size &ndash; the number of sample frames passed in each block to the <a class="el" href="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" title="Process a single block of input data. ">process()</a> function). </p>
Chris@6 789 <p>This should be called before <a class="el" href="classFixedTempoEstimator.html#aa7500a4ffbc4653baaf5101defdb37f5" 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@6 790 <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="classFixedTempoEstimator.html#aa7500a4ffbc4653baaf5101defdb37f5" 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 791
Chris@6 792 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#ae3b9c32b12796ece152388babad7cc7d">Vamp::Plugin</a>.</p>
Chris@1 793
Chris@6 794 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00671">671</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 795
Chris@6 796 <p class="reference">References <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00058">FixedTempoEstimator::D::getPreferredBlockSize()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@1 797
Chris@6 798 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 799
Chris@1 800 </div>
Chris@1 801 </div>
Chris@6 802 <a id="a4d5edffcea6c8757e0c077913b098aea"></a>
Chris@6 803 <h2 class="memtitle"><span class="permalink"><a href="#a4d5edffcea6c8757e0c077913b098aea">&#9670;&nbsp;</a></span>getParameterDescriptors()</h2>
Chris@6 804
Chris@1 805 <div class="memitem">
Chris@1 806 <div class="memproto">
Chris@6 807 <table class="mlabels">
Chris@6 808 <tr>
Chris@6 809 <td class="mlabels-left">
Chris@1 810 <table class="memname">
Chris@1 811 <tr>
Chris@6 812 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">FixedTempoEstimator::ParameterList</a> FixedTempoEstimator::getParameterDescriptors </td>
Chris@1 813 <td>(</td>
Chris@1 814 <td class="paramname"></td><td>)</td>
Chris@6 815 <td> const</td>
Chris@1 816 </tr>
Chris@1 817 </table>
Chris@6 818 </td>
Chris@6 819 <td class="mlabels-right">
Chris@6 820 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 821 </tr>
Chris@6 822 </table>
Chris@6 823 </div><div class="memdoc">
Chris@1 824
Chris@1 825 <p>Get the controllable parameters of this plugin. </p>
Chris@1 826
Chris@6 827 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a0c24ff6a43c681198dc9497287a26e3a">Vamp::PluginBase</a>.</p>
Chris@1 828
Chris@6 829 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00692">692</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 830
Chris@6 831 <p class="reference">References <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00125">FixedTempoEstimator::D::getParameterDescriptors()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@6 832
Chris@6 833 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 834
Chris@1 835 </div>
Chris@1 836 </div>
Chris@6 837 <a id="ae988b4015672a73914e83c1589952752"></a>
Chris@6 838 <h2 class="memtitle"><span class="permalink"><a href="#ae988b4015672a73914e83c1589952752">&#9670;&nbsp;</a></span>getParameter()</h2>
Chris@6 839
Chris@1 840 <div class="memitem">
Chris@1 841 <div class="memproto">
Chris@6 842 <table class="mlabels">
Chris@6 843 <tr>
Chris@6 844 <td class="mlabels-left">
Chris@1 845 <table class="memname">
Chris@1 846 <tr>
Chris@6 847 <td class="memname">float FixedTempoEstimator::getParameter </td>
Chris@1 848 <td>(</td>
Chris@1 849 <td class="paramtype">std::string&#160;</td>
Chris@1 850 <td class="paramname"></td><td>)</td>
Chris@6 851 <td> const</td>
Chris@1 852 </tr>
Chris@1 853 </table>
Chris@6 854 </td>
Chris@6 855 <td class="mlabels-right">
Chris@6 856 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 857 </tr>
Chris@6 858 </table>
Chris@6 859 </div><div class="memdoc">
Chris@1 860
Chris@1 861 <p>Get the value of a named parameter. </p>
Chris@1 862 <p>The argument is the identifier field from that parameter's descriptor. </p>
Chris@1 863
Chris@6 864 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aa813d61077080ec95487d2a0227cc51b">Vamp::PluginBase</a>.</p>
Chris@1 865
Chris@6 866 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00698">698</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 867
Chris@6 868 <p class="reference">References <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00159">FixedTempoEstimator::D::getParameter()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@6 869
Chris@6 870 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 871
Chris@1 872 </div>
Chris@1 873 </div>
Chris@6 874 <a id="a8a5a413025384cf451c64d2c2ce13a75"></a>
Chris@6 875 <h2 class="memtitle"><span class="permalink"><a href="#a8a5a413025384cf451c64d2c2ce13a75">&#9670;&nbsp;</a></span>setParameter()</h2>
Chris@6 876
Chris@1 877 <div class="memitem">
Chris@1 878 <div class="memproto">
Chris@6 879 <table class="mlabels">
Chris@6 880 <tr>
Chris@6 881 <td class="mlabels-left">
Chris@1 882 <table class="memname">
Chris@1 883 <tr>
Chris@6 884 <td class="memname">void FixedTempoEstimator::setParameter </td>
Chris@1 885 <td>(</td>
Chris@1 886 <td class="paramtype">std::string&#160;</td>
Chris@1 887 <td class="paramname">, </td>
Chris@1 888 </tr>
Chris@1 889 <tr>
Chris@1 890 <td class="paramkey"></td>
Chris@1 891 <td></td>
Chris@1 892 <td class="paramtype">float&#160;</td>
Chris@1 893 <td class="paramname">&#160;</td>
Chris@1 894 </tr>
Chris@1 895 <tr>
Chris@1 896 <td></td>
Chris@1 897 <td>)</td>
Chris@6 898 <td></td><td></td>
Chris@1 899 </tr>
Chris@1 900 </table>
Chris@6 901 </td>
Chris@6 902 <td class="mlabels-right">
Chris@6 903 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 904 </tr>
Chris@6 905 </table>
Chris@6 906 </div><div class="memdoc">
Chris@1 907
Chris@1 908 <p>Set a named parameter. </p>
Chris@1 909 <p>The first argument is the identifier field from that parameter's descriptor. </p>
Chris@1 910
Chris@1 911 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
Chris@1 912
Chris@6 913 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00704">704</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 914
Chris@6 915 <p class="reference">References <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00172">FixedTempoEstimator::D::setParameter()</a>.</p>
Chris@6 916
Chris@6 917 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 918
Chris@1 919 </div>
Chris@1 920 </div>
Chris@6 921 <a id="af8d3aaa1025078a6ee004f615cc68cbb"></a>
Chris@6 922 <h2 class="memtitle"><span class="permalink"><a href="#af8d3aaa1025078a6ee004f615cc68cbb">&#9670;&nbsp;</a></span>getOutputDescriptors()</h2>
Chris@6 923
Chris@1 924 <div class="memitem">
Chris@1 925 <div class="memproto">
Chris@6 926 <table class="mlabels">
Chris@6 927 <tr>
Chris@6 928 <td class="mlabels-left">
Chris@1 929 <table class="memname">
Chris@1 930 <tr>
Chris@6 931 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">FixedTempoEstimator::OutputList</a> FixedTempoEstimator::getOutputDescriptors </td>
Chris@1 932 <td>(</td>
Chris@1 933 <td class="paramname"></td><td>)</td>
Chris@6 934 <td> const</td>
Chris@1 935 </tr>
Chris@1 936 </table>
Chris@6 937 </td>
Chris@6 938 <td class="mlabels-right">
Chris@6 939 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 940 </tr>
Chris@6 941 </table>
Chris@6 942 </div><div class="memdoc">
Chris@1 943
Chris@1 944 <p>Get the outputs of this plugin. </p>
Chris@6 945 <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="classFixedTempoEstimator.html#a1cf76b0e55cf4ed3da095cffcdeaec3c" title="Process a single block of input data. ">process()</a> call. </p>
Chris@1 946
Chris@1 947 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
Chris@1 948
Chris@6 949 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00710">710</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 950
Chris@6 951 <p class="reference">References <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00190">FixedTempoEstimator::D::getOutputDescriptors()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@6 952
Chris@6 953 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 954
Chris@1 955 </div>
Chris@1 956 </div>
Chris@6 957 <a id="a1cf76b0e55cf4ed3da095cffcdeaec3c"></a>
Chris@6 958 <h2 class="memtitle"><span class="permalink"><a href="#a1cf76b0e55cf4ed3da095cffcdeaec3c">&#9670;&nbsp;</a></span>process()</h2>
Chris@6 959
Chris@1 960 <div class="memitem">
Chris@1 961 <div class="memproto">
Chris@6 962 <table class="mlabels">
Chris@6 963 <tr>
Chris@6 964 <td class="mlabels-left">
Chris@1 965 <table class="memname">
Chris@1 966 <tr>
Chris@6 967 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FixedTempoEstimator::FeatureSet</a> FixedTempoEstimator::process </td>
Chris@1 968 <td>(</td>
Chris@1 969 <td class="paramtype">const float *const *&#160;</td>
Chris@1 970 <td class="paramname"><em>inputBuffers</em>, </td>
Chris@1 971 </tr>
Chris@1 972 <tr>
Chris@1 973 <td class="paramkey"></td>
Chris@1 974 <td></td>
Chris@1 975 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">Vamp::RealTime</a>&#160;</td>
Chris@1 976 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 977 </tr>
Chris@1 978 <tr>
Chris@1 979 <td></td>
Chris@1 980 <td>)</td>
Chris@6 981 <td></td><td></td>
Chris@1 982 </tr>
Chris@1 983 </table>
Chris@6 984 </td>
Chris@6 985 <td class="mlabels-right">
Chris@6 986 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 987 </tr>
Chris@6 988 </table>
Chris@6 989 </div><div class="memdoc">
Chris@1 990
Chris@1 991 <p>Process a single block of input data. </p>
Chris@1 992 <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 993 <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 994 <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 995
Chris@1 996 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p>
Chris@1 997
Chris@6 998 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00716">716</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 999
Chris@6 1000 <p class="reference">References <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00303">FixedTempoEstimator::D::process()</a>.</p>
Chris@6 1001
Chris@6 1002 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 1003
Chris@1 1004 </div>
Chris@1 1005 </div>
Chris@6 1006 <a id="a4965cf99be77fc4d1de51e11d83936b0"></a>
Chris@6 1007 <h2 class="memtitle"><span class="permalink"><a href="#a4965cf99be77fc4d1de51e11d83936b0">&#9670;&nbsp;</a></span>getRemainingFeatures()</h2>
Chris@6 1008
Chris@1 1009 <div class="memitem">
Chris@1 1010 <div class="memproto">
Chris@6 1011 <table class="mlabels">
Chris@6 1012 <tr>
Chris@6 1013 <td class="mlabels-left">
Chris@1 1014 <table class="memname">
Chris@1 1015 <tr>
Chris@6 1016 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FixedTempoEstimator::FeatureSet</a> FixedTempoEstimator::getRemainingFeatures </td>
Chris@1 1017 <td>(</td>
Chris@1 1018 <td class="paramname"></td><td>)</td>
Chris@6 1019 <td></td>
Chris@1 1020 </tr>
Chris@1 1021 </table>
Chris@6 1022 </td>
Chris@6 1023 <td class="mlabels-right">
Chris@6 1024 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 1025 </tr>
Chris@6 1026 </table>
Chris@6 1027 </div><div class="memdoc">
Chris@1 1028
Chris@1 1029 <p>After all blocks have been processed, calculate and return any remaining features derived from the complete input. </p>
Chris@1 1030
Chris@1 1031 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aeca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
Chris@1 1032
Chris@6 1033 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00722">722</a> of file <a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a>.</p>
Chris@1 1034
Chris@6 1035 <p class="reference">References <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00352">FixedTempoEstimator::D::getRemainingFeatures()</a>, and <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">m_d</a>.</p>
Chris@6 1036
Chris@6 1037 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8h_source.html#l00055">getInputDomain()</a>.</p>
Chris@1 1038
Chris@1 1039 </div>
Chris@1 1040 </div>
Chris@6 1041 <a id="ab74f7634c6ac6e3da115667808a79c30"></a>
Chris@6 1042 <h2 class="memtitle"><span class="permalink"><a href="#ab74f7634c6ac6e3da115667808a79c30">&#9670;&nbsp;</a></span>getMinChannelCount()</h2>
Chris@6 1043
Chris@1 1044 <div class="memitem">
Chris@1 1045 <div class="memproto">
Chris@6 1046 <table class="mlabels">
Chris@6 1047 <tr>
Chris@6 1048 <td class="mlabels-left">
Chris@1 1049 <table class="memname">
Chris@1 1050 <tr>
Chris@6 1051 <td class="memname">virtual size_t Vamp::Plugin::getMinChannelCount </td>
Chris@1 1052 <td>(</td>
Chris@1 1053 <td class="paramname"></td><td>)</td>
Chris@6 1054 <td> const</td>
Chris@1 1055 </tr>
Chris@1 1056 </table>
Chris@6 1057 </td>
Chris@6 1058 <td class="mlabels-right">
Chris@6 1059 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1060 </tr>
Chris@6 1061 </table>
Chris@6 1062 </div><div class="memdoc">
Chris@1 1063
Chris@1 1064 <p>Get the minimum supported number of input channels. </p>
Chris@1 1065
Chris@6 1066 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a8e7f62e03adea0321080839f6ef6c77b">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#abc0a4e6ce0ae9de39c40725de1f30d2f">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 1067
Chris@6 1068 <p class="definition">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 1069
Chris@6 1070 <p class="reference">Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00609">enumeratePlugins()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00677">initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00106">AmplitudeFollower::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00104">SpectralCentroid::initialise()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00095">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#l00268">runPlugin()</a>.</p>
Chris@1 1071
Chris@1 1072 </div>
Chris@1 1073 </div>
Chris@6 1074 <a id="a0bff9464bc8c117470136c396b2405dd"></a>
Chris@6 1075 <h2 class="memtitle"><span class="permalink"><a href="#a0bff9464bc8c117470136c396b2405dd">&#9670;&nbsp;</a></span>getMaxChannelCount()</h2>
Chris@6 1076
Chris@1 1077 <div class="memitem">
Chris@1 1078 <div class="memproto">
Chris@6 1079 <table class="mlabels">
Chris@6 1080 <tr>
Chris@6 1081 <td class="mlabels-left">
Chris@1 1082 <table class="memname">
Chris@1 1083 <tr>
Chris@6 1084 <td class="memname">virtual size_t Vamp::Plugin::getMaxChannelCount </td>
Chris@1 1085 <td>(</td>
Chris@1 1086 <td class="paramname"></td><td>)</td>
Chris@6 1087 <td> const</td>
Chris@1 1088 </tr>
Chris@1 1089 </table>
Chris@6 1090 </td>
Chris@6 1091 <td class="mlabels-right">
Chris@6 1092 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1093 </tr>
Chris@6 1094 </table>
Chris@6 1095 </div><div class="memdoc">
Chris@1 1096
Chris@1 1097 <p>Get the maximum supported number of input channels. </p>
Chris@1 1098
Chris@6 1099 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a626ad6e35eb0f4ed93bc3c6d976cdca4">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#acfed040cd91e797ee89d077db22b4a97">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 1100
Chris@6 1101 <p class="definition">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 1102
Chris@6 1103 <p class="reference">Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00609">enumeratePlugins()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00677">initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00113">PercussionOnsetDetector::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00106">AmplitudeFollower::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00104">SpectralCentroid::initialise()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00095">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#l00268">runPlugin()</a>.</p>
Chris@1 1104
Chris@1 1105 </div>
Chris@1 1106 </div>
Chris@6 1107 <a id="a530123068767a8728c568ffccfe3e4e5"></a>
Chris@6 1108 <h2 class="memtitle"><span class="permalink"><a href="#a530123068767a8728c568ffccfe3e4e5">&#9670;&nbsp;</a></span>getType()</h2>
Chris@6 1109
Chris@1 1110 <div class="memitem">
Chris@1 1111 <div class="memproto">
Chris@6 1112 <table class="mlabels">
Chris@6 1113 <tr>
Chris@6 1114 <td class="mlabels-left">
Chris@1 1115 <table class="memname">
Chris@1 1116 <tr>
Chris@6 1117 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
Chris@1 1118 <td>(</td>
Chris@1 1119 <td class="paramname"></td><td>)</td>
Chris@6 1120 <td> const</td>
Chris@1 1121 </tr>
Chris@1 1122 </table>
Chris@6 1123 </td>
Chris@6 1124 <td class="mlabels-right">
Chris@6 1125 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1126 </tr>
Chris@6 1127 </table>
Chris@6 1128 </div><div class="memdoc">
Chris@1 1129
Chris@6 1130 <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 PluginBase. </p>
Chris@1 1131 <p>Do not reimplement this function in your subclass. </p>
Chris@1 1132
Chris@1 1133 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
Chris@1 1134
Chris@6 1135 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00438">438</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1136
Chris@1 1137 </div>
Chris@1 1138 </div>
Chris@6 1139 <a id="ab4aa9c3e6f6dd9addbc095463c9fb772"></a>
Chris@6 1140 <h2 class="memtitle"><span class="permalink"><a href="#ab4aa9c3e6f6dd9addbc095463c9fb772">&#9670;&nbsp;</a></span>getVampApiVersion()</h2>
Chris@6 1141
Chris@1 1142 <div class="memitem">
Chris@1 1143 <div class="memproto">
Chris@6 1144 <table class="mlabels">
Chris@6 1145 <tr>
Chris@6 1146 <td class="mlabels-left">
Chris@1 1147 <table class="memname">
Chris@1 1148 <tr>
Chris@6 1149 <td class="memname">virtual unsigned int Vamp::PluginBase::getVampApiVersion </td>
Chris@1 1150 <td>(</td>
Chris@1 1151 <td class="paramname"></td><td>)</td>
Chris@6 1152 <td> const</td>
Chris@1 1153 </tr>
Chris@1 1154 </table>
Chris@6 1155 </td>
Chris@6 1156 <td class="mlabels-right">
Chris@6 1157 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1158 </tr>
Chris@6 1159 </table>
Chris@6 1160 </div><div class="memdoc">
Chris@1 1161
Chris@1 1162 <p>Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. </p>
Chris@1 1163
Chris@6 1164 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#adc708325d057516bd92d5ea1c0808dbc">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#afa79272f991fb720ddd09784be1b3cb8">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 1165
Chris@6 1166 <p class="definition">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 1167
Chris@6 1168 <p class="reference">Referenced by <a class="el" href="vamp-simple-host_8cpp_source.html#l00609">enumeratePlugins()</a>.</p>
Chris@1 1169
Chris@1 1170 </div>
Chris@1 1171 </div>
Chris@6 1172 <a id="aaf6febff0ab4daf4a5089c98a67f4df8"></a>
Chris@6 1173 <h2 class="memtitle"><span class="permalink"><a href="#aaf6febff0ab4daf4a5089c98a67f4df8">&#9670;&nbsp;</a></span>getPrograms()</h2>
Chris@6 1174
Chris@1 1175 <div class="memitem">
Chris@1 1176 <div class="memproto">
Chris@6 1177 <table class="mlabels">
Chris@6 1178 <tr>
Chris@6 1179 <td class="mlabels-left">
Chris@1 1180 <table class="memname">
Chris@1 1181 <tr>
Chris@6 1182 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::PluginBase::getPrograms </td>
Chris@1 1183 <td>(</td>
Chris@1 1184 <td class="paramname"></td><td>)</td>
Chris@6 1185 <td> const</td>
Chris@1 1186 </tr>
Chris@1 1187 </table>
Chris@6 1188 </td>
Chris@6 1189 <td class="mlabels-right">
Chris@6 1190 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1191 </tr>
Chris@6 1192 </table>
Chris@6 1193 </div><div class="memdoc">
Chris@1 1194
Chris@1 1195 <p>Get the program settings available in this plugin. </p>
Chris@1 1196 <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 1197 <p>The programs must have unique names. </p>
Chris@1 1198
Chris@6 1199 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#a1e3c40e9b9d8dc876d2e732976950c4b">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa0b72ea17766266d20539f293ccae7c8">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 1200
Chris@6 1201 <p class="definition">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 1202
Chris@1 1203 </div>
Chris@1 1204 </div>
Chris@6 1205 <a id="aac38c5dc6e87208616122897518ca3d5"></a>
Chris@6 1206 <h2 class="memtitle"><span class="permalink"><a href="#aac38c5dc6e87208616122897518ca3d5">&#9670;&nbsp;</a></span>getCurrentProgram()</h2>
Chris@6 1207
Chris@1 1208 <div class="memitem">
Chris@1 1209 <div class="memproto">
Chris@6 1210 <table class="mlabels">
Chris@6 1211 <tr>
Chris@6 1212 <td class="mlabels-left">
Chris@1 1213 <table class="memname">
Chris@1 1214 <tr>
Chris@6 1215 <td class="memname">virtual std::string Vamp::PluginBase::getCurrentProgram </td>
Chris@1 1216 <td>(</td>
Chris@1 1217 <td class="paramname"></td><td>)</td>
Chris@6 1218 <td> const</td>
Chris@1 1219 </tr>
Chris@1 1220 </table>
Chris@6 1221 </td>
Chris@6 1222 <td class="mlabels-right">
Chris@6 1223 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1224 </tr>
Chris@6 1225 </table>
Chris@6 1226 </div><div class="memdoc">
Chris@1 1227
Chris@1 1228 <p>Get the current program. </p>
Chris@1 1229
Chris@6 1230 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#abf984c347c4dac9e4b01123498bfe68f">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a3936fe2c4b3c960dd244849a7c3320ad">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 1231
Chris@6 1232 <p class="definition">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 1233
Chris@1 1234 </div>
Chris@1 1235 </div>
Chris@6 1236 <a id="aadd3a547ef140bae200473a9518e3353"></a>
Chris@6 1237 <h2 class="memtitle"><span class="permalink"><a href="#aadd3a547ef140bae200473a9518e3353">&#9670;&nbsp;</a></span>selectProgram()</h2>
Chris@6 1238
Chris@1 1239 <div class="memitem">
Chris@1 1240 <div class="memproto">
Chris@6 1241 <table class="mlabels">
Chris@6 1242 <tr>
Chris@6 1243 <td class="mlabels-left">
Chris@1 1244 <table class="memname">
Chris@1 1245 <tr>
Chris@6 1246 <td class="memname">virtual void Vamp::PluginBase::selectProgram </td>
Chris@1 1247 <td>(</td>
Chris@1 1248 <td class="paramtype">std::string&#160;</td>
Chris@1 1249 <td class="paramname"></td><td>)</td>
Chris@6 1250 <td></td>
Chris@1 1251 </tr>
Chris@1 1252 </table>
Chris@6 1253 </td>
Chris@6 1254 <td class="mlabels-right">
Chris@6 1255 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1256 </tr>
Chris@6 1257 </table>
Chris@6 1258 </div><div class="memdoc">
Chris@1 1259
Chris@1 1260 <p>Select a program. </p>
Chris@1 1261 <p>(If the given program name is not one of the available programs, do nothing.) </p>
Chris@1 1262
Chris@1 1263 <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 1264
Chris@6 1265 <p class="definition">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@6 1266
Chris@6 1267 <p class="reference">References <a class="el" href="plugguard_8h_source.html#l00080">_VAMP_SDK_PLUGSPACE_END</a>.</p>
Chris@1 1268
Chris@1 1269 </div>
Chris@1 1270 </div>
Chris@6 1271 <h2 class="groupheader">Member Data Documentation</h2>
Chris@6 1272 <a id="a5e1c9abaf33e9f48eb7d3b48f8af3308"></a>
Chris@6 1273 <h2 class="memtitle"><span class="permalink"><a href="#a5e1c9abaf33e9f48eb7d3b48f8af3308">&#9670;&nbsp;</a></span>m_d</h2>
Chris@6 1274
Chris@1 1275 <div class="memitem">
Chris@1 1276 <div class="memproto">
Chris@6 1277 <table class="mlabels">
Chris@6 1278 <tr>
Chris@6 1279 <td class="mlabels-left">
Chris@1 1280 <table class="memname">
Chris@1 1281 <tr>
Chris@6 1282 <td class="memname"><a class="el" href="classFixedTempoEstimator_1_1D.html">D</a>* FixedTempoEstimator::m_d</td>
Chris@1 1283 </tr>
Chris@1 1284 </table>
Chris@6 1285 </td>
Chris@6 1286 <td class="mlabels-right">
Chris@6 1287 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
Chris@6 1288 </tr>
Chris@6 1289 </table>
Chris@6 1290 </div><div class="memdoc">
Chris@1 1291
Chris@6 1292 <p class="definition">Definition at line <a class="el" href="FixedTempoEstimator_8h_source.html#l00079">79</a> of file <a class="el" href="FixedTempoEstimator_8h_source.html">FixedTempoEstimator.h</a>.</p>
Chris@1 1293
Chris@6 1294 <p class="reference">Referenced by <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00710">getOutputDescriptors()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00698">getParameter()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00692">getParameterDescriptors()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00671">getPreferredBlockSize()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00665">getPreferredStepSize()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00722">getRemainingFeatures()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00677">initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00716">process()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00686">reset()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00704">setParameter()</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00623">~FixedTempoEstimator()</a>.</p>
Chris@1 1295
Chris@1 1296 </div>
Chris@1 1297 </div>
Chris@6 1298 <a id="a59b9dd82a4f4eb946cd0474cc81abc23"></a>
Chris@6 1299 <h2 class="memtitle"><span class="permalink"><a href="#a59b9dd82a4f4eb946cd0474cc81abc23">&#9670;&nbsp;</a></span>m_inputSampleRate</h2>
Chris@6 1300
Chris@1 1301 <div class="memitem">
Chris@1 1302 <div class="memproto">
Chris@6 1303 <table class="mlabels">
Chris@6 1304 <tr>
Chris@6 1305 <td class="mlabels-left">
Chris@1 1306 <table class="memname">
Chris@1 1307 <tr>
Chris@6 1308 <td class="memname">float Vamp::Plugin::m_inputSampleRate</td>
Chris@1 1309 </tr>
Chris@1 1310 </table>
Chris@6 1311 </td>
Chris@6 1312 <td class="mlabels-right">
Chris@6 1313 <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1314 </tr>
Chris@6 1315 </table>
Chris@6 1316 </div><div class="memdoc">
Chris@1 1317
Chris@6 1318 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00444">444</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1319
Chris@6 1320 <p class="reference">Referenced by <a class="el" href="ZeroCrossing_8cpp_source.html#l00112">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00106">AmplitudeFollower::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00146">SpectralCentroid::process()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00143">ZeroCrossing::process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00226">PercussionOnsetDetector::process()</a>.</p>
Chris@1 1321
Chris@1 1322 </div>
Chris@1 1323 </div>
Chris@1 1324 <hr/>The documentation for this class was generated from the following files:<ul>
Chris@1 1325 <li><a class="el" href="FixedTempoEstimator_8h_source.html">FixedTempoEstimator.h</a></li>
Chris@1 1326 <li><a class="el" href="FixedTempoEstimator_8cpp_source.html">FixedTempoEstimator.cpp</a></li>
Chris@1 1327 </ul>
Chris@3 1328 </div><!-- contents -->
Chris@6 1329 </div><!-- doc-content -->
Chris@6 1330 <!-- start footer part -->
Chris@6 1331 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
Chris@6 1332 <ul>
Chris@6 1333 <li class="navelem"><a class="el" href="classFixedTempoEstimator.html">FixedTempoEstimator</a></li>
Chris@6 1334 <li class="footer">Generated by
Chris@6 1335 <a href="http://www.doxygen.org/index.html">
Chris@6 1336 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
Chris@6 1337 </ul>
Chris@1 1338 </div>
Chris@1 1339 </body>
Chris@1 1340 </html>