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

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