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

Add code docs from SDK 2.3
author Chris Cannam
date Tue, 04 Oct 2011 14:56:07 +0100
parents
children 5c2683745b33
rev   line source
Chris@1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Chris@1 2 <html xmlns="http://www.w3.org/1999/xhtml">
Chris@1 3 <head>
Chris@1 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
Chris@1 5 <title>VampPluginSDK: Vamp::HostExt::PluginSummarisingAdapter Class Reference</title>
Chris@1 6
Chris@1 7 <link href="tabs.css" rel="stylesheet" type="text/css"/>
Chris@1 8 <link href="doxygen.css" rel="stylesheet" type="text/css" />
Chris@1 9 <link href="navtree.css" rel="stylesheet" type="text/css"/>
Chris@1 10 <script type="text/javascript" src="jquery.js"></script>
Chris@1 11 <script type="text/javascript" src="resize.js"></script>
Chris@1 12 <script type="text/javascript" src="navtree.js"></script>
Chris@1 13 <script type="text/javascript">
Chris@1 14 $(document).ready(initResizable);
Chris@1 15 </script>
Chris@1 16
Chris@1 17
Chris@1 18 </head>
Chris@1 19 <body>
Chris@1 20 <div id="top"><!-- do not remove this div! -->
Chris@1 21
Chris@1 22
Chris@1 23 <div id="titlearea">
Chris@1 24 <table cellspacing="0" cellpadding="0">
Chris@1 25 <tbody>
Chris@1 26 <tr style="height: 56px;">
Chris@1 27
Chris@1 28
Chris@1 29 <td style="padding-left: 0.5em;">
Chris@1 30 <div id="projectname">VampPluginSDK
Chris@1 31 &#160;<span id="projectnumber">2.1</span>
Chris@1 32 </div>
Chris@1 33
Chris@1 34 </td>
Chris@1 35
Chris@1 36
Chris@1 37
Chris@1 38 </tr>
Chris@1 39 </tbody>
Chris@1 40 </table>
Chris@1 41 </div>
Chris@1 42
Chris@1 43 <!-- Generated by Doxygen 1.7.5.1 -->
Chris@1 44 <div id="navrow1" class="tabs">
Chris@1 45 <ul class="tablist">
Chris@1 46 <li><a href="index.html"><span>Main&#160;Page</span></a></li>
Chris@1 47 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
Chris@1 48 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
Chris@1 49 <li><a href="files.html"><span>Files</span></a></li>
Chris@1 50 <li><a href="dirs.html"><span>Directories</span></a></li>
Chris@1 51 </ul>
Chris@1 52 </div>
Chris@1 53 <div id="navrow2" class="tabs2">
Chris@1 54 <ul class="tablist">
Chris@1 55 <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
Chris@1 56 <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
Chris@1 57 <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
Chris@1 58 </ul>
Chris@1 59 </div>
Chris@1 60 </div>
Chris@1 61 <div id="side-nav" class="ui-resizable side-nav-resizable">
Chris@1 62 <div id="nav-tree">
Chris@1 63 <div id="nav-tree-contents">
Chris@1 64 </div>
Chris@1 65 </div>
Chris@1 66 <div id="splitbar" style="-moz-user-select:none;"
Chris@1 67 class="ui-resizable-handle">
Chris@1 68 </div>
Chris@1 69 </div>
Chris@1 70 <script type="text/javascript">
Chris@1 71 initNavTree('classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html','');
Chris@1 72 </script>
Chris@1 73 <div id="doc-content">
Chris@1 74 <div class="header">
Chris@1 75 <div class="summary">
Chris@1 76 <a href="#pub-types">Public Types</a> &#124;
Chris@1 77 <a href="#pub-methods">Public Member Functions</a> &#124;
Chris@1 78 <a href="#pro-attribs">Protected Attributes</a> </div>
Chris@1 79 <div class="headertitle">
Chris@1 80 <div class="title">Vamp::HostExt::PluginSummarisingAdapter Class Reference</div> </div>
Chris@1 81 </div>
Chris@1 82 <div class="contents">
Chris@1 83 <!-- doxytag: class="Vamp::HostExt::PluginSummarisingAdapter" --><!-- doxytag: inherits="Vamp::HostExt::PluginWrapper" -->
Chris@1 84 <p><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> is a <a class="el" href="namespaceVamp.html">Vamp</a> plugin adapter that provides summarisation methods such as mean and median averages of output features, for use in any context where an available plugin produces individual values but the result that is actually needed is some sort of aggregate.
Chris@1 85 <a href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#details">More...</a></p>
Chris@1 86
Chris@1 87 <p><code>#include &lt;<a class="el" href="PluginSummarisingAdapter_8h_source.html">vamp-hostsdk/PluginSummarisingAdapter.h</a>&gt;</code></p>
Chris@1 88 <div class="dynheader">
Chris@1 89 Inheritance diagram for Vamp::HostExt::PluginSummarisingAdapter:</div>
Chris@1 90 <div class="dyncontent">
Chris@1 91 <div class="center"><img src="classVamp_1_1HostExt_1_1PluginSummarisingAdapter__inherit__graph.png" border="0" usemap="#Vamp_1_1HostExt_1_1PluginSummarisingAdapter_inherit__map" alt="Inheritance graph"/></div>
Chris@1 92 <map name="Vamp_1_1HostExt_1_1PluginSummarisingAdapter_inherit__map" id="Vamp_1_1HostExt_1_1PluginSummarisingAdapter_inherit__map">
Chris@1 93 <area shape="rect" id="node2" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins." alt="" coords="40,155,224,181"/><area shape="rect" id="node4" 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="86,81,177,106"/><area shape="rect" id="node6" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="73,6,191,31"/></map>
Chris@1 94 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
Chris@1 95
Chris@1 96 <p><a href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter-members.html">List of all members.</a></p>
Chris@1 97 <table class="memberdecls">
Chris@1 98 <tr><td colspan="2"><h2><a name="pub-types"></a>
Chris@1 99 Public Types</h2></td></tr>
Chris@1 100 <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705">SummaryType</a> { <br/>
Chris@1 101 &#160;&#160;<a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705a320b8a4cd0c3d492aeb17f7fc4ed930c">Minimum</a> = 0,
Chris@1 102 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705adefff4e5073aa298a96d99b92025b7f9">Maximum</a> = 1,
Chris@1 103 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705ae8a03f013397d08c85734e47524f5a75">Mean</a> = 2,
Chris@1 104 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705aadde1f9a5a6557f25223279433699195">Median</a> = 3,
Chris@1 105 <br/>
Chris@1 106 &#160;&#160;<a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705a1688d03811a2268daa062220f5be0614">Mode</a> = 4,
Chris@1 107 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705a9496664a605b3aa706f909070d73060b">Sum</a> = 5,
Chris@1 108 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705ae965a9e5381745e6e3a75342d7c8e075">Variance</a> = 6,
Chris@1 109 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705a9342cd2209e20b93843cd389d9511ec7">StandardDeviation</a> = 7,
Chris@1 110 <br/>
Chris@1 111 &#160;&#160;<a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705a2395772fa2e74b3f617e20c76d579ad6">Count</a> = 8,
Chris@1 112 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705aeed3a16d665eb789053b82fdd386ee7c">UnknownSummaryType</a> = 999
Chris@1 113 <br/>
Chris@1 114 }</td></tr>
Chris@1 115 <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">AveragingMethod</a> { <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76ae8833d866dec593d29f1f4e3cd1e6e36">SampleAverage</a> = 0,
Chris@1 116 <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76a6af6316c12e29bdbdff90c5fec764baa">ContinuousTimeAverage</a> = 1
Chris@1 117 }</td></tr>
Chris@1 118 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">AveragingMethod indicates how the adapter should handle average-based summaries of features whose results are not equally spaced in time. <a href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">More...</a><br/></td></tr>
Chris@1 119 <tr><td class="memItemLeft" align="right" valign="top">typedef std::set&lt; <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a74e7f93c745802a2409185b63922466b">SegmentBoundaries</a></td></tr>
Chris@1 120 <tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> { <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff">TimeDomain</a>,
Chris@1 121 <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
Chris@1 122 }</td></tr>
Chris@1 123 <tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
Chris@1 124 &lt; <a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a></td></tr>
Chris@1 125 <tr><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a></td></tr>
Chris@1 126 <tr><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, <br class="typebreak"/>
Chris@1 127 <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a></td></tr>
Chris@1 128 <tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
Chris@1 129 &lt; <a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a></td></tr>
Chris@1 130 <tr><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a></td></tr>
Chris@1 131 <tr><td colspan="2"><h2><a name="pub-methods"></a>
Chris@1 132 Public Member Functions</h2></td></tr>
Chris@1 133 <tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a31b41f54560a2ae6c3ec1a945f3f1d68">PluginSummarisingAdapter</a> (<a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *plugin)</td></tr>
Chris@1 134 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> wrapping the given plugin. <a href="#a31b41f54560a2ae6c3ec1a945f3f1d68"></a><br/></td></tr>
Chris@1 135 <tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a47846e7cc0ef4a29335e08b9645316d0">~PluginSummarisingAdapter</a> ()</td></tr>
Chris@1 136 <tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a1e994576d43efe103bf8f83b69716745">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
Chris@1 137 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames). <a href="#a1e994576d43efe103bf8f83b69716745"></a><br/></td></tr>
Chris@1 138 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a3402381d145d507bd26d1a67e3616911">reset</a> ()</td></tr>
Chris@1 139 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#a3402381d145d507bd26d1a67e3616911"></a><br/></td></tr>
Chris@1 140 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a3314b456a4780601c021dac25b478846">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> timestamp)</td></tr>
Chris@1 141 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single block of input data. <a href="#a3314b456a4780601c021dac25b478846"></a><br/></td></tr>
Chris@1 142 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#ae9dcbd1ba8197ff90b4fc6bf7ade7688">getRemainingFeatures</a> ()</td></tr>
Chris@1 143 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">After all blocks have been processed, calculate and return any remaining features derived from the complete input. <a href="#ae9dcbd1ba8197ff90b4fc6bf7ade7688"></a><br/></td></tr>
Chris@1 144 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a1a659500ca1290a228c0b9b91f6ac0b7">setSummarySegmentBoundaries</a> (const <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a74e7f93c745802a2409185b63922466b">SegmentBoundaries</a> &amp;)</td></tr>
Chris@1 145 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify a series of segment boundaries, such that one summary will be returned for each of the contiguous intra-boundary segments. <a href="#a1a659500ca1290a228c0b9b91f6ac0b7"></a><br/></td></tr>
Chris@1 146 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#abe13faa68d3244b962dbd362671e23f9">getSummaryForOutput</a> (int output, <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705">SummaryType</a> type, <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">AveragingMethod</a> method=SampleAverage)</td></tr>
Chris@1 147 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return summaries of the features that were returned on the given output, using the given SummaryType and AveragingMethod. <a href="#abe13faa68d3244b962dbd362671e23f9"></a><br/></td></tr>
Chris@1 148 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#ac3f93d9ca2d25c9fdc80d0ba10eaaa6b">getSummaryForAllOutputs</a> (<a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705">SummaryType</a> type, <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">AveragingMethod</a> method=SampleAverage)</td></tr>
Chris@1 149 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return summaries of the features that were returned on all of the plugin's outputs, using the given SummaryType and AveragingMethod. <a href="#ac3f93d9ca2d25c9fdc80d0ba10eaaa6b"></a><br/></td></tr>
Chris@1 150 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ae203faf8384c9e1fddc381409aa8a214">getInputDomain</a> () const </td></tr>
Chris@1 151 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the plugin's required input domain. <a href="#ae203faf8384c9e1fddc381409aa8a214"></a><br/></td></tr>
Chris@1 152 <tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a74147fda6b44ff2169bd4a1eea0d46ff">getVampApiVersion</a> () const </td></tr>
Chris@1 153 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. <a href="#a74147fda6b44ff2169bd4a1eea0d46ff"></a><br/></td></tr>
Chris@1 154 <tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a4baa9e48f717c2b3e7f92496aa39d904">getIdentifier</a> () const </td></tr>
Chris@1 155 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#a4baa9e48f717c2b3e7f92496aa39d904"></a><br/></td></tr>
Chris@1 156 <tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ac70a3265bb25aeb03f6dd8f8a0442088">getName</a> () const </td></tr>
Chris@1 157 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#ac70a3265bb25aeb03f6dd8f8a0442088"></a><br/></td></tr>
Chris@1 158 <tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ac334f699c0996055942785410d8a065c">getDescription</a> () const </td></tr>
Chris@1 159 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable description for the plugin, typically a line of text that may optionally be displayed in addition to the plugin's "name". <a href="#ac334f699c0996055942785410d8a065c"></a><br/></td></tr>
Chris@1 160 <tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a59d5a2298951b317995675e664b1c7bb">getMaker</a> () const </td></tr>
Chris@1 161 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the author or vendor of the plugin in human-readable form. <a href="#a59d5a2298951b317995675e664b1c7bb"></a><br/></td></tr>
Chris@1 162 <tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a47e1acf1696813008324a915c9ba59c5">getPluginVersion</a> () const </td></tr>
Chris@1 163 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version number of the plugin. <a href="#a47e1acf1696813008324a915c9ba59c5"></a><br/></td></tr>
Chris@1 164 <tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ae14f6ecb78be909c4cd5f0cdaed3c566">getCopyright</a> () const </td></tr>
Chris@1 165 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#ae14f6ecb78be909c4cd5f0cdaed3c566"></a><br/></td></tr>
Chris@1 166 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a9be71561265c2e6e43b7feaddaa91f36">getParameterDescriptors</a> () const </td></tr>
Chris@1 167 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#a9be71561265c2e6e43b7feaddaa91f36"></a><br/></td></tr>
Chris@1 168 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a034920f56c8d7609a85447c42556048c">getParameter</a> (std::string) const </td></tr>
Chris@1 169 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of a named parameter. <a href="#a034920f56c8d7609a85447c42556048c"></a><br/></td></tr>
Chris@1 170 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a651b15a5dc4c27942ac0c87c6092bfe5">setParameter</a> (std::string, float)</td></tr>
Chris@1 171 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a named parameter. <a href="#a651b15a5dc4c27942ac0c87c6092bfe5"></a><br/></td></tr>
Chris@1 172 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a131fbe1df81215020b9aa8cecef4c802">getPrograms</a> () const </td></tr>
Chris@1 173 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the program settings available in this plugin. <a href="#a131fbe1df81215020b9aa8cecef4c802"></a><br/></td></tr>
Chris@1 174 <tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a7a312dd42d161064b70afd7ff24c0651">getCurrentProgram</a> () const </td></tr>
Chris@1 175 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current program. <a href="#a7a312dd42d161064b70afd7ff24c0651"></a><br/></td></tr>
Chris@1 176 <tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a074978333a74fdcf336a8a1d8ea20abf">selectProgram</a> (std::string)</td></tr>
Chris@1 177 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a program. <a href="#a074978333a74fdcf336a8a1d8ea20abf"></a><br/></td></tr>
Chris@1 178 <tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a0137d93d7019bacc31104836fb4d352e">getPreferredStepSize</a> () const </td></tr>
Chris@1 179 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function) for the plugin. <a href="#a0137d93d7019bacc31104836fb4d352e"></a><br/></td></tr>
Chris@1 180 <tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2c62a656313a819650656643a867ad01">getPreferredBlockSize</a> () const </td></tr>
Chris@1 181 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function). <a href="#a2c62a656313a819650656643a867ad01"></a><br/></td></tr>
Chris@1 182 <tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2b28f1cf37d46a514f1e1411a6037bf8">getMinChannelCount</a> () const </td></tr>
Chris@1 183 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#a2b28f1cf37d46a514f1e1411a6037bf8"></a><br/></td></tr>
Chris@1 184 <tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a985eb21f1827bfbc3950d6871b107a58">getMaxChannelCount</a> () const </td></tr>
Chris@1 185 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#a985eb21f1827bfbc3950d6871b107a58"></a><br/></td></tr>
Chris@1 186 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a9411305f713b4c9827844b89acd270">getOutputDescriptors</a> () const </td></tr>
Chris@1 187 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the outputs of this plugin. <a href="#a5a9411305f713b4c9827844b89acd270"></a><br/></td></tr>
Chris@1 188 <tr><td class="memTemplParams" colspan="2">template&lt;typename WrapperType &gt; </td></tr>
Chris@1 189 <tr><td class="memTemplItemLeft" align="right" valign="top">WrapperType *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a653d0308e8e34881a8749b7631d00f05">getWrapper</a> ()</td></tr>
Chris@1 190 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present. <a href="#a653d0308e8e34881a8749b7631d00f05"></a><br/></td></tr>
Chris@1 191 <tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#abe13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr>
Chris@1 192 <tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. <a href="#abe13b3997a69fbcc09e2213faa352f91"></a><br/></td></tr>
Chris@1 193 <tr><td colspan="2"><h2><a name="pro-attribs"></a>
Chris@1 194 Protected Attributes</h2></td></tr>
Chris@1 195 <tr><td class="memItemLeft" align="right" valign="top">Impl *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af131140817d9f131650af98b6b8d7a94">m_impl</a></td></tr>
Chris@1 196 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ab4e40ecd98b445e1a2aa9e7baa280ea2">m_plugin</a></td></tr>
Chris@1 197 <tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a59b9dd82a4f4eb946cd0474cc81abc23">m_inputSampleRate</a></td></tr>
Chris@1 198 </table>
Chris@1 199 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
Chris@1 200 <div class="textblock"><p><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> is a <a class="el" href="namespaceVamp.html">Vamp</a> plugin adapter that provides summarisation methods such as mean and median averages of output features, for use in any context where an available plugin produces individual values but the result that is actually needed is some sort of aggregate. </p>
Chris@1 201 <p>To make use of <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a>, the host should configure, initialise and run the plugin through the adapter interface just as normal. Then, after the process and getRemainingFeatures methods have been properly called and processing is complete, the host may call getSummaryForOutput or getSummaryForAllOutputs to obtain summarised features: averages, maximum values, etc, depending on the SummaryType passed to the function.</p>
Chris@1 202 <p>By default <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> calculates a single summary of each output's feature across the whole duration of processed audio. A host needing summaries of sub-segments of the whole audio may call setSummarySegmentBoundaries before retrieving the summaries, providing a list of times such that one summary will be provided for each segment between two consecutive times.</p>
Chris@1 203 <p><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> is straightforward rather than fast. It calculates all of the summary types for all outputs always, and then returns only the ones that are requested. It is designed on the basis that, for most features, summarising and storing summarised results is far cheaper than calculating the results in the first place. If this is not true for your particular feature, <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> may not be the best approach for you.</p>
Chris@1 204 <dl class="note"><dt><b>Note:</b></dt><dd>This class was introduced in version 2.0 of the <a class="el" href="namespaceVamp.html">Vamp</a> plugin SDK. </dd></dl>
Chris@1 205
Chris@1 206 <p>Definition at line <a class="el" href="PluginSummarisingAdapter_8h_source.html#l00086">86</a> of file <a class="el" href="PluginSummarisingAdapter_8h_source.html">PluginSummarisingAdapter.h</a>.</p>
Chris@1 207 </div><hr/><h2>Member Typedef Documentation</h2>
Chris@1 208 <a class="anchor" id="a74e7f93c745802a2409185b63922466b"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries" ref="a74e7f93c745802a2409185b63922466b" args="" -->
Chris@1 209 <div class="memitem">
Chris@1 210 <div class="memproto">
Chris@1 211 <table class="memname">
Chris@1 212 <tr>
Chris@1 213 <td class="memname">typedef std::set&lt;<a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&gt; <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a74e7f93c745802a2409185b63922466b">Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries</a></td>
Chris@1 214 </tr>
Chris@1 215 </table>
Chris@1 216 </div>
Chris@1 217 <div class="memdoc">
Chris@1 218
Chris@1 219 <p>Definition at line <a class="el" href="PluginSummarisingAdapter_8h_source.html#l00104">104</a> of file <a class="el" href="PluginSummarisingAdapter_8h_source.html">PluginSummarisingAdapter.h</a>.</p>
Chris@1 220
Chris@1 221 </div>
Chris@1 222 </div>
Chris@1 223 <a class="anchor" id="a30f531b8fb69fac41a24e3d2a6a08ed9"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::OutputList" ref="a30f531b8fb69fac41a24e3d2a6a08ed9" args="" -->
Chris@1 224 <div class="memitem">
Chris@1 225 <div class="memproto">
Chris@1 226 <table class="memname">
Chris@1 227 <tr>
Chris@1 228 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">Vamp::Plugin::OutputList</a><code> [inherited]</code></td>
Chris@1 229 </tr>
Chris@1 230 </table>
Chris@1 231 </div>
Chris@1 232 <div class="memdoc">
Chris@1 233
Chris@1 234 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00327">327</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 235
Chris@1 236 </div>
Chris@1 237 </div>
Chris@1 238 <a class="anchor" id="a0730bc72c87fa02eb8d2854b233f7be1"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::FeatureList" ref="a0730bc72c87fa02eb8d2854b233f7be1" args="" -->
Chris@1 239 <div class="memitem">
Chris@1 240 <div class="memproto">
Chris@1 241 <table class="memname">
Chris@1 242 <tr>
Chris@1 243 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">Vamp::Plugin::FeatureList</a><code> [inherited]</code></td>
Chris@1 244 </tr>
Chris@1 245 </table>
Chris@1 246 </div>
Chris@1 247 <div class="memdoc">
Chris@1 248
Chris@1 249 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00385">385</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 250
Chris@1 251 </div>
Chris@1 252 </div>
Chris@1 253 <a class="anchor" id="a448fb57dc245d47923ec9eeaf9856c5f"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::FeatureSet" ref="a448fb57dc245d47923ec9eeaf9856c5f" args="" -->
Chris@1 254 <div class="memitem">
Chris@1 255 <div class="memproto">
Chris@1 256 <table class="memname">
Chris@1 257 <tr>
Chris@1 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><code> [inherited]</code></td>
Chris@1 259 </tr>
Chris@1 260 </table>
Chris@1 261 </div>
Chris@1 262 <div class="memdoc">
Chris@1 263
Chris@1 264 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00387">387</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 265
Chris@1 266 </div>
Chris@1 267 </div>
Chris@1 268 <a class="anchor" id="a3b6bb4bbd86affe1ca9deceea1aad4f8"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::ParameterList" ref="a3b6bb4bbd86affe1ca9deceea1aad4f8" args="" -->
Chris@1 269 <div class="memitem">
Chris@1 270 <div class="memproto">
Chris@1 271 <table class="memname">
Chris@1 272 <tr>
Chris@1 273 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a>&gt; <a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">Vamp::PluginBase::ParameterList</a><code> [inherited]</code></td>
Chris@1 274 </tr>
Chris@1 275 </table>
Chris@1 276 </div>
Chris@1 277 <div class="memdoc">
Chris@1 278
Chris@1 279 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00203">203</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 280
Chris@1 281 </div>
Chris@1 282 </div>
Chris@1 283 <a class="anchor" id="a7f66f00437b21e5f694fe02356b12f20"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::ProgramList" ref="a7f66f00437b21e5f694fe02356b12f20" args="" -->
Chris@1 284 <div class="memitem">
Chris@1 285 <div class="memproto">
Chris@1 286 <table class="memname">
Chris@1 287 <tr>
Chris@1 288 <td class="memname">typedef std::vector&lt;std::string&gt; <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a><code> [inherited]</code></td>
Chris@1 289 </tr>
Chris@1 290 </table>
Chris@1 291 </div>
Chris@1 292 <div class="memdoc">
Chris@1 293
Chris@1 294 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00225">225</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 295
Chris@1 296 </div>
Chris@1 297 </div>
Chris@1 298 <hr/><h2>Member Enumeration Documentation</h2>
Chris@1 299 <a class="anchor" id="af504f810448961fc489e9b6572471705"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::SummaryType" ref="af504f810448961fc489e9b6572471705" args="" -->
Chris@1 300 <div class="memitem">
Chris@1 301 <div class="memproto">
Chris@1 302 <table class="memname">
Chris@1 303 <tr>
Chris@1 304 <td class="memname">enum <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705">Vamp::HostExt::PluginSummarisingAdapter::SummaryType</a></td>
Chris@1 305 </tr>
Chris@1 306 </table>
Chris@1 307 </div>
Chris@1 308 <div class="memdoc">
Chris@1 309 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
Chris@1 310 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705a320b8a4cd0c3d492aeb17f7fc4ed930c"></a><!-- doxytag: member="Minimum" ref="af504f810448961fc489e9b6572471705a320b8a4cd0c3d492aeb17f7fc4ed930c" args="" -->Minimum</em>&nbsp;</td><td>
Chris@1 311 </td></tr>
Chris@1 312 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705adefff4e5073aa298a96d99b92025b7f9"></a><!-- doxytag: member="Maximum" ref="af504f810448961fc489e9b6572471705adefff4e5073aa298a96d99b92025b7f9" args="" -->Maximum</em>&nbsp;</td><td>
Chris@1 313 </td></tr>
Chris@1 314 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705ae8a03f013397d08c85734e47524f5a75"></a><!-- doxytag: member="Mean" ref="af504f810448961fc489e9b6572471705ae8a03f013397d08c85734e47524f5a75" args="" -->Mean</em>&nbsp;</td><td>
Chris@1 315 </td></tr>
Chris@1 316 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705aadde1f9a5a6557f25223279433699195"></a><!-- doxytag: member="Median" ref="af504f810448961fc489e9b6572471705aadde1f9a5a6557f25223279433699195" args="" -->Median</em>&nbsp;</td><td>
Chris@1 317 </td></tr>
Chris@1 318 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705a1688d03811a2268daa062220f5be0614"></a><!-- doxytag: member="Mode" ref="af504f810448961fc489e9b6572471705a1688d03811a2268daa062220f5be0614" args="" -->Mode</em>&nbsp;</td><td>
Chris@1 319 </td></tr>
Chris@1 320 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705a9496664a605b3aa706f909070d73060b"></a><!-- doxytag: member="Sum" ref="af504f810448961fc489e9b6572471705a9496664a605b3aa706f909070d73060b" args="" -->Sum</em>&nbsp;</td><td>
Chris@1 321 </td></tr>
Chris@1 322 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705ae965a9e5381745e6e3a75342d7c8e075"></a><!-- doxytag: member="Variance" ref="af504f810448961fc489e9b6572471705ae965a9e5381745e6e3a75342d7c8e075" args="" -->Variance</em>&nbsp;</td><td>
Chris@1 323 </td></tr>
Chris@1 324 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705a9342cd2209e20b93843cd389d9511ec7"></a><!-- doxytag: member="StandardDeviation" ref="af504f810448961fc489e9b6572471705a9342cd2209e20b93843cd389d9511ec7" args="" -->StandardDeviation</em>&nbsp;</td><td>
Chris@1 325 </td></tr>
Chris@1 326 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705a2395772fa2e74b3f617e20c76d579ad6"></a><!-- doxytag: member="Count" ref="af504f810448961fc489e9b6572471705a2395772fa2e74b3f617e20c76d579ad6" args="" -->Count</em>&nbsp;</td><td>
Chris@1 327 </td></tr>
Chris@1 328 <tr><td valign="top"><em><a class="anchor" id="af504f810448961fc489e9b6572471705aeed3a16d665eb789053b82fdd386ee7c"></a><!-- doxytag: member="UnknownSummaryType" ref="af504f810448961fc489e9b6572471705aeed3a16d665eb789053b82fdd386ee7c" args="" -->UnknownSummaryType</em>&nbsp;</td><td>
Chris@1 329 </td></tr>
Chris@1 330 </table>
Chris@1 331 </dd>
Chris@1 332 </dl>
Chris@1 333
Chris@1 334 <p>Definition at line <a class="el" href="PluginSummarisingAdapter_8h_source.html#l00121">121</a> of file <a class="el" href="PluginSummarisingAdapter_8h_source.html">PluginSummarisingAdapter.h</a>.</p>
Chris@1 335
Chris@1 336 </div>
Chris@1 337 </div>
Chris@1 338 <a class="anchor" id="a294e9eed9c541dcedbaa4f2dfda1ac76"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::AveragingMethod" ref="a294e9eed9c541dcedbaa4f2dfda1ac76" args="" -->
Chris@1 339 <div class="memitem">
Chris@1 340 <div class="memproto">
Chris@1 341 <table class="memname">
Chris@1 342 <tr>
Chris@1 343 <td class="memname">enum <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">Vamp::HostExt::PluginSummarisingAdapter::AveragingMethod</a></td>
Chris@1 344 </tr>
Chris@1 345 </table>
Chris@1 346 </div>
Chris@1 347 <div class="memdoc">
Chris@1 348
Chris@1 349 <p>AveragingMethod indicates how the adapter should handle average-based summaries of features whose results are not equally spaced in time. </p>
Chris@1 350 <p>If SampleAverage is specified, summary types based on averages will be calculated by treating each result individually without regard to its time: for example, the mean will be the sum of all values divided by the number of values.</p>
Chris@1 351 <p>If ContinuousTimeAverage is specified, each feature will be considered to have a duration, either as specified in the feature's duration field, or until the following feature: thus, for example, the mean will be the sum of the products of values and durations, divided by the total duration.</p>
Chris@1 352 <p>Although SampleAverage is useful for many types of feature, ContinuousTimeAverage is essential for some situations, for example finding the result that spans the largest proportion of the input given a feature that emits a new result only when the value changes (the modal value integrated over time). </p>
Chris@1 353 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
Chris@1 354 <tr><td valign="top"><em><a class="anchor" id="a294e9eed9c541dcedbaa4f2dfda1ac76ae8833d866dec593d29f1f4e3cd1e6e36"></a><!-- doxytag: member="SampleAverage" ref="a294e9eed9c541dcedbaa4f2dfda1ac76ae8833d866dec593d29f1f4e3cd1e6e36" args="" -->SampleAverage</em>&nbsp;</td><td>
Chris@1 355 </td></tr>
Chris@1 356 <tr><td valign="top"><em><a class="anchor" id="a294e9eed9c541dcedbaa4f2dfda1ac76a6af6316c12e29bdbdff90c5fec764baa"></a><!-- doxytag: member="ContinuousTimeAverage" ref="a294e9eed9c541dcedbaa4f2dfda1ac76a6af6316c12e29bdbdff90c5fec764baa" args="" -->ContinuousTimeAverage</em>&nbsp;</td><td>
Chris@1 357 </td></tr>
Chris@1 358 </table>
Chris@1 359 </dd>
Chris@1 360 </dl>
Chris@1 361
Chris@1 362 <p>Definition at line <a class="el" href="PluginSummarisingAdapter_8h_source.html#l00157">157</a> of file <a class="el" href="PluginSummarisingAdapter_8h_source.html">PluginSummarisingAdapter.h</a>.</p>
Chris@1 363
Chris@1 364 </div>
Chris@1 365 </div>
Chris@1 366 <a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bc"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::InputDomain" ref="a39cb7649d6dcc20e4cb1640cd55907bc" args="" -->
Chris@1 367 <div class="memitem">
Chris@1 368 <div class="memproto">
Chris@1 369 <table class="memname">
Chris@1 370 <tr>
Chris@1 371 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a><code> [inherited]</code></td>
Chris@1 372 </tr>
Chris@1 373 </table>
Chris@1 374 </div>
Chris@1 375 <div class="memdoc">
Chris@1 376 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
Chris@1 377 <tr><td valign="top"><em><a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff"></a><!-- doxytag: member="TimeDomain" ref="a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff" args="" -->TimeDomain</em>&nbsp;</td><td>
Chris@1 378 </td></tr>
Chris@1 379 <tr><td valign="top"><em><a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53"></a><!-- doxytag: member="FrequencyDomain" ref="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53" args="" -->FrequencyDomain</em>&nbsp;</td><td>
Chris@1 380 </td></tr>
Chris@1 381 </table>
Chris@1 382 </dd>
Chris@1 383 </dl>
Chris@1 384
Chris@1 385 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00152">152</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 386
Chris@1 387 </div>
Chris@1 388 </div>
Chris@1 389 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
Chris@1 390 <a class="anchor" id="a31b41f54560a2ae6c3ec1a945f3f1d68"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::PluginSummarisingAdapter" ref="a31b41f54560a2ae6c3ec1a945f3f1d68" args="(Plugin *plugin)" -->
Chris@1 391 <div class="memitem">
Chris@1 392 <div class="memproto">
Chris@1 393 <table class="memname">
Chris@1 394 <tr>
Chris@1 395 <td class="memname">Vamp::HostExt::PluginSummarisingAdapter::PluginSummarisingAdapter </td>
Chris@1 396 <td>(</td>
Chris@1 397 <td class="paramtype"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *&#160;</td>
Chris@1 398 <td class="paramname"><em>plugin</em></td><td>)</td>
Chris@1 399 <td></td>
Chris@1 400 </tr>
Chris@1 401 </table>
Chris@1 402 </div>
Chris@1 403 <div class="memdoc">
Chris@1 404
Chris@1 405 <p>Construct a <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html" title="PluginSummarisingAdapter is a Vamp plugin adapter that provides summarisation methods such as mean an...">PluginSummarisingAdapter</a> wrapping the given plugin. </p>
Chris@1 406 <p>The adapter takes ownership of the plugin, which will be deleted when the adapter is deleted. </p>
Chris@1 407
Chris@1 408 </div>
Chris@1 409 </div>
Chris@1 410 <a class="anchor" id="a47846e7cc0ef4a29335e08b9645316d0"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::~PluginSummarisingAdapter" ref="a47846e7cc0ef4a29335e08b9645316d0" args="()" -->
Chris@1 411 <div class="memitem">
Chris@1 412 <div class="memproto">
Chris@1 413 <table class="memname">
Chris@1 414 <tr>
Chris@1 415 <td class="memname">virtual Vamp::HostExt::PluginSummarisingAdapter::~PluginSummarisingAdapter </td>
Chris@1 416 <td>(</td>
Chris@1 417 <td class="paramname"></td><td>)</td>
Chris@1 418 <td><code> [virtual]</code></td>
Chris@1 419 </tr>
Chris@1 420 </table>
Chris@1 421 </div>
Chris@1 422 <div class="memdoc">
Chris@1 423
Chris@1 424 </div>
Chris@1 425 </div>
Chris@1 426 <hr/><h2>Member Function Documentation</h2>
Chris@1 427 <a class="anchor" id="a1e994576d43efe103bf8f83b69716745"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::initialise" ref="a1e994576d43efe103bf8f83b69716745" args="(size_t channels, size_t stepSize, size_t blockSize)" -->
Chris@1 428 <div class="memitem">
Chris@1 429 <div class="memproto">
Chris@1 430 <table class="memname">
Chris@1 431 <tr>
Chris@1 432 <td class="memname">bool Vamp::HostExt::PluginSummarisingAdapter::initialise </td>
Chris@1 433 <td>(</td>
Chris@1 434 <td class="paramtype">size_t&#160;</td>
Chris@1 435 <td class="paramname"><em>inputChannels</em>, </td>
Chris@1 436 </tr>
Chris@1 437 <tr>
Chris@1 438 <td class="paramkey"></td>
Chris@1 439 <td></td>
Chris@1 440 <td class="paramtype">size_t&#160;</td>
Chris@1 441 <td class="paramname"><em>stepSize</em>, </td>
Chris@1 442 </tr>
Chris@1 443 <tr>
Chris@1 444 <td class="paramkey"></td>
Chris@1 445 <td></td>
Chris@1 446 <td class="paramtype">size_t&#160;</td>
Chris@1 447 <td class="paramname"><em>blockSize</em>&#160;</td>
Chris@1 448 </tr>
Chris@1 449 <tr>
Chris@1 450 <td></td>
Chris@1 451 <td>)</td>
Chris@1 452 <td></td><td><code> [virtual]</code></td>
Chris@1 453 </tr>
Chris@1 454 </table>
Chris@1 455 </div>
Chris@1 456 <div class="memdoc">
Chris@1 457
Chris@1 458 <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 459 <p>The input sample rate should have been already specified at construction time.</p>
Chris@1 460 <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 461
Chris@1 462 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 463
Chris@1 464 </div>
Chris@1 465 </div>
Chris@1 466 <a class="anchor" id="a3402381d145d507bd26d1a67e3616911"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::reset" ref="a3402381d145d507bd26d1a67e3616911" args="()" -->
Chris@1 467 <div class="memitem">
Chris@1 468 <div class="memproto">
Chris@1 469 <table class="memname">
Chris@1 470 <tr>
Chris@1 471 <td class="memname">void Vamp::HostExt::PluginSummarisingAdapter::reset </td>
Chris@1 472 <td>(</td>
Chris@1 473 <td class="paramname"></td><td>)</td>
Chris@1 474 <td><code> [virtual]</code></td>
Chris@1 475 </tr>
Chris@1 476 </table>
Chris@1 477 </div>
Chris@1 478 <div class="memdoc">
Chris@1 479
Chris@1 480 <p>Reset the plugin after use, to prepare it for another clean run. </p>
Chris@1 481 <p>Not called for the first initialisation (i.e. initialise must also do a reset). </p>
Chris@1 482
Chris@1 483 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ad19cc0614ba41cdc26ef3394c5146fe6">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 484
Chris@1 485 </div>
Chris@1 486 </div>
Chris@1 487 <a class="anchor" id="a3314b456a4780601c021dac25b478846"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::process" ref="a3314b456a4780601c021dac25b478846" args="(const float *const *inputBuffers, RealTime timestamp)" -->
Chris@1 488 <div class="memitem">
Chris@1 489 <div class="memproto">
Chris@1 490 <table class="memname">
Chris@1 491 <tr>
Chris@1 492 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::HostExt::PluginSummarisingAdapter::process </td>
Chris@1 493 <td>(</td>
Chris@1 494 <td class="paramtype">const float *const *&#160;</td>
Chris@1 495 <td class="paramname"><em>inputBuffers</em>, </td>
Chris@1 496 </tr>
Chris@1 497 <tr>
Chris@1 498 <td class="paramkey"></td>
Chris@1 499 <td></td>
Chris@1 500 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&#160;</td>
Chris@1 501 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 502 </tr>
Chris@1 503 <tr>
Chris@1 504 <td></td>
Chris@1 505 <td>)</td>
Chris@1 506 <td></td><td><code> [virtual]</code></td>
Chris@1 507 </tr>
Chris@1 508 </table>
Chris@1 509 </div>
Chris@1 510 <div class="memdoc">
Chris@1 511
Chris@1 512 <p>Process a single block of input data. </p>
Chris@1 513 <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 514 <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 515 <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 516
Chris@1 517 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 518
Chris@1 519 </div>
Chris@1 520 </div>
Chris@1 521 <a class="anchor" id="ae9dcbd1ba8197ff90b4fc6bf7ade7688"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getRemainingFeatures" ref="ae9dcbd1ba8197ff90b4fc6bf7ade7688" args="()" -->
Chris@1 522 <div class="memitem">
Chris@1 523 <div class="memproto">
Chris@1 524 <table class="memname">
Chris@1 525 <tr>
Chris@1 526 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::HostExt::PluginSummarisingAdapter::getRemainingFeatures </td>
Chris@1 527 <td>(</td>
Chris@1 528 <td class="paramname"></td><td>)</td>
Chris@1 529 <td><code> [virtual]</code></td>
Chris@1 530 </tr>
Chris@1 531 </table>
Chris@1 532 </div>
Chris@1 533 <div class="memdoc">
Chris@1 534
Chris@1 535 <p>After all blocks have been processed, calculate and return any remaining features derived from the complete input. </p>
Chris@1 536
Chris@1 537 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2bc8c0992e64f06991fb7cf89f99857e">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 538
Chris@1 539 </div>
Chris@1 540 </div>
Chris@1 541 <a class="anchor" id="a1a659500ca1290a228c0b9b91f6ac0b7"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::setSummarySegmentBoundaries" ref="a1a659500ca1290a228c0b9b91f6ac0b7" args="(const SegmentBoundaries &amp;)" -->
Chris@1 542 <div class="memitem">
Chris@1 543 <div class="memproto">
Chris@1 544 <table class="memname">
Chris@1 545 <tr>
Chris@1 546 <td class="memname">void Vamp::HostExt::PluginSummarisingAdapter::setSummarySegmentBoundaries </td>
Chris@1 547 <td>(</td>
Chris@1 548 <td class="paramtype">const <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a74e7f93c745802a2409185b63922466b">SegmentBoundaries</a> &amp;&#160;</td>
Chris@1 549 <td class="paramname"></td><td>)</td>
Chris@1 550 <td></td>
Chris@1 551 </tr>
Chris@1 552 </table>
Chris@1 553 </div>
Chris@1 554 <div class="memdoc">
Chris@1 555
Chris@1 556 <p>Specify a series of segment boundaries, such that one summary will be returned for each of the contiguous intra-boundary segments. </p>
Chris@1 557 <p>This function must be called before getSummaryForOutput or getSummaryForAllOutputs.</p>
Chris@1 558 <p>Note that you cannot retrieve results with multiple different segmentations by repeatedly calling this function followed by one of the getSummary functions. The summaries are all calculated at the first call to any getSummary function, and once the summaries have been calculated, they remain calculated. </p>
Chris@1 559
Chris@1 560 </div>
Chris@1 561 </div>
Chris@1 562 <a class="anchor" id="abe13faa68d3244b962dbd362671e23f9"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getSummaryForOutput" ref="abe13faa68d3244b962dbd362671e23f9" args="(int output, SummaryType type, AveragingMethod method=SampleAverage)" -->
Chris@1 563 <div class="memitem">
Chris@1 564 <div class="memproto">
Chris@1 565 <table class="memname">
Chris@1 566 <tr>
Chris@1 567 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a> Vamp::HostExt::PluginSummarisingAdapter::getSummaryForOutput </td>
Chris@1 568 <td>(</td>
Chris@1 569 <td class="paramtype">int&#160;</td>
Chris@1 570 <td class="paramname"><em>output</em>, </td>
Chris@1 571 </tr>
Chris@1 572 <tr>
Chris@1 573 <td class="paramkey"></td>
Chris@1 574 <td></td>
Chris@1 575 <td class="paramtype"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705">SummaryType</a>&#160;</td>
Chris@1 576 <td class="paramname"><em>type</em>, </td>
Chris@1 577 </tr>
Chris@1 578 <tr>
Chris@1 579 <td class="paramkey"></td>
Chris@1 580 <td></td>
Chris@1 581 <td class="paramtype"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">AveragingMethod</a>&#160;</td>
Chris@1 582 <td class="paramname"><em>method</em> = <code>SampleAverage</code>&#160;</td>
Chris@1 583 </tr>
Chris@1 584 <tr>
Chris@1 585 <td></td>
Chris@1 586 <td>)</td>
Chris@1 587 <td></td><td></td>
Chris@1 588 </tr>
Chris@1 589 </table>
Chris@1 590 </div>
Chris@1 591 <div class="memdoc">
Chris@1 592
Chris@1 593 <p>Return summaries of the features that were returned on the given output, using the given SummaryType and AveragingMethod. </p>
Chris@1 594 <p>The plugin must have been fully run (<a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a3314b456a4780601c021dac25b478846" title="Process a single block of input data.">process()</a> and <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#ae9dcbd1ba8197ff90b4fc6bf7ade7688" title="After all blocks have been processed, calculate and return any remaining features derived from the co...">getRemainingFeatures()</a> calls all made as appropriate) before this function is called. </p>
Chris@1 595
Chris@1 596 </div>
Chris@1 597 </div>
Chris@1 598 <a class="anchor" id="ac3f93d9ca2d25c9fdc80d0ba10eaaa6b"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getSummaryForAllOutputs" ref="ac3f93d9ca2d25c9fdc80d0ba10eaaa6b" args="(SummaryType type, AveragingMethod method=SampleAverage)" -->
Chris@1 599 <div class="memitem">
Chris@1 600 <div class="memproto">
Chris@1 601 <table class="memname">
Chris@1 602 <tr>
Chris@1 603 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::HostExt::PluginSummarisingAdapter::getSummaryForAllOutputs </td>
Chris@1 604 <td>(</td>
Chris@1 605 <td class="paramtype"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af504f810448961fc489e9b6572471705">SummaryType</a>&#160;</td>
Chris@1 606 <td class="paramname"><em>type</em>, </td>
Chris@1 607 </tr>
Chris@1 608 <tr>
Chris@1 609 <td class="paramkey"></td>
Chris@1 610 <td></td>
Chris@1 611 <td class="paramtype"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a294e9eed9c541dcedbaa4f2dfda1ac76">AveragingMethod</a>&#160;</td>
Chris@1 612 <td class="paramname"><em>method</em> = <code>SampleAverage</code>&#160;</td>
Chris@1 613 </tr>
Chris@1 614 <tr>
Chris@1 615 <td></td>
Chris@1 616 <td>)</td>
Chris@1 617 <td></td><td></td>
Chris@1 618 </tr>
Chris@1 619 </table>
Chris@1 620 </div>
Chris@1 621 <div class="memdoc">
Chris@1 622
Chris@1 623 <p>Return summaries of the features that were returned on all of the plugin's outputs, using the given SummaryType and AveragingMethod. </p>
Chris@1 624 <p>The plugin must have been fully run (<a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a3314b456a4780601c021dac25b478846" title="Process a single block of input data.">process()</a> and <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#ae9dcbd1ba8197ff90b4fc6bf7ade7688" title="After all blocks have been processed, calculate and return any remaining features derived from the co...">getRemainingFeatures()</a> calls all made as appropriate) before this function is called. </p>
Chris@1 625
Chris@1 626 </div>
Chris@1 627 </div>
Chris@1 628 <a class="anchor" id="ae203faf8384c9e1fddc381409aa8a214"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getInputDomain" ref="ae203faf8384c9e1fddc381409aa8a214" args="() const " -->
Chris@1 629 <div class="memitem">
Chris@1 630 <div class="memproto">
Chris@1 631 <table class="memname">
Chris@1 632 <tr>
Chris@1 633 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> Vamp::HostExt::PluginWrapper::getInputDomain </td>
Chris@1 634 <td>(</td>
Chris@1 635 <td class="paramname"></td><td>)</td>
Chris@1 636 <td> const<code> [virtual, inherited]</code></td>
Chris@1 637 </tr>
Chris@1 638 </table>
Chris@1 639 </div>
Chris@1 640 <div class="memdoc">
Chris@1 641
Chris@1 642 <p>Get the plugin's required input domain. </p>
Chris@1 643 <p>If this is TimeDomain, the samples provided to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function (below) will be in the time domain, as for a traditional audio processing plugin.</p>
Chris@1 644 <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="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a>. The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. </p>
Chris@1 645
Chris@1 646 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
Chris@1 647
Chris@1 648 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#a47ff1ed72889f323da63f8abc9ea581a">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
Chris@1 649
Chris@1 650 </div>
Chris@1 651 </div>
Chris@1 652 <a class="anchor" id="a74147fda6b44ff2169bd4a1eea0d46ff"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getVampApiVersion" ref="a74147fda6b44ff2169bd4a1eea0d46ff" args="() const " -->
Chris@1 653 <div class="memitem">
Chris@1 654 <div class="memproto">
Chris@1 655 <table class="memname">
Chris@1 656 <tr>
Chris@1 657 <td class="memname">unsigned int Vamp::HostExt::PluginWrapper::getVampApiVersion </td>
Chris@1 658 <td>(</td>
Chris@1 659 <td class="paramname"></td><td>)</td>
Chris@1 660 <td> const<code> [virtual, inherited]</code></td>
Chris@1 661 </tr>
Chris@1 662 </table>
Chris@1 663 </div>
Chris@1 664 <div class="memdoc">
Chris@1 665
Chris@1 666 <p>Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. </p>
Chris@1 667
Chris@1 668 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a8fd2c48291c64b790f0efb8948508dcf">Vamp::PluginBase</a>.</p>
Chris@1 669
Chris@1 670 </div>
Chris@1 671 </div>
Chris@1 672 <a class="anchor" id="a4baa9e48f717c2b3e7f92496aa39d904"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getIdentifier" ref="a4baa9e48f717c2b3e7f92496aa39d904" args="() const " -->
Chris@1 673 <div class="memitem">
Chris@1 674 <div class="memproto">
Chris@1 675 <table class="memname">
Chris@1 676 <tr>
Chris@1 677 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getIdentifier </td>
Chris@1 678 <td>(</td>
Chris@1 679 <td class="paramname"></td><td>)</td>
Chris@1 680 <td> const<code> [virtual, inherited]</code></td>
Chris@1 681 </tr>
Chris@1 682 </table>
Chris@1 683 </div>
Chris@1 684 <div class="memdoc">
Chris@1 685
Chris@1 686 <p>Get the computer-usable name of the plugin. </p>
Chris@1 687 <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 688 <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 689 <p>Example: "zero_crossings" </p>
Chris@1 690
Chris@1 691 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ad1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
Chris@1 692
Chris@1 693 </div>
Chris@1 694 </div>
Chris@1 695 <a class="anchor" id="ac70a3265bb25aeb03f6dd8f8a0442088"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getName" ref="ac70a3265bb25aeb03f6dd8f8a0442088" args="() const " -->
Chris@1 696 <div class="memitem">
Chris@1 697 <div class="memproto">
Chris@1 698 <table class="memname">
Chris@1 699 <tr>
Chris@1 700 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getName </td>
Chris@1 701 <td>(</td>
Chris@1 702 <td class="paramname"></td><td>)</td>
Chris@1 703 <td> const<code> [virtual, inherited]</code></td>
Chris@1 704 </tr>
Chris@1 705 </table>
Chris@1 706 </div>
Chris@1 707 <div class="memdoc">
Chris@1 708
Chris@1 709 <p>Get a human-readable name or title of the plugin. </p>
Chris@1 710 <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 711 <p>Example: "Zero Crossings" </p>
Chris@1 712
Chris@1 713 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
Chris@1 714
Chris@1 715 </div>
Chris@1 716 </div>
Chris@1 717 <a class="anchor" id="ac334f699c0996055942785410d8a065c"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getDescription" ref="ac334f699c0996055942785410d8a065c" args="() const " -->
Chris@1 718 <div class="memitem">
Chris@1 719 <div class="memproto">
Chris@1 720 <table class="memname">
Chris@1 721 <tr>
Chris@1 722 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getDescription </td>
Chris@1 723 <td>(</td>
Chris@1 724 <td class="paramname"></td><td>)</td>
Chris@1 725 <td> const<code> [virtual, inherited]</code></td>
Chris@1 726 </tr>
Chris@1 727 </table>
Chris@1 728 </div>
Chris@1 729 <div class="memdoc">
Chris@1 730
Chris@1 731 <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 732 <p>May be empty if the name has said it all already.</p>
Chris@1 733 <p>Example: "Detect and count zero crossing points" </p>
Chris@1 734
Chris@1 735 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
Chris@1 736
Chris@1 737 </div>
Chris@1 738 </div>
Chris@1 739 <a class="anchor" id="a59d5a2298951b317995675e664b1c7bb"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getMaker" ref="a59d5a2298951b317995675e664b1c7bb" args="() const " -->
Chris@1 740 <div class="memitem">
Chris@1 741 <div class="memproto">
Chris@1 742 <table class="memname">
Chris@1 743 <tr>
Chris@1 744 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getMaker </td>
Chris@1 745 <td>(</td>
Chris@1 746 <td class="paramname"></td><td>)</td>
Chris@1 747 <td> const<code> [virtual, inherited]</code></td>
Chris@1 748 </tr>
Chris@1 749 </table>
Chris@1 750 </div>
Chris@1 751 <div class="memdoc">
Chris@1 752
Chris@1 753 <p>Get the name of the author or vendor of the plugin in human-readable form. </p>
Chris@1 754 <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 755
Chris@1 756 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
Chris@1 757
Chris@1 758 </div>
Chris@1 759 </div>
Chris@1 760 <a class="anchor" id="a47e1acf1696813008324a915c9ba59c5"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getPluginVersion" ref="a47e1acf1696813008324a915c9ba59c5" args="() const " -->
Chris@1 761 <div class="memitem">
Chris@1 762 <div class="memproto">
Chris@1 763 <table class="memname">
Chris@1 764 <tr>
Chris@1 765 <td class="memname">int Vamp::HostExt::PluginWrapper::getPluginVersion </td>
Chris@1 766 <td>(</td>
Chris@1 767 <td class="paramname"></td><td>)</td>
Chris@1 768 <td> const<code> [virtual, inherited]</code></td>
Chris@1 769 </tr>
Chris@1 770 </table>
Chris@1 771 </div>
Chris@1 772 <div class="memdoc">
Chris@1 773
Chris@1 774 <p>Get the version number of the plugin. </p>
Chris@1 775
Chris@1 776 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
Chris@1 777
Chris@1 778 </div>
Chris@1 779 </div>
Chris@1 780 <a class="anchor" id="ae14f6ecb78be909c4cd5f0cdaed3c566"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getCopyright" ref="ae14f6ecb78be909c4cd5f0cdaed3c566" args="() const " -->
Chris@1 781 <div class="memitem">
Chris@1 782 <div class="memproto">
Chris@1 783 <table class="memname">
Chris@1 784 <tr>
Chris@1 785 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getCopyright </td>
Chris@1 786 <td>(</td>
Chris@1 787 <td class="paramname"></td><td>)</td>
Chris@1 788 <td> const<code> [virtual, inherited]</code></td>
Chris@1 789 </tr>
Chris@1 790 </table>
Chris@1 791 </div>
Chris@1 792 <div class="memdoc">
Chris@1 793
Chris@1 794 <p>Get the copyright statement or licensing summary for the plugin. </p>
Chris@1 795 <p>This can be an informative text, without the same presentation constraints as mentioned for getMaker above. </p>
Chris@1 796
Chris@1 797 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ab7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
Chris@1 798
Chris@1 799 </div>
Chris@1 800 </div>
Chris@1 801 <a class="anchor" id="a9be71561265c2e6e43b7feaddaa91f36"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getParameterDescriptors" ref="a9be71561265c2e6e43b7feaddaa91f36" args="() const " -->
Chris@1 802 <div class="memitem">
Chris@1 803 <div class="memproto">
Chris@1 804 <table class="memname">
Chris@1 805 <tr>
Chris@1 806 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> Vamp::HostExt::PluginWrapper::getParameterDescriptors </td>
Chris@1 807 <td>(</td>
Chris@1 808 <td class="paramname"></td><td>)</td>
Chris@1 809 <td> const<code> [virtual, inherited]</code></td>
Chris@1 810 </tr>
Chris@1 811 </table>
Chris@1 812 </div>
Chris@1 813 <div class="memdoc">
Chris@1 814
Chris@1 815 <p>Get the controllable parameters of this plugin. </p>
Chris@1 816
Chris@1 817 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aac3e49b3b66cacfbb768dfdf07444f21">Vamp::PluginBase</a>.</p>
Chris@1 818
Chris@1 819 </div>
Chris@1 820 </div>
Chris@1 821 <a class="anchor" id="a034920f56c8d7609a85447c42556048c"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getParameter" ref="a034920f56c8d7609a85447c42556048c" args="(std::string) const " -->
Chris@1 822 <div class="memitem">
Chris@1 823 <div class="memproto">
Chris@1 824 <table class="memname">
Chris@1 825 <tr>
Chris@1 826 <td class="memname">float Vamp::HostExt::PluginWrapper::getParameter </td>
Chris@1 827 <td>(</td>
Chris@1 828 <td class="paramtype">std::string&#160;</td>
Chris@1 829 <td class="paramname"></td><td>)</td>
Chris@1 830 <td> const<code> [virtual, inherited]</code></td>
Chris@1 831 </tr>
Chris@1 832 </table>
Chris@1 833 </div>
Chris@1 834 <div class="memdoc">
Chris@1 835
Chris@1 836 <p>Get the value of a named parameter. </p>
Chris@1 837 <p>The argument is the identifier field from that parameter's descriptor. </p>
Chris@1 838
Chris@1 839 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a97ababcd45348ceec998d0f8e0f38bf7">Vamp::PluginBase</a>.</p>
Chris@1 840
Chris@1 841 </div>
Chris@1 842 </div>
Chris@1 843 <a class="anchor" id="a651b15a5dc4c27942ac0c87c6092bfe5"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::setParameter" ref="a651b15a5dc4c27942ac0c87c6092bfe5" args="(std::string, float)" -->
Chris@1 844 <div class="memitem">
Chris@1 845 <div class="memproto">
Chris@1 846 <table class="memname">
Chris@1 847 <tr>
Chris@1 848 <td class="memname">void Vamp::HostExt::PluginWrapper::setParameter </td>
Chris@1 849 <td>(</td>
Chris@1 850 <td class="paramtype">std::string&#160;</td>
Chris@1 851 <td class="paramname">, </td>
Chris@1 852 </tr>
Chris@1 853 <tr>
Chris@1 854 <td class="paramkey"></td>
Chris@1 855 <td></td>
Chris@1 856 <td class="paramtype">float&#160;</td>
Chris@1 857 <td class="paramname">&#160;</td>
Chris@1 858 </tr>
Chris@1 859 <tr>
Chris@1 860 <td></td>
Chris@1 861 <td>)</td>
Chris@1 862 <td></td><td><code> [virtual, inherited]</code></td>
Chris@1 863 </tr>
Chris@1 864 </table>
Chris@1 865 </div>
Chris@1 866 <div class="memdoc">
Chris@1 867
Chris@1 868 <p>Set a named parameter. </p>
Chris@1 869 <p>The first argument is the identifier field from that parameter's descriptor. </p>
Chris@1 870
Chris@1 871 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
Chris@1 872
Chris@1 873 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a7a979b20c169d37adbd7b7d8b8a077b3">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 874
Chris@1 875 </div>
Chris@1 876 </div>
Chris@1 877 <a class="anchor" id="a131fbe1df81215020b9aa8cecef4c802"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getPrograms" ref="a131fbe1df81215020b9aa8cecef4c802" args="() const " -->
Chris@1 878 <div class="memitem">
Chris@1 879 <div class="memproto">
Chris@1 880 <table class="memname">
Chris@1 881 <tr>
Chris@1 882 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::HostExt::PluginWrapper::getPrograms </td>
Chris@1 883 <td>(</td>
Chris@1 884 <td class="paramname"></td><td>)</td>
Chris@1 885 <td> const<code> [virtual, inherited]</code></td>
Chris@1 886 </tr>
Chris@1 887 </table>
Chris@1 888 </div>
Chris@1 889 <div class="memdoc">
Chris@1 890
Chris@1 891 <p>Get the program settings available in this plugin. </p>
Chris@1 892 <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 893 <p>The programs must have unique names. </p>
Chris@1 894
Chris@1 895 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#abb307c60bdb981d5f5af50c3c4ae84af">Vamp::PluginBase</a>.</p>
Chris@1 896
Chris@1 897 </div>
Chris@1 898 </div>
Chris@1 899 <a class="anchor" id="a7a312dd42d161064b70afd7ff24c0651"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getCurrentProgram" ref="a7a312dd42d161064b70afd7ff24c0651" args="() const " -->
Chris@1 900 <div class="memitem">
Chris@1 901 <div class="memproto">
Chris@1 902 <table class="memname">
Chris@1 903 <tr>
Chris@1 904 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getCurrentProgram </td>
Chris@1 905 <td>(</td>
Chris@1 906 <td class="paramname"></td><td>)</td>
Chris@1 907 <td> const<code> [virtual, inherited]</code></td>
Chris@1 908 </tr>
Chris@1 909 </table>
Chris@1 910 </div>
Chris@1 911 <div class="memdoc">
Chris@1 912
Chris@1 913 <p>Get the current program. </p>
Chris@1 914
Chris@1 915 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a24e77eccf1bdfbbca3c79bb25e8799b3">Vamp::PluginBase</a>.</p>
Chris@1 916
Chris@1 917 </div>
Chris@1 918 </div>
Chris@1 919 <a class="anchor" id="a074978333a74fdcf336a8a1d8ea20abf"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::selectProgram" ref="a074978333a74fdcf336a8a1d8ea20abf" args="(std::string)" -->
Chris@1 920 <div class="memitem">
Chris@1 921 <div class="memproto">
Chris@1 922 <table class="memname">
Chris@1 923 <tr>
Chris@1 924 <td class="memname">void Vamp::HostExt::PluginWrapper::selectProgram </td>
Chris@1 925 <td>(</td>
Chris@1 926 <td class="paramtype">std::string&#160;</td>
Chris@1 927 <td class="paramname"></td><td>)</td>
Chris@1 928 <td><code> [virtual, inherited]</code></td>
Chris@1 929 </tr>
Chris@1 930 </table>
Chris@1 931 </div>
Chris@1 932 <div class="memdoc">
Chris@1 933
Chris@1 934 <p>Select a program. </p>
Chris@1 935 <p>(If the given program name is not one of the available programs, do nothing.) </p>
Chris@1 936
Chris@1 937 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aadd3a547ef140bae200473a9518e3353">Vamp::PluginBase</a>.</p>
Chris@1 938
Chris@1 939 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a3cc7000e0aff525950e0a286b87f8927">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 940
Chris@1 941 </div>
Chris@1 942 </div>
Chris@1 943 <a class="anchor" id="a0137d93d7019bacc31104836fb4d352e"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getPreferredStepSize" ref="a0137d93d7019bacc31104836fb4d352e" args="() const " -->
Chris@1 944 <div class="memitem">
Chris@1 945 <div class="memproto">
Chris@1 946 <table class="memname">
Chris@1 947 <tr>
Chris@1 948 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getPreferredStepSize </td>
Chris@1 949 <td>(</td>
Chris@1 950 <td class="paramname"></td><td>)</td>
Chris@1 951 <td> const<code> [virtual, inherited]</code></td>
Chris@1 952 </tr>
Chris@1 953 </table>
Chris@1 954 </div>
Chris@1 955 <div class="memdoc">
Chris@1 956
Chris@1 957 <p>Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function) for the plugin. </p>
Chris@1 958 <p>This should be called before <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>.</p>
Chris@1 959 <p>A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" 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 960
Chris@1 961 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a514c716c22f81c055f19b56c3f882567">Vamp::Plugin</a>.</p>
Chris@1 962
Chris@1 963 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#ad979af9f1cbf2eeb16f4eaedb4a4f565">Vamp::HostExt::PluginInputDomainAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a2e66d009df69c951001e5d2786973d60">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 964
Chris@1 965 </div>
Chris@1 966 </div>
Chris@1 967 <a class="anchor" id="a2c62a656313a819650656643a867ad01"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getPreferredBlockSize" ref="a2c62a656313a819650656643a867ad01" args="() const " -->
Chris@1 968 <div class="memitem">
Chris@1 969 <div class="memproto">
Chris@1 970 <table class="memname">
Chris@1 971 <tr>
Chris@1 972 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getPreferredBlockSize </td>
Chris@1 973 <td>(</td>
Chris@1 974 <td class="paramname"></td><td>)</td>
Chris@1 975 <td> const<code> [virtual, inherited]</code></td>
Chris@1 976 </tr>
Chris@1 977 </table>
Chris@1 978 </div>
Chris@1 979 <div class="memdoc">
Chris@1 980
Chris@1 981 <p>Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function). </p>
Chris@1 982 <p>This should be called before <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>.</p>
Chris@1 983 <p>A plugin that can handle any block size may return 0. The final block size will be set in the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" 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 984
Chris@1 985 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#aa529adf83f87a603954eb31407602aac">Vamp::Plugin</a>.</p>
Chris@1 986
Chris@1 987 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a21e45180b19873f9ab69fe7a4e184a03">Vamp::HostExt::PluginBufferingAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#a4cf40d09d02022b1962ff17bb0324ea5">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
Chris@1 988
Chris@1 989 </div>
Chris@1 990 </div>
Chris@1 991 <a class="anchor" id="a2b28f1cf37d46a514f1e1411a6037bf8"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getMinChannelCount" ref="a2b28f1cf37d46a514f1e1411a6037bf8" args="() const " -->
Chris@1 992 <div class="memitem">
Chris@1 993 <div class="memproto">
Chris@1 994 <table class="memname">
Chris@1 995 <tr>
Chris@1 996 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getMinChannelCount </td>
Chris@1 997 <td>(</td>
Chris@1 998 <td class="paramname"></td><td>)</td>
Chris@1 999 <td> const<code> [virtual, inherited]</code></td>
Chris@1 1000 </tr>
Chris@1 1001 </table>
Chris@1 1002 </div>
Chris@1 1003 <div class="memdoc">
Chris@1 1004
Chris@1 1005 <p>Get the minimum supported number of input channels. </p>
Chris@1 1006
Chris@1 1007 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a267b42e866df3cf0d190893e8096f525">Vamp::Plugin</a>.</p>
Chris@1 1008
Chris@1 1009 </div>
Chris@1 1010 </div>
Chris@1 1011 <a class="anchor" id="a985eb21f1827bfbc3950d6871b107a58"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getMaxChannelCount" ref="a985eb21f1827bfbc3950d6871b107a58" args="() const " -->
Chris@1 1012 <div class="memitem">
Chris@1 1013 <div class="memproto">
Chris@1 1014 <table class="memname">
Chris@1 1015 <tr>
Chris@1 1016 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getMaxChannelCount </td>
Chris@1 1017 <td>(</td>
Chris@1 1018 <td class="paramname"></td><td>)</td>
Chris@1 1019 <td> const<code> [virtual, inherited]</code></td>
Chris@1 1020 </tr>
Chris@1 1021 </table>
Chris@1 1022 </div>
Chris@1 1023 <div class="memdoc">
Chris@1 1024
Chris@1 1025 <p>Get the maximum supported number of input channels. </p>
Chris@1 1026
Chris@1 1027 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a2c5ab12b6fa4847cb244bd1e9cb3ae5e">Vamp::Plugin</a>.</p>
Chris@1 1028
Chris@1 1029 </div>
Chris@1 1030 </div>
Chris@1 1031 <a class="anchor" id="a5a9411305f713b4c9827844b89acd270"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getOutputDescriptors" ref="a5a9411305f713b4c9827844b89acd270" args="() const " -->
Chris@1 1032 <div class="memitem">
Chris@1 1033 <div class="memproto">
Chris@1 1034 <table class="memname">
Chris@1 1035 <tr>
Chris@1 1036 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a> Vamp::HostExt::PluginWrapper::getOutputDescriptors </td>
Chris@1 1037 <td>(</td>
Chris@1 1038 <td class="paramname"></td><td>)</td>
Chris@1 1039 <td> const<code> [virtual, inherited]</code></td>
Chris@1 1040 </tr>
Chris@1 1041 </table>
Chris@1 1042 </div>
Chris@1 1043 <div class="memdoc">
Chris@1 1044
Chris@1 1045 <p>Get the outputs of this plugin. </p>
Chris@1 1046 <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="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> call. </p>
Chris@1 1047
Chris@1 1048 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
Chris@1 1049
Chris@1 1050 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#af8cc914897a284433de220f1153f3845">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 1051
Chris@1 1052 </div>
Chris@1 1053 </div>
Chris@1 1054 <a class="anchor" id="a653d0308e8e34881a8749b7631d00f05"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getWrapper" ref="a653d0308e8e34881a8749b7631d00f05" args="()" -->
Chris@1 1055 <div class="memitem">
Chris@1 1056 <div class="memproto">
Chris@1 1057 <div class="memtemplate">
Chris@1 1058 template&lt;typename WrapperType &gt; </div>
Chris@1 1059 <table class="memname">
Chris@1 1060 <tr>
Chris@1 1061 <td class="memname">WrapperType* Vamp::HostExt::PluginWrapper::getWrapper </td>
Chris@1 1062 <td>(</td>
Chris@1 1063 <td class="paramname"></td><td>)</td>
Chris@1 1064 <td><code> [inline, inherited]</code></td>
Chris@1 1065 </tr>
Chris@1 1066 </table>
Chris@1 1067 </div>
Chris@1 1068 <div class="memdoc">
Chris@1 1069
Chris@1 1070 <p>Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present. </p>
Chris@1 1071 <p>This is useful in situations where a plugin is wrapped by multiple different wrappers (one inside another) and the host wants to call some wrapper-specific function on one of the layers without having to care about the order in which they are wrapped. For example, the plugin returned by <a class="el" href="classVamp_1_1HostExt_1_1PluginLoader.html#a964689eb9688cd7e58e8c82ebb0d305f" title="Load a Vamp plugin, given its identifying key.">PluginLoader::loadPlugin</a> may have more than one wrapper; if the host wanted to query or fine-tune some property of one of them, it would be hard to do so without knowing the order of the wrappers. This function therefore gives direct access to the wrapper of a particular type. </p>
Chris@1 1072
Chris@1 1073 <p>Definition at line <a class="el" href="PluginWrapper_8h_source.html#l00116">116</a> of file <a class="el" href="PluginWrapper_8h_source.html">PluginWrapper.h</a>.</p>
Chris@1 1074
Chris@1 1075 <p>References <a class="el" href="PluginWrapper_8h_source.html#l00116">Vamp::HostExt::PluginWrapper::getWrapper()</a>.</p>
Chris@1 1076
Chris@1 1077 <p>Referenced by <a class="el" href="PluginWrapper_8h_source.html#l00116">Vamp::HostExt::PluginWrapper::getWrapper()</a>, and <a class="el" href="vamp-simple-host_8cpp_source.html#l00265">runPlugin()</a>.</p>
Chris@1 1078
Chris@1 1079 </div>
Chris@1 1080 </div>
Chris@1 1081 <a class="anchor" id="abe13b3997a69fbcc09e2213faa352f91"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::getType" ref="abe13b3997a69fbcc09e2213faa352f91" args="() const " -->
Chris@1 1082 <div class="memitem">
Chris@1 1083 <div class="memproto">
Chris@1 1084 <table class="memname">
Chris@1 1085 <tr>
Chris@1 1086 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
Chris@1 1087 <td>(</td>
Chris@1 1088 <td class="paramname"></td><td>)</td>
Chris@1 1089 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 1090 </tr>
Chris@1 1091 </table>
Chris@1 1092 </div>
Chris@1 1093 <div class="memdoc">
Chris@1 1094
Chris@1 1095 <p>Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. </p>
Chris@1 1096 <p>Do not reimplement this function in your subclass. </p>
Chris@1 1097
Chris@1 1098 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
Chris@1 1099
Chris@1 1100 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00430">430</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1101
Chris@1 1102 </div>
Chris@1 1103 </div>
Chris@1 1104 <hr/><h2>Member Data Documentation</h2>
Chris@1 1105 <a class="anchor" id="af131140817d9f131650af98b6b8d7a94"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::m_impl" ref="af131140817d9f131650af98b6b8d7a94" args="" -->
Chris@1 1106 <div class="memitem">
Chris@1 1107 <div class="memproto">
Chris@1 1108 <table class="memname">
Chris@1 1109 <tr>
Chris@1 1110 <td class="memname">Impl* <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#af131140817d9f131650af98b6b8d7a94">Vamp::HostExt::PluginSummarisingAdapter::m_impl</a><code> [protected]</code></td>
Chris@1 1111 </tr>
Chris@1 1112 </table>
Chris@1 1113 </div>
Chris@1 1114 <div class="memdoc">
Chris@1 1115
Chris@1 1116 <p>Definition at line <a class="el" href="PluginSummarisingAdapter_8h_source.html#l00187">187</a> of file <a class="el" href="PluginSummarisingAdapter_8h_source.html">PluginSummarisingAdapter.h</a>.</p>
Chris@1 1117
Chris@1 1118 </div>
Chris@1 1119 </div>
Chris@1 1120 <a class="anchor" id="ab4e40ecd98b445e1a2aa9e7baa280ea2"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::m_plugin" ref="ab4e40ecd98b445e1a2aa9e7baa280ea2" args="" -->
Chris@1 1121 <div class="memitem">
Chris@1 1122 <div class="memproto">
Chris@1 1123 <table class="memname">
Chris@1 1124 <tr>
Chris@1 1125 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a>* <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ab4e40ecd98b445e1a2aa9e7baa280ea2">Vamp::HostExt::PluginWrapper::m_plugin</a><code> [protected, inherited]</code></td>
Chris@1 1126 </tr>
Chris@1 1127 </table>
Chris@1 1128 </div>
Chris@1 1129 <div class="memdoc">
Chris@1 1130
Chris@1 1131 <p>Definition at line <a class="el" href="PluginWrapper_8h_source.html#l00126">126</a> of file <a class="el" href="PluginWrapper_8h_source.html">PluginWrapper.h</a>.</p>
Chris@1 1132
Chris@1 1133 </div>
Chris@1 1134 </div>
Chris@1 1135 <a class="anchor" id="a59b9dd82a4f4eb946cd0474cc81abc23"></a><!-- doxytag: member="Vamp::HostExt::PluginSummarisingAdapter::m_inputSampleRate" ref="a59b9dd82a4f4eb946cd0474cc81abc23" args="" -->
Chris@1 1136 <div class="memitem">
Chris@1 1137 <div class="memproto">
Chris@1 1138 <table class="memname">
Chris@1 1139 <tr>
Chris@1 1140 <td class="memname">float <a class="el" href="classVamp_1_1Plugin.html#a59b9dd82a4f4eb946cd0474cc81abc23">Vamp::Plugin::m_inputSampleRate</a><code> [protected, inherited]</code></td>
Chris@1 1141 </tr>
Chris@1 1142 </table>
Chris@1 1143 </div>
Chris@1 1144 <div class="memdoc">
Chris@1 1145
Chris@1 1146 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00436">436</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1147
Chris@1 1148 <p>Referenced by <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00481">FixedTempoEstimator::D::assembleFeatures()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00375">FixedTempoEstimator::D::calculate()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00190">FixedTempoEstimator::D::getOutputDescriptors()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00111">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00252">FixedTempoEstimator::D::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00363">FixedTempoEstimator::D::lag2tempo()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00142">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00146">SpectralCentroid::process()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00226">PercussionOnsetDetector::process()</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00369">FixedTempoEstimator::D::tempo2lag()</a>.</p>
Chris@1 1149
Chris@1 1150 </div>
Chris@1 1151 </div>
Chris@1 1152 <hr/>The documentation for this class was generated from the following file:<ul>
Chris@1 1153 <li><a class="el" href="PluginSummarisingAdapter_8h_source.html">PluginSummarisingAdapter.h</a></li>
Chris@1 1154 </ul>
Chris@1 1155 </div>
Chris@1 1156 </div>
Chris@1 1157 <div id="nav-path" class="navpath">
Chris@1 1158 <ul>
Chris@1 1159 <li class="navelem"><a class="el" href="namespaceVamp.html">Vamp</a> </li>
Chris@1 1160 <li class="navelem"><a class="el" href="namespaceVamp_1_1HostExt.html">HostExt</a> </li>
Chris@1 1161 <li class="navelem"><a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html">PluginSummarisingAdapter</a> </li>
Chris@1 1162
Chris@1 1163 <li class="footer">Generated on Tue Oct 4 2011 14:38:53 for VampPluginSDK by
Chris@1 1164 <a href="http://www.doxygen.org/index.html">
Chris@1 1165 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
Chris@1 1166 </ul>
Chris@1 1167 </div>
Chris@1 1168
Chris@1 1169
Chris@1 1170 </body>
Chris@1 1171 </html>