cannam@0
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
cannam@0
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
cannam@0
|
3 <title>VampPluginSDK: Vamp::HostExt::PluginChannelAdapter Class Reference</title>
|
cannam@0
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
|
cannam@0
|
5 <link href="tabs.css" rel="stylesheet" type="text/css">
|
cannam@0
|
6 </head><body>
|
cannam@0
|
7 <!-- Generated by Doxygen 1.5.5 -->
|
cannam@0
|
8 <div class="navigation" id="top">
|
cannam@0
|
9 <div class="tabs">
|
cannam@0
|
10 <ul>
|
cannam@0
|
11 <li><a href="main.html"><span>Main Page</span></a></li>
|
cannam@0
|
12 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
cannam@0
|
13 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
cannam@0
|
14 <li><a href="files.html"><span>Files</span></a></li>
|
cannam@0
|
15 <li><a href="dirs.html"><span>Directories</span></a></li>
|
cannam@0
|
16 </ul>
|
cannam@0
|
17 </div>
|
cannam@0
|
18 <div class="tabs">
|
cannam@0
|
19 <ul>
|
cannam@0
|
20 <li><a href="annotated.html"><span>Class List</span></a></li>
|
cannam@0
|
21 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
cannam@0
|
22 <li><a href="functions.html"><span>Class Members</span></a></li>
|
cannam@0
|
23 </ul>
|
cannam@0
|
24 </div>
|
cannam@0
|
25 <div class="navpath"><a class="el" href="namespaceVamp.html">Vamp</a>::<a class="el" href="namespaceVamp_1_1HostExt.html">HostExt</a>::<a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html">PluginChannelAdapter</a>
|
cannam@0
|
26 </div>
|
cannam@0
|
27 </div>
|
cannam@0
|
28 <div class="contents">
|
cannam@0
|
29 <h1>Vamp::HostExt::PluginChannelAdapter Class Reference</h1><!-- doxytag: class="Vamp::HostExt::PluginChannelAdapter" --><!-- doxytag: inherits="Vamp::HostExt::PluginWrapper" --><code>#include <<a class="el" href="PluginChannelAdapter_8h-source.html">vamp-sdk/hostext/PluginChannelAdapter.h</a>></code>
|
cannam@0
|
30 <p>
|
cannam@0
|
31 <div class="dynheader">
|
cannam@0
|
32 Inheritance diagram for Vamp::HostExt::PluginChannelAdapter:</div>
|
cannam@0
|
33 <div class="dynsection">
|
cannam@0
|
34 <p><center><img src="classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.png" border="0" usemap="#Vamp_1_1HostExt_1_1PluginChannelAdapter__inherit__map" alt="Inheritance graph"></center>
|
cannam@0
|
35 <map name="Vamp_1_1HostExt_1_1PluginChannelAdapter__inherit__map">
|
cannam@0
|
36 <area shape="rect" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins." alt="" coords="28,156,228,180"><area shape="rect" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction..." alt="" coords="79,81,177,105"><area shape="rect" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="64,6,192,30"></map>
|
cannam@0
|
37 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
|
cannam@0
|
38
|
cannam@0
|
39 <p>
|
cannam@0
|
40 <a href="classVamp_1_1HostExt_1_1PluginChannelAdapter-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
cannam@0
|
41 <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> is a <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data.
|
cannam@0
|
42 <p>
|
cannam@0
|
43 A host using <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> may ignore the getMinChannelCount and getMaxChannelCount reported by the plugin, and still expect the plugin to run.<p>
|
cannam@0
|
44 <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> implements the following policy:<p>
|
cannam@0
|
45 <ul>
|
cannam@0
|
46 <li>If the plugin supports the provided number of channels directly, <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> will just run the plugin as normal.</li></ul>
|
cannam@0
|
47 <p>
|
cannam@0
|
48 <ul>
|
cannam@0
|
49 <li>If the plugin only supports exactly one channel but more than one channel is provided, <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> will use the mean of the channels. This ensures that the resulting values remain within the same magnitude range as expected for mono data.</li></ul>
|
cannam@0
|
50 <p>
|
cannam@0
|
51 <ul>
|
cannam@0
|
52 <li>If the plugin requires more than one channel but exactly one is provided, the provided channel will be duplicated across all the plugin input channels.</li></ul>
|
cannam@0
|
53 <p>
|
cannam@0
|
54 If none of the above apply:<p>
|
cannam@0
|
55 <ul>
|
cannam@0
|
56 <li>If the plugin requires more channels than are provided, the minimum acceptable number of channels will be produced by adding empty (zero valued) channels to those provided.</li></ul>
|
cannam@0
|
57 <p>
|
cannam@0
|
58 <ul>
|
cannam@0
|
59 <li>If the plugin requires fewer channels than are provided, the maximum acceptable number of channels will be produced by discarding the excess channels.</li></ul>
|
cannam@0
|
60 <p>
|
cannam@0
|
61 Hosts requiring a different channel policy from the above will need to implement it themselves, instead of using <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a>.<p>
|
cannam@0
|
62 Note that <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> does not override the minimum and maximum channel counts returned by the wrapped plugin. The host will need to be aware that it is using a <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a>, and be prepared to ignore these counts as necessary. (This contrasts with the approach used in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html" title="PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input...">PluginInputDomainAdapter</a>, which aims to make the host completely unaware of which underlying input domain is in fact in use.)<p>
|
cannam@0
|
63 (The rationale for this is that a host may wish to use the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> but still discriminate in some way on the basis of the number of channels actually supported. For example, a simple stereo audio host may prefer to reject plugins that require more than two channels on the grounds that doesn't actually understand what they are for, rather than allow the channel adapter to make a potentially meaningless channel conversion for them.)<p>
|
cannam@0
|
64 In every respect other than its management of channels, the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> behaves identically to the plugin that it wraps. The wrapped plugin will be deleted when the wrapper is deleted.<p>
|
cannam@0
|
65 <dl class="note" compact><dt><b>Note:</b></dt><dd>This class was introduced in version 1.1 of the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> plugin SDK. </dd></dl>
|
cannam@0
|
66
|
cannam@0
|
67 <p>Definition at line <a class="el" href="PluginChannelAdapter_8h-source.html#l00109">109</a> of file <a class="el" href="PluginChannelAdapter_8h-source.html">PluginChannelAdapter.h</a>.</p>
|
cannam@0
|
68 <table border="0" cellpadding="0" cellspacing="0">
|
cannam@0
|
69 <tr><td></td></tr>
|
cannam@0
|
70 <tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
|
cannam@0
|
71 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> { <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff">TimeDomain</a>,
|
cannam@0
|
72 <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
|
cannam@0
|
73 }</td></tr>
|
cannam@0
|
74
|
cannam@0
|
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector<br>
|
cannam@0
|
76 < <a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a></td></tr>
|
cannam@0
|
77
|
cannam@0
|
78 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector< <a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a></td></tr>
|
cannam@0
|
79
|
cannam@0
|
80 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::map< int, <br>
|
cannam@0
|
81 <a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a></td></tr>
|
cannam@0
|
82
|
cannam@0
|
83 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector<br>
|
cannam@0
|
84 < <a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a></td></tr>
|
cannam@0
|
85
|
cannam@0
|
86 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a></td></tr>
|
cannam@0
|
87
|
cannam@0
|
88 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
cannam@0
|
89 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#2cda2b672708264f9a33c43bad3acdd8">PluginChannelAdapter</a> (<a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *plugin)</td></tr>
|
cannam@0
|
90
|
cannam@0
|
91 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#7bd79ac5febc8d3c499e7339476c07b4">~PluginChannelAdapter</a> ()</td></tr>
|
cannam@0
|
92
|
cannam@0
|
93 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#de0473c8fc54636431967cbf41649c1c">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
|
cannam@0
|
94
|
cannam@0
|
95 <tr><td class="mdescLeft"> </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="#de0473c8fc54636431967cbf41649c1c"></a><br></td></tr>
|
cannam@0
|
96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#294e663b4d9ec885791faa1b440571ed">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> timestamp)</td></tr>
|
cannam@0
|
97
|
cannam@0
|
98 <tr><td class="mdescLeft"> </td><td class="mdescRight">Process a single block of input data. <a href="#294e663b4d9ec885791faa1b440571ed"></a><br></td></tr>
|
cannam@0
|
99 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#d19cc0614ba41cdc26ef3394c5146fe6">reset</a> ()</td></tr>
|
cannam@0
|
100
|
cannam@0
|
101 <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#d19cc0614ba41cdc26ef3394c5146fe6"></a><br></td></tr>
|
cannam@0
|
102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#031aa818fd48fd0f4b5e1bf80c032870">getInputDomain</a> () const </td></tr>
|
cannam@0
|
103
|
cannam@0
|
104 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the plugin's required input domain. <a href="#031aa818fd48fd0f4b5e1bf80c032870"></a><br></td></tr>
|
cannam@0
|
105 <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#74147fda6b44ff2169bd4a1eea0d46ff">getVampApiVersion</a> () const </td></tr>
|
cannam@0
|
106
|
cannam@0
|
107 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> API compatibility level of the plugin. <a href="#74147fda6b44ff2169bd4a1eea0d46ff"></a><br></td></tr>
|
cannam@0
|
108 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#4baa9e48f717c2b3e7f92496aa39d904">getIdentifier</a> () const </td></tr>
|
cannam@0
|
109
|
cannam@0
|
110 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#4baa9e48f717c2b3e7f92496aa39d904"></a><br></td></tr>
|
cannam@0
|
111 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#c70a3265bb25aeb03f6dd8f8a0442088">getName</a> () const </td></tr>
|
cannam@0
|
112
|
cannam@0
|
113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#c70a3265bb25aeb03f6dd8f8a0442088"></a><br></td></tr>
|
cannam@0
|
114 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#c334f699c0996055942785410d8a065c">getDescription</a> () const </td></tr>
|
cannam@0
|
115
|
cannam@0
|
116 <tr><td class="mdescLeft"> </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="#c334f699c0996055942785410d8a065c"></a><br></td></tr>
|
cannam@0
|
117 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#59d5a2298951b317995675e664b1c7bb">getMaker</a> () const </td></tr>
|
cannam@0
|
118
|
cannam@0
|
119 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the author or vendor of the plugin in human-readable form. <a href="#59d5a2298951b317995675e664b1c7bb"></a><br></td></tr>
|
cannam@0
|
120 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#47e1acf1696813008324a915c9ba59c5">getPluginVersion</a> () const </td></tr>
|
cannam@0
|
121
|
cannam@0
|
122 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the version number of the plugin. <a href="#47e1acf1696813008324a915c9ba59c5"></a><br></td></tr>
|
cannam@0
|
123 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#e14f6ecb78be909c4cd5f0cdaed3c566">getCopyright</a> () const </td></tr>
|
cannam@0
|
124
|
cannam@0
|
125 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#e14f6ecb78be909c4cd5f0cdaed3c566"></a><br></td></tr>
|
cannam@0
|
126 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#3b075b8f950b344503f0d27ac0fe332e">getParameterDescriptors</a> () const </td></tr>
|
cannam@0
|
127
|
cannam@0
|
128 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#3b075b8f950b344503f0d27ac0fe332e"></a><br></td></tr>
|
cannam@0
|
129 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#034920f56c8d7609a85447c42556048c">getParameter</a> (std::string) const </td></tr>
|
cannam@0
|
130
|
cannam@0
|
131 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a named parameter. <a href="#034920f56c8d7609a85447c42556048c"></a><br></td></tr>
|
cannam@0
|
132 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#651b15a5dc4c27942ac0c87c6092bfe5">setParameter</a> (std::string, float)</td></tr>
|
cannam@0
|
133
|
cannam@0
|
134 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a named parameter. <a href="#651b15a5dc4c27942ac0c87c6092bfe5"></a><br></td></tr>
|
cannam@0
|
135 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#f3abaf717dc4b00cad5770ed6dfa01e1">getPrograms</a> () const </td></tr>
|
cannam@0
|
136
|
cannam@0
|
137 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the program settings available in this plugin. <a href="#f3abaf717dc4b00cad5770ed6dfa01e1"></a><br></td></tr>
|
cannam@0
|
138 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#7a312dd42d161064b70afd7ff24c0651">getCurrentProgram</a> () const </td></tr>
|
cannam@0
|
139
|
cannam@0
|
140 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the current program. <a href="#7a312dd42d161064b70afd7ff24c0651"></a><br></td></tr>
|
cannam@0
|
141 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#074978333a74fdcf336a8a1d8ea20abf">selectProgram</a> (std::string)</td></tr>
|
cannam@0
|
142
|
cannam@0
|
143 <tr><td class="mdescLeft"> </td><td class="mdescRight">Select a program. <a href="#074978333a74fdcf336a8a1d8ea20abf"></a><br></td></tr>
|
cannam@0
|
144 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#0137d93d7019bacc31104836fb4d352e">getPreferredStepSize</a> () const </td></tr>
|
cannam@0
|
145
|
cannam@0
|
146 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" title="Process a single block of input data.">process()</a> function) for the plugin. <a href="#0137d93d7019bacc31104836fb4d352e"></a><br></td></tr>
|
cannam@0
|
147 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2c62a656313a819650656643a867ad01">getPreferredBlockSize</a> () const </td></tr>
|
cannam@0
|
148
|
cannam@0
|
149 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" title="Process a single block of input data.">process()</a> function). <a href="#2c62a656313a819650656643a867ad01"></a><br></td></tr>
|
cannam@0
|
150 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2b28f1cf37d46a514f1e1411a6037bf8">getMinChannelCount</a> () const </td></tr>
|
cannam@0
|
151
|
cannam@0
|
152 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#2b28f1cf37d46a514f1e1411a6037bf8"></a><br></td></tr>
|
cannam@0
|
153 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#985eb21f1827bfbc3950d6871b107a58">getMaxChannelCount</a> () const </td></tr>
|
cannam@0
|
154
|
cannam@0
|
155 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#985eb21f1827bfbc3950d6871b107a58"></a><br></td></tr>
|
cannam@0
|
156 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#02c8c01972affeea58b091335e791ace">getOutputDescriptors</a> () const </td></tr>
|
cannam@0
|
157
|
cannam@0
|
158 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the outputs of this plugin. <a href="#02c8c01972affeea58b091335e791ace"></a><br></td></tr>
|
cannam@0
|
159 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#1dce55a75a32b08fc56a52a300d9fcbe">getRemainingFeatures</a> ()</td></tr>
|
cannam@0
|
160
|
cannam@0
|
161 <tr><td class="mdescLeft"> </td><td class="mdescRight">After all blocks have been processed, calculate and return any remaining features derived from the complete input. <a href="#1dce55a75a32b08fc56a52a300d9fcbe"></a><br></td></tr>
|
cannam@0
|
162 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#be13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr>
|
cannam@0
|
163
|
cannam@0
|
164 <tr><td class="mdescLeft"> </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...">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="#be13b3997a69fbcc09e2213faa352f91"></a><br></td></tr>
|
cannam@0
|
165 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
cannam@0
|
166 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter_1_1Impl.html">Impl</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#e3a74a2e6c4cd33dce9f4248e73c6701">m_impl</a></td></tr>
|
cannam@0
|
167
|
cannam@0
|
168 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#b4e40ecd98b445e1a2aa9e7baa280ea2">m_plugin</a></td></tr>
|
cannam@0
|
169
|
cannam@0
|
170 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#59b9dd82a4f4eb946cd0474cc81abc23">m_inputSampleRate</a></td></tr>
|
cannam@0
|
171
|
cannam@0
|
172 <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
|
cannam@0
|
173 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter_1_1Impl.html">Impl</a></td></tr>
|
cannam@0
|
174
|
cannam@0
|
175 </table>
|
cannam@0
|
176 <hr><h2>Member Typedef Documentation</h2>
|
cannam@0
|
177 <a class="anchor" name="30f531b8fb69fac41a24e3d2a6a08ed9"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::OutputList" ref="30f531b8fb69fac41a24e3d2a6a08ed9" args="" -->
|
cannam@0
|
178 <div class="memitem">
|
cannam@0
|
179 <div class="memproto">
|
cannam@0
|
180 <table class="memname">
|
cannam@0
|
181 <tr>
|
cannam@0
|
182 <td class="memname">typedef std::vector<<a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a>> <a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">Vamp::Plugin::OutputList</a><code> [inherited]</code> </td>
|
cannam@0
|
183 </tr>
|
cannam@0
|
184 </table>
|
cannam@0
|
185 </div>
|
cannam@0
|
186 <div class="memdoc">
|
cannam@0
|
187
|
cannam@0
|
188 <p>
|
cannam@0
|
189
|
cannam@0
|
190 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00309">309</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p>
|
cannam@0
|
191
|
cannam@0
|
192 </div>
|
cannam@0
|
193 </div><p>
|
cannam@0
|
194 <a class="anchor" name="0730bc72c87fa02eb8d2854b233f7be1"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::FeatureList" ref="0730bc72c87fa02eb8d2854b233f7be1" args="" -->
|
cannam@0
|
195 <div class="memitem">
|
cannam@0
|
196 <div class="memproto">
|
cannam@0
|
197 <table class="memname">
|
cannam@0
|
198 <tr>
|
cannam@0
|
199 <td class="memname">typedef std::vector<<a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a>> <a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">Vamp::Plugin::FeatureList</a><code> [inherited]</code> </td>
|
cannam@0
|
200 </tr>
|
cannam@0
|
201 </table>
|
cannam@0
|
202 </div>
|
cannam@0
|
203 <div class="memdoc">
|
cannam@0
|
204
|
cannam@0
|
205 <p>
|
cannam@0
|
206
|
cannam@0
|
207 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00347">347</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p>
|
cannam@0
|
208
|
cannam@0
|
209 </div>
|
cannam@0
|
210 </div><p>
|
cannam@0
|
211 <a class="anchor" name="448fb57dc245d47923ec9eeaf9856c5f"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::FeatureSet" ref="448fb57dc245d47923ec9eeaf9856c5f" args="" -->
|
cannam@0
|
212 <div class="memitem">
|
cannam@0
|
213 <div class="memproto">
|
cannam@0
|
214 <table class="memname">
|
cannam@0
|
215 <tr>
|
cannam@0
|
216 <td class="memname">typedef std::map<int, <a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a>> <a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">Vamp::Plugin::FeatureSet</a><code> [inherited]</code> </td>
|
cannam@0
|
217 </tr>
|
cannam@0
|
218 </table>
|
cannam@0
|
219 </div>
|
cannam@0
|
220 <div class="memdoc">
|
cannam@0
|
221
|
cannam@0
|
222 <p>
|
cannam@0
|
223
|
cannam@0
|
224 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00348">348</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p>
|
cannam@0
|
225
|
cannam@0
|
226 </div>
|
cannam@0
|
227 </div><p>
|
cannam@0
|
228 <a class="anchor" name="3b6bb4bbd86affe1ca9deceea1aad4f8"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::ParameterList" ref="3b6bb4bbd86affe1ca9deceea1aad4f8" args="" -->
|
cannam@0
|
229 <div class="memitem">
|
cannam@0
|
230 <div class="memproto">
|
cannam@0
|
231 <table class="memname">
|
cannam@0
|
232 <tr>
|
cannam@0
|
233 <td class="memname">typedef std::vector<<a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a>> <a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">Vamp::PluginBase::ParameterList</a><code> [inherited]</code> </td>
|
cannam@0
|
234 </tr>
|
cannam@0
|
235 </table>
|
cannam@0
|
236 </div>
|
cannam@0
|
237 <div class="memdoc">
|
cannam@0
|
238
|
cannam@0
|
239 <p>
|
cannam@0
|
240
|
cannam@0
|
241 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00195">195</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p>
|
cannam@0
|
242
|
cannam@0
|
243 </div>
|
cannam@0
|
244 </div><p>
|
cannam@0
|
245 <a class="anchor" name="7f66f00437b21e5f694fe02356b12f20"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::ProgramList" ref="7f66f00437b21e5f694fe02356b12f20" args="" -->
|
cannam@0
|
246 <div class="memitem">
|
cannam@0
|
247 <div class="memproto">
|
cannam@0
|
248 <table class="memname">
|
cannam@0
|
249 <tr>
|
cannam@0
|
250 <td class="memname">typedef std::vector<std::string> <a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a><code> [inherited]</code> </td>
|
cannam@0
|
251 </tr>
|
cannam@0
|
252 </table>
|
cannam@0
|
253 </div>
|
cannam@0
|
254 <div class="memdoc">
|
cannam@0
|
255
|
cannam@0
|
256 <p>
|
cannam@0
|
257
|
cannam@0
|
258 <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00217">217</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p>
|
cannam@0
|
259
|
cannam@0
|
260 </div>
|
cannam@0
|
261 </div><p>
|
cannam@0
|
262 <hr><h2>Member Enumeration Documentation</h2>
|
cannam@0
|
263 <a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bc"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::InputDomain" ref="39cb7649d6dcc20e4cb1640cd55907bc" args="" -->
|
cannam@0
|
264 <div class="memitem">
|
cannam@0
|
265 <div class="memproto">
|
cannam@0
|
266 <table class="memname">
|
cannam@0
|
267 <tr>
|
cannam@0
|
268 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a><code> [inherited]</code> </td>
|
cannam@0
|
269 </tr>
|
cannam@0
|
270 </table>
|
cannam@0
|
271 </div>
|
cannam@0
|
272 <div class="memdoc">
|
cannam@0
|
273
|
cannam@0
|
274 <p>
|
cannam@0
|
275 <dl compact><dt><b>Enumerator: </b></dt><dd>
|
cannam@0
|
276 <table border="0" cellspacing="2" cellpadding="0">
|
cannam@0
|
277 <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff"></a><!-- doxytag: member="TimeDomain" ref="39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff" args="" -->TimeDomain</em> </td><td>
|
cannam@0
|
278 </td></tr>
|
cannam@0
|
279 <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53"></a><!-- doxytag: member="FrequencyDomain" ref="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53" args="" -->FrequencyDomain</em> </td><td>
|
cannam@0
|
280 </td></tr>
|
cannam@0
|
281 </table>
|
cannam@0
|
282 </dl>
|
cannam@0
|
283
|
cannam@0
|
284 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00149">149</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p>
|
cannam@0
|
285
|
cannam@0
|
286 </div>
|
cannam@0
|
287 </div><p>
|
cannam@0
|
288 <hr><h2>Constructor & Destructor Documentation</h2>
|
cannam@0
|
289 <a class="anchor" name="2cda2b672708264f9a33c43bad3acdd8"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::PluginChannelAdapter" ref="2cda2b672708264f9a33c43bad3acdd8" args="(Plugin *plugin)" -->
|
cannam@0
|
290 <div class="memitem">
|
cannam@0
|
291 <div class="memproto">
|
cannam@0
|
292 <table class="memname">
|
cannam@0
|
293 <tr>
|
cannam@0
|
294 <td class="memname">Vamp::HostExt::PluginChannelAdapter::PluginChannelAdapter </td>
|
cannam@0
|
295 <td>(</td>
|
cannam@0
|
296 <td class="paramtype"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> * </td>
|
cannam@0
|
297 <td class="paramname"> <em>plugin</em> </td>
|
cannam@0
|
298 <td> ) </td>
|
cannam@0
|
299 <td width="100%"></td>
|
cannam@0
|
300 </tr>
|
cannam@0
|
301 </table>
|
cannam@0
|
302 </div>
|
cannam@0
|
303 <div class="memdoc">
|
cannam@0
|
304
|
cannam@0
|
305 <p>
|
cannam@0
|
306
|
cannam@0
|
307 <p>Definition at line <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00062">62</a> of file <a class="el" href="PluginChannelAdapter_8cpp-source.html">PluginChannelAdapter.cpp</a>.</p>
|
cannam@0
|
308
|
cannam@0
|
309 <p>References <a class="el" href="PluginChannelAdapter_8h-source.html#l00120">m_impl</a>.</p>
|
cannam@0
|
310
|
cannam@0
|
311 </div>
|
cannam@0
|
312 </div><p>
|
cannam@0
|
313 <a class="anchor" name="7bd79ac5febc8d3c499e7339476c07b4"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::~PluginChannelAdapter" ref="7bd79ac5febc8d3c499e7339476c07b4" args="()" -->
|
cannam@0
|
314 <div class="memitem">
|
cannam@0
|
315 <div class="memproto">
|
cannam@0
|
316 <table class="memname">
|
cannam@0
|
317 <tr>
|
cannam@0
|
318 <td class="memname">Vamp::HostExt::PluginChannelAdapter::~PluginChannelAdapter </td>
|
cannam@0
|
319 <td>(</td>
|
cannam@0
|
320 <td class="paramname"> </td>
|
cannam@0
|
321 <td> ) </td>
|
cannam@0
|
322 <td width="100%"><code> [virtual]</code></td>
|
cannam@0
|
323 </tr>
|
cannam@0
|
324 </table>
|
cannam@0
|
325 </div>
|
cannam@0
|
326 <div class="memdoc">
|
cannam@0
|
327
|
cannam@0
|
328 <p>
|
cannam@0
|
329
|
cannam@0
|
330 <p>Definition at line <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00068">68</a> of file <a class="el" href="PluginChannelAdapter_8cpp-source.html">PluginChannelAdapter.cpp</a>.</p>
|
cannam@0
|
331
|
cannam@0
|
332 <p>References <a class="el" href="PluginChannelAdapter_8h-source.html#l00120">m_impl</a>.</p>
|
cannam@0
|
333
|
cannam@0
|
334 </div>
|
cannam@0
|
335 </div><p>
|
cannam@0
|
336 <hr><h2>Member Function Documentation</h2>
|
cannam@0
|
337 <a class="anchor" name="de0473c8fc54636431967cbf41649c1c"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::initialise" ref="de0473c8fc54636431967cbf41649c1c" args="(size_t channels, size_t stepSize, size_t blockSize)" -->
|
cannam@0
|
338 <div class="memitem">
|
cannam@0
|
339 <div class="memproto">
|
cannam@0
|
340 <table class="memname">
|
cannam@0
|
341 <tr>
|
cannam@0
|
342 <td class="memname">bool Vamp::HostExt::PluginChannelAdapter::initialise </td>
|
cannam@0
|
343 <td>(</td>
|
cannam@0
|
344 <td class="paramtype">size_t </td>
|
cannam@0
|
345 <td class="paramname"> <em>inputChannels</em>, </td>
|
cannam@0
|
346 </tr>
|
cannam@0
|
347 <tr>
|
cannam@0
|
348 <td class="paramkey"></td>
|
cannam@0
|
349 <td></td>
|
cannam@0
|
350 <td class="paramtype">size_t </td>
|
cannam@0
|
351 <td class="paramname"> <em>stepSize</em>, </td>
|
cannam@0
|
352 </tr>
|
cannam@0
|
353 <tr>
|
cannam@0
|
354 <td class="paramkey"></td>
|
cannam@0
|
355 <td></td>
|
cannam@0
|
356 <td class="paramtype">size_t </td>
|
cannam@0
|
357 <td class="paramname"> <em>blockSize</em></td><td> </td>
|
cannam@0
|
358 </tr>
|
cannam@0
|
359 <tr>
|
cannam@0
|
360 <td></td>
|
cannam@0
|
361 <td>)</td>
|
cannam@0
|
362 <td></td><td></td><td width="100%"><code> [virtual]</code></td>
|
cannam@0
|
363 </tr>
|
cannam@0
|
364 </table>
|
cannam@0
|
365 </div>
|
cannam@0
|
366 <div class="memdoc">
|
cannam@0
|
367
|
cannam@0
|
368 <p>
|
cannam@0
|
369 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).
|
cannam@0
|
370 <p>
|
cannam@0
|
371 The input sample rate should have been already specified at construction time.<p>
|
cannam@0
|
372 Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported.
|
cannam@0
|
373 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a1f8290d8e9a315695584dcb3ad137">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
374
|
cannam@0
|
375 <p>Definition at line <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00074">74</a> of file <a class="el" href="PluginChannelAdapter_8cpp-source.html">PluginChannelAdapter.cpp</a>.</p>
|
cannam@0
|
376
|
cannam@0
|
377 <p>References <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00119">Vamp::HostExt::PluginChannelAdapter::Impl::initialise()</a>, and <a class="el" href="PluginChannelAdapter_8h-source.html#l00120">m_impl</a>.</p>
|
cannam@0
|
378
|
cannam@0
|
379 </div>
|
cannam@0
|
380 </div><p>
|
cannam@0
|
381 <a class="anchor" name="294e663b4d9ec885791faa1b440571ed"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::process" ref="294e663b4d9ec885791faa1b440571ed" args="(const float *const *inputBuffers, RealTime timestamp)" -->
|
cannam@0
|
382 <div class="memitem">
|
cannam@0
|
383 <div class="memproto">
|
cannam@0
|
384 <table class="memname">
|
cannam@0
|
385 <tr>
|
cannam@0
|
386 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">PluginChannelAdapter::FeatureSet</a> Vamp::HostExt::PluginChannelAdapter::process </td>
|
cannam@0
|
387 <td>(</td>
|
cannam@0
|
388 <td class="paramtype">const float *const * </td>
|
cannam@0
|
389 <td class="paramname"> <em>inputBuffers</em>, </td>
|
cannam@0
|
390 </tr>
|
cannam@0
|
391 <tr>
|
cannam@0
|
392 <td class="paramkey"></td>
|
cannam@0
|
393 <td></td>
|
cannam@0
|
394 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a> </td>
|
cannam@0
|
395 <td class="paramname"> <em>timestamp</em></td><td> </td>
|
cannam@0
|
396 </tr>
|
cannam@0
|
397 <tr>
|
cannam@0
|
398 <td></td>
|
cannam@0
|
399 <td>)</td>
|
cannam@0
|
400 <td></td><td></td><td width="100%"><code> [virtual]</code></td>
|
cannam@0
|
401 </tr>
|
cannam@0
|
402 </table>
|
cannam@0
|
403 </div>
|
cannam@0
|
404 <div class="memdoc">
|
cannam@0
|
405
|
cannam@0
|
406 <p>
|
cannam@0
|
407 Process a single block of input data.
|
cannam@0
|
408 <p>
|
cannam@0
|
409 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 will be the real time in seconds of the start of the supplied block of samples.<p>
|
cannam@0
|
410 If the plugin's inputDomain is FrequencyDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize/2+1 consecutive pairs of real and imaginary component floats corresponding to bins 0..(blockSize/2) of the FFT output. That is, bin 0 (the first pair of floats) contains the DC output, up to bin blockSize/2 which contains the Nyquist-frequency output. There will therefore be blockSize+2 floats per channel in total. The timestamp will be the real time in seconds of the centre of the FFT input window (i.e. the very first block passed to process might contain the FFT of half a block of zero samples and the first half-block of the actual data, with a timestamp of zero).<p>
|
cannam@0
|
411 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.)
|
cannam@0
|
412 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
413
|
cannam@0
|
414 <p>Definition at line <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00080">80</a> of file <a class="el" href="PluginChannelAdapter_8cpp-source.html">PluginChannelAdapter.cpp</a>.</p>
|
cannam@0
|
415
|
cannam@0
|
416 <p>References <a class="el" href="PluginChannelAdapter_8h-source.html#l00120">m_impl</a>, and <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00177">Vamp::HostExt::PluginChannelAdapter::Impl::process()</a>.</p>
|
cannam@0
|
417
|
cannam@0
|
418 </div>
|
cannam@0
|
419 </div><p>
|
cannam@0
|
420 <a class="anchor" name="d19cc0614ba41cdc26ef3394c5146fe6"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::reset" ref="d19cc0614ba41cdc26ef3394c5146fe6" args="()" -->
|
cannam@0
|
421 <div class="memitem">
|
cannam@0
|
422 <div class="memproto">
|
cannam@0
|
423 <table class="memname">
|
cannam@0
|
424 <tr>
|
cannam@0
|
425 <td class="memname">void Vamp::HostExt::PluginWrapper::reset </td>
|
cannam@0
|
426 <td>(</td>
|
cannam@0
|
427 <td class="paramname"> </td>
|
cannam@0
|
428 <td> ) </td>
|
cannam@0
|
429 <td width="100%"><code> [virtual, inherited]</code></td>
|
cannam@0
|
430 </tr>
|
cannam@0
|
431 </table>
|
cannam@0
|
432 </div>
|
cannam@0
|
433 <div class="memdoc">
|
cannam@0
|
434
|
cannam@0
|
435 <p>
|
cannam@0
|
436 Reset the plugin after use, to prepare it for another clean run.
|
cannam@0
|
437 <p>
|
cannam@0
|
438 Not called for the first initialisation (i.e. initialise must also do a reset).
|
cannam@0
|
439 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
|
cannam@0
|
440
|
cannam@0
|
441 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#131fd9fe8a1795d7370d8a721176868a">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
|
cannam@0
|
442
|
cannam@0
|
443 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00068">68</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
444
|
cannam@0
|
445 <p>References <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>, and <a class="el" href="classVamp_1_1Plugin.html#ad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin::reset()</a>.</p>
|
cannam@0
|
446
|
cannam@0
|
447 </div>
|
cannam@0
|
448 </div><p>
|
cannam@0
|
449 <a class="anchor" name="031aa818fd48fd0f4b5e1bf80c032870"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getInputDomain" ref="031aa818fd48fd0f4b5e1bf80c032870" args="() const " -->
|
cannam@0
|
450 <div class="memitem">
|
cannam@0
|
451 <div class="memproto">
|
cannam@0
|
452 <table class="memname">
|
cannam@0
|
453 <tr>
|
cannam@0
|
454 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">Plugin::InputDomain</a> Vamp::HostExt::PluginWrapper::getInputDomain </td>
|
cannam@0
|
455 <td>(</td>
|
cannam@0
|
456 <td class="paramname"> </td>
|
cannam@0
|
457 <td> ) </td>
|
cannam@0
|
458 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
459 </tr>
|
cannam@0
|
460 </table>
|
cannam@0
|
461 </div>
|
cannam@0
|
462 <div class="memdoc">
|
cannam@0
|
463
|
cannam@0
|
464 <p>
|
cannam@0
|
465 Get the plugin's required input domain.
|
cannam@0
|
466 <p>
|
cannam@0
|
467 If this is TimeDomain, the samples provided to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" 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. If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" title="Process a single block of input data.">process()</a>. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.
|
cannam@0
|
468 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
|
cannam@0
|
469
|
cannam@0
|
470 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#376fa97a1c721255541fe35d71368976">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
|
cannam@0
|
471
|
cannam@0
|
472 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00074">74</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
473
|
cannam@0
|
474 <p>References <a class="el" href="classVamp_1_1Plugin.html#e1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin::getInputDomain()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
475
|
cannam@0
|
476 </div>
|
cannam@0
|
477 </div><p>
|
cannam@0
|
478 <a class="anchor" name="74147fda6b44ff2169bd4a1eea0d46ff"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getVampApiVersion" ref="74147fda6b44ff2169bd4a1eea0d46ff" args="() const " -->
|
cannam@0
|
479 <div class="memitem">
|
cannam@0
|
480 <div class="memproto">
|
cannam@0
|
481 <table class="memname">
|
cannam@0
|
482 <tr>
|
cannam@0
|
483 <td class="memname">unsigned int Vamp::HostExt::PluginWrapper::getVampApiVersion </td>
|
cannam@0
|
484 <td>(</td>
|
cannam@0
|
485 <td class="paramname"> </td>
|
cannam@0
|
486 <td> ) </td>
|
cannam@0
|
487 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
488 </tr>
|
cannam@0
|
489 </table>
|
cannam@0
|
490 </div>
|
cannam@0
|
491 <div class="memdoc">
|
cannam@0
|
492
|
cannam@0
|
493 <p>
|
cannam@0
|
494 Get the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> API compatibility level of the plugin.
|
cannam@0
|
495 <p>
|
cannam@0
|
496
|
cannam@0
|
497 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#8fd2c48291c64b790f0efb8948508dcf">Vamp::PluginBase</a>.</p>
|
cannam@0
|
498
|
cannam@0
|
499 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00080">80</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
500
|
cannam@0
|
501 <p>References <a class="el" href="PluginBase_8h-source.html#l00067">Vamp::PluginBase::getVampApiVersion()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
502
|
cannam@0
|
503 </div>
|
cannam@0
|
504 </div><p>
|
cannam@0
|
505 <a class="anchor" name="4baa9e48f717c2b3e7f92496aa39d904"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getIdentifier" ref="4baa9e48f717c2b3e7f92496aa39d904" args="() const " -->
|
cannam@0
|
506 <div class="memitem">
|
cannam@0
|
507 <div class="memproto">
|
cannam@0
|
508 <table class="memname">
|
cannam@0
|
509 <tr>
|
cannam@0
|
510 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getIdentifier </td>
|
cannam@0
|
511 <td>(</td>
|
cannam@0
|
512 <td class="paramname"> </td>
|
cannam@0
|
513 <td> ) </td>
|
cannam@0
|
514 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
515 </tr>
|
cannam@0
|
516 </table>
|
cannam@0
|
517 </div>
|
cannam@0
|
518 <div class="memdoc">
|
cannam@0
|
519
|
cannam@0
|
520 <p>
|
cannam@0
|
521 Get the computer-usable name of the plugin.
|
cannam@0
|
522 <p>
|
cannam@0
|
523 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>
|
cannam@0
|
524 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>
|
cannam@0
|
525 Example: "zero_crossings"
|
cannam@0
|
526 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#d1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
|
cannam@0
|
527
|
cannam@0
|
528 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00086">86</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
529
|
cannam@0
|
530 <p>References <a class="el" href="classVamp_1_1PluginBase.html#d1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase::getIdentifier()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
531
|
cannam@0
|
532 </div>
|
cannam@0
|
533 </div><p>
|
cannam@0
|
534 <a class="anchor" name="c70a3265bb25aeb03f6dd8f8a0442088"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getName" ref="c70a3265bb25aeb03f6dd8f8a0442088" args="() const " -->
|
cannam@0
|
535 <div class="memitem">
|
cannam@0
|
536 <div class="memproto">
|
cannam@0
|
537 <table class="memname">
|
cannam@0
|
538 <tr>
|
cannam@0
|
539 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getName </td>
|
cannam@0
|
540 <td>(</td>
|
cannam@0
|
541 <td class="paramname"> </td>
|
cannam@0
|
542 <td> ) </td>
|
cannam@0
|
543 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
544 </tr>
|
cannam@0
|
545 </table>
|
cannam@0
|
546 </div>
|
cannam@0
|
547 <div class="memdoc">
|
cannam@0
|
548
|
cannam@0
|
549 <p>
|
cannam@0
|
550 Get a human-readable name or title of the plugin.
|
cannam@0
|
551 <p>
|
cannam@0
|
552 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>
|
cannam@0
|
553 Example: "Zero Crossings"
|
cannam@0
|
554 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
|
cannam@0
|
555
|
cannam@0
|
556 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00092">92</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
557
|
cannam@0
|
558 <p>References <a class="el" href="classVamp_1_1PluginBase.html#18619d5097e444ecefee0c359da53232">Vamp::PluginBase::getName()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
559
|
cannam@0
|
560 </div>
|
cannam@0
|
561 </div><p>
|
cannam@0
|
562 <a class="anchor" name="c334f699c0996055942785410d8a065c"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getDescription" ref="c334f699c0996055942785410d8a065c" args="() const " -->
|
cannam@0
|
563 <div class="memitem">
|
cannam@0
|
564 <div class="memproto">
|
cannam@0
|
565 <table class="memname">
|
cannam@0
|
566 <tr>
|
cannam@0
|
567 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getDescription </td>
|
cannam@0
|
568 <td>(</td>
|
cannam@0
|
569 <td class="paramname"> </td>
|
cannam@0
|
570 <td> ) </td>
|
cannam@0
|
571 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
572 </tr>
|
cannam@0
|
573 </table>
|
cannam@0
|
574 </div>
|
cannam@0
|
575 <div class="memdoc">
|
cannam@0
|
576
|
cannam@0
|
577 <p>
|
cannam@0
|
578 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".
|
cannam@0
|
579 <p>
|
cannam@0
|
580 May be empty if the name has said it all already.<p>
|
cannam@0
|
581 Example: "Detect and count zero crossing points"
|
cannam@0
|
582 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
|
cannam@0
|
583
|
cannam@0
|
584 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00098">98</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
585
|
cannam@0
|
586 <p>References <a class="el" href="classVamp_1_1PluginBase.html#59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase::getDescription()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
587
|
cannam@0
|
588 </div>
|
cannam@0
|
589 </div><p>
|
cannam@0
|
590 <a class="anchor" name="59d5a2298951b317995675e664b1c7bb"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getMaker" ref="59d5a2298951b317995675e664b1c7bb" args="() const " -->
|
cannam@0
|
591 <div class="memitem">
|
cannam@0
|
592 <div class="memproto">
|
cannam@0
|
593 <table class="memname">
|
cannam@0
|
594 <tr>
|
cannam@0
|
595 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getMaker </td>
|
cannam@0
|
596 <td>(</td>
|
cannam@0
|
597 <td class="paramname"> </td>
|
cannam@0
|
598 <td> ) </td>
|
cannam@0
|
599 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
600 </tr>
|
cannam@0
|
601 </table>
|
cannam@0
|
602 </div>
|
cannam@0
|
603 <div class="memdoc">
|
cannam@0
|
604
|
cannam@0
|
605 <p>
|
cannam@0
|
606 Get the name of the author or vendor of the plugin in human-readable form.
|
cannam@0
|
607 <p>
|
cannam@0
|
608 This should be a short identifying text, as it may be used to label plugins from the same source in a menu or similar.
|
cannam@0
|
609 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
|
cannam@0
|
610
|
cannam@0
|
611 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00104">104</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
612
|
cannam@0
|
613 <p>References <a class="el" href="classVamp_1_1PluginBase.html#53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase::getMaker()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
614
|
cannam@0
|
615 </div>
|
cannam@0
|
616 </div><p>
|
cannam@0
|
617 <a class="anchor" name="47e1acf1696813008324a915c9ba59c5"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getPluginVersion" ref="47e1acf1696813008324a915c9ba59c5" args="() const " -->
|
cannam@0
|
618 <div class="memitem">
|
cannam@0
|
619 <div class="memproto">
|
cannam@0
|
620 <table class="memname">
|
cannam@0
|
621 <tr>
|
cannam@0
|
622 <td class="memname">int Vamp::HostExt::PluginWrapper::getPluginVersion </td>
|
cannam@0
|
623 <td>(</td>
|
cannam@0
|
624 <td class="paramname"> </td>
|
cannam@0
|
625 <td> ) </td>
|
cannam@0
|
626 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
627 </tr>
|
cannam@0
|
628 </table>
|
cannam@0
|
629 </div>
|
cannam@0
|
630 <div class="memdoc">
|
cannam@0
|
631
|
cannam@0
|
632 <p>
|
cannam@0
|
633 Get the version number of the plugin.
|
cannam@0
|
634 <p>
|
cannam@0
|
635
|
cannam@0
|
636 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
|
cannam@0
|
637
|
cannam@0
|
638 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00110">110</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
639
|
cannam@0
|
640 <p>References <a class="el" href="classVamp_1_1PluginBase.html#63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase::getPluginVersion()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
641
|
cannam@0
|
642 </div>
|
cannam@0
|
643 </div><p>
|
cannam@0
|
644 <a class="anchor" name="e14f6ecb78be909c4cd5f0cdaed3c566"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getCopyright" ref="e14f6ecb78be909c4cd5f0cdaed3c566" args="() const " -->
|
cannam@0
|
645 <div class="memitem">
|
cannam@0
|
646 <div class="memproto">
|
cannam@0
|
647 <table class="memname">
|
cannam@0
|
648 <tr>
|
cannam@0
|
649 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getCopyright </td>
|
cannam@0
|
650 <td>(</td>
|
cannam@0
|
651 <td class="paramname"> </td>
|
cannam@0
|
652 <td> ) </td>
|
cannam@0
|
653 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
654 </tr>
|
cannam@0
|
655 </table>
|
cannam@0
|
656 </div>
|
cannam@0
|
657 <div class="memdoc">
|
cannam@0
|
658
|
cannam@0
|
659 <p>
|
cannam@0
|
660 Get the copyright statement or licensing summary for the plugin.
|
cannam@0
|
661 <p>
|
cannam@0
|
662 This can be an informative text, without the same presentation constraints as mentioned for getMaker above.
|
cannam@0
|
663 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#b7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
|
cannam@0
|
664
|
cannam@0
|
665 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00116">116</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
666
|
cannam@0
|
667 <p>References <a class="el" href="classVamp_1_1PluginBase.html#b7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase::getCopyright()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
668
|
cannam@0
|
669 </div>
|
cannam@0
|
670 </div><p>
|
cannam@0
|
671 <a class="anchor" name="3b075b8f950b344503f0d27ac0fe332e"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getParameterDescriptors" ref="3b075b8f950b344503f0d27ac0fe332e" args="() const " -->
|
cannam@0
|
672 <div class="memitem">
|
cannam@0
|
673 <div class="memproto">
|
cannam@0
|
674 <table class="memname">
|
cannam@0
|
675 <tr>
|
cannam@0
|
676 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">PluginBase::ParameterList</a> Vamp::HostExt::PluginWrapper::getParameterDescriptors </td>
|
cannam@0
|
677 <td>(</td>
|
cannam@0
|
678 <td class="paramname"> </td>
|
cannam@0
|
679 <td> ) </td>
|
cannam@0
|
680 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
681 </tr>
|
cannam@0
|
682 </table>
|
cannam@0
|
683 </div>
|
cannam@0
|
684 <div class="memdoc">
|
cannam@0
|
685
|
cannam@0
|
686 <p>
|
cannam@0
|
687 Get the controllable parameters of this plugin.
|
cannam@0
|
688 <p>
|
cannam@0
|
689
|
cannam@0
|
690 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#ac3e49b3b66cacfbb768dfdf07444f21">Vamp::PluginBase</a>.</p>
|
cannam@0
|
691
|
cannam@0
|
692 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00122">122</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
693
|
cannam@0
|
694 <p>References <a class="el" href="PluginBase_8h-source.html#l00200">Vamp::PluginBase::getParameterDescriptors()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
695
|
cannam@0
|
696 </div>
|
cannam@0
|
697 </div><p>
|
cannam@0
|
698 <a class="anchor" name="034920f56c8d7609a85447c42556048c"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getParameter" ref="034920f56c8d7609a85447c42556048c" args="(std::string) const " -->
|
cannam@0
|
699 <div class="memitem">
|
cannam@0
|
700 <div class="memproto">
|
cannam@0
|
701 <table class="memname">
|
cannam@0
|
702 <tr>
|
cannam@0
|
703 <td class="memname">float Vamp::HostExt::PluginWrapper::getParameter </td>
|
cannam@0
|
704 <td>(</td>
|
cannam@0
|
705 <td class="paramtype">std::string </td>
|
cannam@0
|
706 <td class="paramname"> </td>
|
cannam@0
|
707 <td> ) </td>
|
cannam@0
|
708 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
709 </tr>
|
cannam@0
|
710 </table>
|
cannam@0
|
711 </div>
|
cannam@0
|
712 <div class="memdoc">
|
cannam@0
|
713
|
cannam@0
|
714 <p>
|
cannam@0
|
715 Get the value of a named parameter.
|
cannam@0
|
716 <p>
|
cannam@0
|
717 The argument is the identifier field from that parameter's descriptor.
|
cannam@0
|
718 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#97ababcd45348ceec998d0f8e0f38bf7">Vamp::PluginBase</a>.</p>
|
cannam@0
|
719
|
cannam@0
|
720 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00128">128</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
721
|
cannam@0
|
722 <p>References <a class="el" href="PluginBase_8h-source.html#l00208">Vamp::PluginBase::getParameter()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
723
|
cannam@0
|
724 </div>
|
cannam@0
|
725 </div><p>
|
cannam@0
|
726 <a class="anchor" name="651b15a5dc4c27942ac0c87c6092bfe5"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::setParameter" ref="651b15a5dc4c27942ac0c87c6092bfe5" args="(std::string, float)" -->
|
cannam@0
|
727 <div class="memitem">
|
cannam@0
|
728 <div class="memproto">
|
cannam@0
|
729 <table class="memname">
|
cannam@0
|
730 <tr>
|
cannam@0
|
731 <td class="memname">void Vamp::HostExt::PluginWrapper::setParameter </td>
|
cannam@0
|
732 <td>(</td>
|
cannam@0
|
733 <td class="paramtype">std::string </td>
|
cannam@0
|
734 <td class="paramname">, </td>
|
cannam@0
|
735 </tr>
|
cannam@0
|
736 <tr>
|
cannam@0
|
737 <td class="paramkey"></td>
|
cannam@0
|
738 <td></td>
|
cannam@0
|
739 <td class="paramtype">float </td>
|
cannam@0
|
740 <td class="paramname"></td><td> </td>
|
cannam@0
|
741 </tr>
|
cannam@0
|
742 <tr>
|
cannam@0
|
743 <td></td>
|
cannam@0
|
744 <td>)</td>
|
cannam@0
|
745 <td></td><td></td><td width="100%"><code> [virtual, inherited]</code></td>
|
cannam@0
|
746 </tr>
|
cannam@0
|
747 </table>
|
cannam@0
|
748 </div>
|
cannam@0
|
749 <div class="memdoc">
|
cannam@0
|
750
|
cannam@0
|
751 <p>
|
cannam@0
|
752 Set a named parameter.
|
cannam@0
|
753 <p>
|
cannam@0
|
754 The first argument is the identifier field from that parameter's descriptor.
|
cannam@0
|
755 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
|
cannam@0
|
756
|
cannam@0
|
757 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00134">134</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
758
|
cannam@0
|
759 <p>References <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>, and <a class="el" href="PluginBase_8h-source.html#l00214">Vamp::PluginBase::setParameter()</a>.</p>
|
cannam@0
|
760
|
cannam@0
|
761 </div>
|
cannam@0
|
762 </div><p>
|
cannam@0
|
763 <a class="anchor" name="f3abaf717dc4b00cad5770ed6dfa01e1"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getPrograms" ref="f3abaf717dc4b00cad5770ed6dfa01e1" args="() const " -->
|
cannam@0
|
764 <div class="memitem">
|
cannam@0
|
765 <div class="memproto">
|
cannam@0
|
766 <table class="memname">
|
cannam@0
|
767 <tr>
|
cannam@0
|
768 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">PluginBase::ProgramList</a> Vamp::HostExt::PluginWrapper::getPrograms </td>
|
cannam@0
|
769 <td>(</td>
|
cannam@0
|
770 <td class="paramname"> </td>
|
cannam@0
|
771 <td> ) </td>
|
cannam@0
|
772 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
773 </tr>
|
cannam@0
|
774 </table>
|
cannam@0
|
775 </div>
|
cannam@0
|
776 <div class="memdoc">
|
cannam@0
|
777
|
cannam@0
|
778 <p>
|
cannam@0
|
779 Get the program settings available in this plugin.
|
cannam@0
|
780 <p>
|
cannam@0
|
781 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>
|
cannam@0
|
782 The programs must have unique names.
|
cannam@0
|
783 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#bb307c60bdb981d5f5af50c3c4ae84af">Vamp::PluginBase</a>.</p>
|
cannam@0
|
784
|
cannam@0
|
785 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00140">140</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
786
|
cannam@0
|
787 <p>References <a class="el" href="PluginBase_8h-source.html#l00229">Vamp::PluginBase::getPrograms()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
788
|
cannam@0
|
789 </div>
|
cannam@0
|
790 </div><p>
|
cannam@0
|
791 <a class="anchor" name="7a312dd42d161064b70afd7ff24c0651"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getCurrentProgram" ref="7a312dd42d161064b70afd7ff24c0651" args="() const " -->
|
cannam@0
|
792 <div class="memitem">
|
cannam@0
|
793 <div class="memproto">
|
cannam@0
|
794 <table class="memname">
|
cannam@0
|
795 <tr>
|
cannam@0
|
796 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getCurrentProgram </td>
|
cannam@0
|
797 <td>(</td>
|
cannam@0
|
798 <td class="paramname"> </td>
|
cannam@0
|
799 <td> ) </td>
|
cannam@0
|
800 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
801 </tr>
|
cannam@0
|
802 </table>
|
cannam@0
|
803 </div>
|
cannam@0
|
804 <div class="memdoc">
|
cannam@0
|
805
|
cannam@0
|
806 <p>
|
cannam@0
|
807 Get the current program.
|
cannam@0
|
808 <p>
|
cannam@0
|
809
|
cannam@0
|
810 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#24e77eccf1bdfbbca3c79bb25e8799b3">Vamp::PluginBase</a>.</p>
|
cannam@0
|
811
|
cannam@0
|
812 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00146">146</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
813
|
cannam@0
|
814 <p>References <a class="el" href="PluginBase_8h-source.html#l00234">Vamp::PluginBase::getCurrentProgram()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
815
|
cannam@0
|
816 </div>
|
cannam@0
|
817 </div><p>
|
cannam@0
|
818 <a class="anchor" name="074978333a74fdcf336a8a1d8ea20abf"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::selectProgram" ref="074978333a74fdcf336a8a1d8ea20abf" args="(std::string)" -->
|
cannam@0
|
819 <div class="memitem">
|
cannam@0
|
820 <div class="memproto">
|
cannam@0
|
821 <table class="memname">
|
cannam@0
|
822 <tr>
|
cannam@0
|
823 <td class="memname">void Vamp::HostExt::PluginWrapper::selectProgram </td>
|
cannam@0
|
824 <td>(</td>
|
cannam@0
|
825 <td class="paramtype">std::string </td>
|
cannam@0
|
826 <td class="paramname"> </td>
|
cannam@0
|
827 <td> ) </td>
|
cannam@0
|
828 <td width="100%"><code> [virtual, inherited]</code></td>
|
cannam@0
|
829 </tr>
|
cannam@0
|
830 </table>
|
cannam@0
|
831 </div>
|
cannam@0
|
832 <div class="memdoc">
|
cannam@0
|
833
|
cannam@0
|
834 <p>
|
cannam@0
|
835 Select a program.
|
cannam@0
|
836 <p>
|
cannam@0
|
837 (If the given program name is not one of the available programs, do nothing.)
|
cannam@0
|
838 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#add3a547ef140bae200473a9518e3353">Vamp::PluginBase</a>.</p>
|
cannam@0
|
839
|
cannam@0
|
840 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00152">152</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
841
|
cannam@0
|
842 <p>References <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>, and <a class="el" href="PluginBase_8h-source.html#l00240">Vamp::PluginBase::selectProgram()</a>.</p>
|
cannam@0
|
843
|
cannam@0
|
844 </div>
|
cannam@0
|
845 </div><p>
|
cannam@0
|
846 <a class="anchor" name="0137d93d7019bacc31104836fb4d352e"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getPreferredStepSize" ref="0137d93d7019bacc31104836fb4d352e" args="() const " -->
|
cannam@0
|
847 <div class="memitem">
|
cannam@0
|
848 <div class="memproto">
|
cannam@0
|
849 <table class="memname">
|
cannam@0
|
850 <tr>
|
cannam@0
|
851 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getPreferredStepSize </td>
|
cannam@0
|
852 <td>(</td>
|
cannam@0
|
853 <td class="paramname"> </td>
|
cannam@0
|
854 <td> ) </td>
|
cannam@0
|
855 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
856 </tr>
|
cannam@0
|
857 </table>
|
cannam@0
|
858 </div>
|
cannam@0
|
859 <div class="memdoc">
|
cannam@0
|
860
|
cannam@0
|
861 <p>
|
cannam@0
|
862 Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" title="Process a single block of input data.">process()</a> function) for the plugin.
|
cannam@0
|
863 <p>
|
cannam@0
|
864 This should be called before <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p>
|
cannam@0
|
865 A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call.
|
cannam@0
|
866 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#514c716c22f81c055f19b56c3f882567">Vamp::Plugin</a>.</p>
|
cannam@0
|
867
|
cannam@0
|
868 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#2e66d009df69c951001e5d2786973d60">Vamp::HostExt::PluginBufferingAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#d979af9f1cbf2eeb16f4eaedb4a4f565">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
|
cannam@0
|
869
|
cannam@0
|
870 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00158">158</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
871
|
cannam@0
|
872 <p>References <a class="el" href="Plugin_8h-source.html#l00186">Vamp::Plugin::getPreferredStepSize()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
873
|
cannam@0
|
874 </div>
|
cannam@0
|
875 </div><p>
|
cannam@0
|
876 <a class="anchor" name="2c62a656313a819650656643a867ad01"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getPreferredBlockSize" ref="2c62a656313a819650656643a867ad01" args="() const " -->
|
cannam@0
|
877 <div class="memitem">
|
cannam@0
|
878 <div class="memproto">
|
cannam@0
|
879 <table class="memname">
|
cannam@0
|
880 <tr>
|
cannam@0
|
881 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getPreferredBlockSize </td>
|
cannam@0
|
882 <td>(</td>
|
cannam@0
|
883 <td class="paramname"> </td>
|
cannam@0
|
884 <td> ) </td>
|
cannam@0
|
885 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
886 </tr>
|
cannam@0
|
887 </table>
|
cannam@0
|
888 </div>
|
cannam@0
|
889 <div class="memdoc">
|
cannam@0
|
890
|
cannam@0
|
891 <p>
|
cannam@0
|
892 Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" title="Process a single block of input data.">process()</a> function).
|
cannam@0
|
893 <p>
|
cannam@0
|
894 This should be called before <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p>
|
cannam@0
|
895 A plugin that can handle any block size may return 0. The final block size will be set in the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call.
|
cannam@0
|
896 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a529adf83f87a603954eb31407602aac">Vamp::Plugin</a>.</p>
|
cannam@0
|
897
|
cannam@0
|
898 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#4cf40d09d02022b1962ff17bb0324ea5">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
|
cannam@0
|
899
|
cannam@0
|
900 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00164">164</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
901
|
cannam@0
|
902 <p>References <a class="el" href="Plugin_8h-source.html#l00171">Vamp::Plugin::getPreferredBlockSize()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
903
|
cannam@0
|
904 <p>Referenced by <a class="el" href="PluginBufferingAdapter_8cpp-source.html#l00308">Vamp::HostExt::PluginBufferingAdapter::getPreferredStepSize()</a>.</p>
|
cannam@0
|
905
|
cannam@0
|
906 </div>
|
cannam@0
|
907 </div><p>
|
cannam@0
|
908 <a class="anchor" name="2b28f1cf37d46a514f1e1411a6037bf8"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getMinChannelCount" ref="2b28f1cf37d46a514f1e1411a6037bf8" args="() const " -->
|
cannam@0
|
909 <div class="memitem">
|
cannam@0
|
910 <div class="memproto">
|
cannam@0
|
911 <table class="memname">
|
cannam@0
|
912 <tr>
|
cannam@0
|
913 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getMinChannelCount </td>
|
cannam@0
|
914 <td>(</td>
|
cannam@0
|
915 <td class="paramname"> </td>
|
cannam@0
|
916 <td> ) </td>
|
cannam@0
|
917 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
918 </tr>
|
cannam@0
|
919 </table>
|
cannam@0
|
920 </div>
|
cannam@0
|
921 <div class="memdoc">
|
cannam@0
|
922
|
cannam@0
|
923 <p>
|
cannam@0
|
924 Get the minimum supported number of input channels.
|
cannam@0
|
925 <p>
|
cannam@0
|
926
|
cannam@0
|
927 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#267b42e866df3cf0d190893e8096f525">Vamp::Plugin</a>.</p>
|
cannam@0
|
928
|
cannam@0
|
929 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00170">170</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
930
|
cannam@0
|
931 <p>References <a class="el" href="Plugin_8h-source.html#l00191">Vamp::Plugin::getMinChannelCount()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
932
|
cannam@0
|
933 </div>
|
cannam@0
|
934 </div><p>
|
cannam@0
|
935 <a class="anchor" name="985eb21f1827bfbc3950d6871b107a58"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getMaxChannelCount" ref="985eb21f1827bfbc3950d6871b107a58" args="() const " -->
|
cannam@0
|
936 <div class="memitem">
|
cannam@0
|
937 <div class="memproto">
|
cannam@0
|
938 <table class="memname">
|
cannam@0
|
939 <tr>
|
cannam@0
|
940 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getMaxChannelCount </td>
|
cannam@0
|
941 <td>(</td>
|
cannam@0
|
942 <td class="paramname"> </td>
|
cannam@0
|
943 <td> ) </td>
|
cannam@0
|
944 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
945 </tr>
|
cannam@0
|
946 </table>
|
cannam@0
|
947 </div>
|
cannam@0
|
948 <div class="memdoc">
|
cannam@0
|
949
|
cannam@0
|
950 <p>
|
cannam@0
|
951 Get the maximum supported number of input channels.
|
cannam@0
|
952 <p>
|
cannam@0
|
953
|
cannam@0
|
954 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#2c5ab12b6fa4847cb244bd1e9cb3ae5e">Vamp::Plugin</a>.</p>
|
cannam@0
|
955
|
cannam@0
|
956 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00175">175</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
957
|
cannam@0
|
958 <p>References <a class="el" href="Plugin_8h-source.html#l00196">Vamp::Plugin::getMaxChannelCount()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
959
|
cannam@0
|
960 </div>
|
cannam@0
|
961 </div><p>
|
cannam@0
|
962 <a class="anchor" name="02c8c01972affeea58b091335e791ace"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getOutputDescriptors" ref="02c8c01972affeea58b091335e791ace" args="() const " -->
|
cannam@0
|
963 <div class="memitem">
|
cannam@0
|
964 <div class="memproto">
|
cannam@0
|
965 <table class="memname">
|
cannam@0
|
966 <tr>
|
cannam@0
|
967 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">Plugin::OutputList</a> Vamp::HostExt::PluginWrapper::getOutputDescriptors </td>
|
cannam@0
|
968 <td>(</td>
|
cannam@0
|
969 <td class="paramname"> </td>
|
cannam@0
|
970 <td> ) </td>
|
cannam@0
|
971 <td width="100%"> const<code> [virtual, inherited]</code></td>
|
cannam@0
|
972 </tr>
|
cannam@0
|
973 </table>
|
cannam@0
|
974 </div>
|
cannam@0
|
975 <div class="memdoc">
|
cannam@0
|
976
|
cannam@0
|
977 <p>
|
cannam@0
|
978 Get the outputs of this plugin.
|
cannam@0
|
979 <p>
|
cannam@0
|
980 An output's index in this list is used as its numeric index when looking it up in the FeatureSet returned from the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#fca78043c2843c1d45019983515e23f7" title="Process a single block of input data.">process()</a> call.
|
cannam@0
|
981 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#d064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
|
cannam@0
|
982
|
cannam@0
|
983 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#85a027f5859efb31d315205e234e94c0">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
|
cannam@0
|
984
|
cannam@0
|
985 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00181">181</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
986
|
cannam@0
|
987 <p>References <a class="el" href="classVamp_1_1Plugin.html#d064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin::getOutputDescriptors()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
988
|
cannam@0
|
989 </div>
|
cannam@0
|
990 </div><p>
|
cannam@0
|
991 <a class="anchor" name="1dce55a75a32b08fc56a52a300d9fcbe"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getRemainingFeatures" ref="1dce55a75a32b08fc56a52a300d9fcbe" args="()" -->
|
cannam@0
|
992 <div class="memitem">
|
cannam@0
|
993 <div class="memproto">
|
cannam@0
|
994 <table class="memname">
|
cannam@0
|
995 <tr>
|
cannam@0
|
996 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">Plugin::FeatureSet</a> Vamp::HostExt::PluginWrapper::getRemainingFeatures </td>
|
cannam@0
|
997 <td>(</td>
|
cannam@0
|
998 <td class="paramname"> </td>
|
cannam@0
|
999 <td> ) </td>
|
cannam@0
|
1000 <td width="100%"><code> [virtual, inherited]</code></td>
|
cannam@0
|
1001 </tr>
|
cannam@0
|
1002 </table>
|
cannam@0
|
1003 </div>
|
cannam@0
|
1004 <div class="memdoc">
|
cannam@0
|
1005
|
cannam@0
|
1006 <p>
|
cannam@0
|
1007 After all blocks have been processed, calculate and return any remaining features derived from the complete input.
|
cannam@0
|
1008 <p>
|
cannam@0
|
1009
|
cannam@0
|
1010 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#eca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
|
cannam@0
|
1011
|
cannam@0
|
1012 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#8771cba75552aaa1340b68de9bf1659c">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
|
cannam@0
|
1013
|
cannam@0
|
1014 <p>Definition at line <a class="el" href="PluginWrapper_8cpp-source.html#l00193">193</a> of file <a class="el" href="PluginWrapper_8cpp-source.html">PluginWrapper.cpp</a>.</p>
|
cannam@0
|
1015
|
cannam@0
|
1016 <p>References <a class="el" href="classVamp_1_1Plugin.html#eca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin::getRemainingFeatures()</a>, and <a class="el" href="PluginWrapper_8h-source.html#l00099">Vamp::HostExt::PluginWrapper::m_plugin</a>.</p>
|
cannam@0
|
1017
|
cannam@0
|
1018 </div>
|
cannam@0
|
1019 </div><p>
|
cannam@0
|
1020 <a class="anchor" name="be13b3997a69fbcc09e2213faa352f91"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::getType" ref="be13b3997a69fbcc09e2213faa352f91" args="() const " -->
|
cannam@0
|
1021 <div class="memitem">
|
cannam@0
|
1022 <div class="memproto">
|
cannam@0
|
1023 <table class="memname">
|
cannam@0
|
1024 <tr>
|
cannam@0
|
1025 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
|
cannam@0
|
1026 <td>(</td>
|
cannam@0
|
1027 <td class="paramname"> </td>
|
cannam@0
|
1028 <td> ) </td>
|
cannam@0
|
1029 <td width="100%"> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
1030 </tr>
|
cannam@0
|
1031 </table>
|
cannam@0
|
1032 </div>
|
cannam@0
|
1033 <div class="memdoc">
|
cannam@0
|
1034
|
cannam@0
|
1035 <p>
|
cannam@0
|
1036 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...">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>.
|
cannam@0
|
1037 <p>
|
cannam@0
|
1038 Do not reimplement this function in your subclass.
|
cannam@0
|
1039 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
|
cannam@0
|
1040
|
cannam@0
|
1041 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00391">391</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p>
|
cannam@0
|
1042
|
cannam@0
|
1043 </div>
|
cannam@0
|
1044 </div><p>
|
cannam@0
|
1045 <hr><h2>Member Data Documentation</h2>
|
cannam@0
|
1046 <a class="anchor" name="e3a74a2e6c4cd33dce9f4248e73c6701"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::m_impl" ref="e3a74a2e6c4cd33dce9f4248e73c6701" args="" -->
|
cannam@0
|
1047 <div class="memitem">
|
cannam@0
|
1048 <div class="memproto">
|
cannam@0
|
1049 <table class="memname">
|
cannam@0
|
1050 <tr>
|
cannam@0
|
1051 <td class="memname"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter_1_1Impl.html">Impl</a>* <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#e3a74a2e6c4cd33dce9f4248e73c6701">Vamp::HostExt::PluginChannelAdapter::m_impl</a><code> [protected]</code> </td>
|
cannam@0
|
1052 </tr>
|
cannam@0
|
1053 </table>
|
cannam@0
|
1054 </div>
|
cannam@0
|
1055 <div class="memdoc">
|
cannam@0
|
1056
|
cannam@0
|
1057 <p>
|
cannam@0
|
1058
|
cannam@0
|
1059 <p>Definition at line <a class="el" href="PluginChannelAdapter_8h-source.html#l00120">120</a> of file <a class="el" href="PluginChannelAdapter_8h-source.html">PluginChannelAdapter.h</a>.</p>
|
cannam@0
|
1060
|
cannam@0
|
1061 <p>Referenced by <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00074">initialise()</a>, <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00062">PluginChannelAdapter()</a>, <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00080">process()</a>, and <a class="el" href="PluginChannelAdapter_8cpp-source.html#l00068">~PluginChannelAdapter()</a>.</p>
|
cannam@0
|
1062
|
cannam@0
|
1063 </div>
|
cannam@0
|
1064 </div><p>
|
cannam@0
|
1065 <a class="anchor" name="b4e40ecd98b445e1a2aa9e7baa280ea2"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::m_plugin" ref="b4e40ecd98b445e1a2aa9e7baa280ea2" args="" -->
|
cannam@0
|
1066 <div class="memitem">
|
cannam@0
|
1067 <div class="memproto">
|
cannam@0
|
1068 <table class="memname">
|
cannam@0
|
1069 <tr>
|
cannam@0
|
1070 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a>* <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#b4e40ecd98b445e1a2aa9e7baa280ea2">Vamp::HostExt::PluginWrapper::m_plugin</a><code> [protected, inherited]</code> </td>
|
cannam@0
|
1071 </tr>
|
cannam@0
|
1072 </table>
|
cannam@0
|
1073 </div>
|
cannam@0
|
1074 <div class="memdoc">
|
cannam@0
|
1075
|
cannam@0
|
1076 <p>
|
cannam@0
|
1077
|
cannam@0
|
1078 <p>Definition at line <a class="el" href="PluginWrapper_8h-source.html#l00099">99</a> of file <a class="el" href="PluginWrapper_8h-source.html">PluginWrapper.h</a>.</p>
|
cannam@0
|
1079
|
cannam@0
|
1080 <p>Referenced by <a class="el" href="PluginWrapper_8cpp-source.html#l00116">Vamp::HostExt::PluginWrapper::getCopyright()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00146">Vamp::HostExt::PluginWrapper::getCurrentProgram()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00098">Vamp::HostExt::PluginWrapper::getDescription()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00086">Vamp::HostExt::PluginWrapper::getIdentifier()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00074">Vamp::HostExt::PluginWrapper::getInputDomain()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00104">Vamp::HostExt::PluginWrapper::getMaker()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00175">Vamp::HostExt::PluginWrapper::getMaxChannelCount()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00170">Vamp::HostExt::PluginWrapper::getMinChannelCount()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00092">Vamp::HostExt::PluginWrapper::getName()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00181">Vamp::HostExt::PluginWrapper::getOutputDescriptors()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00128">Vamp::HostExt::PluginWrapper::getParameter()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00122">Vamp::HostExt::PluginWrapper::getParameterDescriptors()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00110">Vamp::HostExt::PluginWrapper::getPluginVersion()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00164">Vamp::HostExt::PluginWrapper::getPreferredBlockSize()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00158">Vamp::HostExt::PluginWrapper::getPreferredStepSize()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00140">Vamp::HostExt::PluginWrapper::getPrograms()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00193">Vamp::HostExt::PluginWrapper::getRemainingFeatures()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00080">Vamp::HostExt::PluginWrapper::getVampApiVersion()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00062">Vamp::HostExt::PluginWrapper::initialise()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00187">Vamp::HostExt::PluginWrapper::process()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00068">Vamp::HostExt::PluginWrapper::reset()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00152">Vamp::HostExt::PluginWrapper::selectProgram()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00134">Vamp::HostExt::PluginWrapper::setParameter()</a>, <a class="el" href="PluginLoader_8cpp-source.html#l00620">Vamp::HostExt::PluginLoader::Impl::PluginDeletionNotifyAdapter::~PluginDeletionNotifyAdapter()</a>, and <a class="el" href="PluginWrapper_8cpp-source.html#l00056">Vamp::HostExt::PluginWrapper::~PluginWrapper()</a>.</p>
|
cannam@0
|
1081
|
cannam@0
|
1082 </div>
|
cannam@0
|
1083 </div><p>
|
cannam@0
|
1084 <a class="anchor" name="59b9dd82a4f4eb946cd0474cc81abc23"></a><!-- doxytag: member="Vamp::HostExt::PluginChannelAdapter::m_inputSampleRate" ref="59b9dd82a4f4eb946cd0474cc81abc23" args="" -->
|
cannam@0
|
1085 <div class="memitem">
|
cannam@0
|
1086 <div class="memproto">
|
cannam@0
|
1087 <table class="memname">
|
cannam@0
|
1088 <tr>
|
cannam@0
|
1089 <td class="memname">float <a class="el" href="classVamp_1_1Plugin.html#59b9dd82a4f4eb946cd0474cc81abc23">Vamp::Plugin::m_inputSampleRate</a><code> [protected, inherited]</code> </td>
|
cannam@0
|
1090 </tr>
|
cannam@0
|
1091 </table>
|
cannam@0
|
1092 </div>
|
cannam@0
|
1093 <div class="memdoc">
|
cannam@0
|
1094
|
cannam@0
|
1095 <p>
|
cannam@0
|
1096
|
cannam@0
|
1097 <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00397">397</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p>
|
cannam@0
|
1098
|
cannam@0
|
1099 <p>Referenced by <a class="el" href="ZeroCrossing_8cpp-source.html#l00110">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00047">Vamp::HostExt::PluginRateExtractor::getRate()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="PluginBufferingAdapter_8cpp-source.html#l00238">Vamp::HostExt::PluginBufferingAdapter::PluginBufferingAdapter()</a>, <a class="el" href="PluginInputDomainAdapter_8cpp-source.html#l00113">Vamp::HostExt::PluginInputDomainAdapter::PluginInputDomainAdapter()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00141">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00137">SpectralCentroid::process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">PercussionOnsetDetector::process()</a>.</p>
|
cannam@0
|
1100
|
cannam@0
|
1101 </div>
|
cannam@0
|
1102 </div><p>
|
cannam@0
|
1103 <hr>The documentation for this class was generated from the following files:<ul>
|
cannam@0
|
1104 <li><a class="el" href="PluginChannelAdapter_8h-source.html">PluginChannelAdapter.h</a><li><a class="el" href="PluginChannelAdapter_8cpp-source.html">PluginChannelAdapter.cpp</a></ul>
|
cannam@0
|
1105 </div>
|
cannam@0
|
1106 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 9 11:36:10 2008 for VampPluginSDK by
|
cannam@0
|
1107 <a href="http://www.doxygen.org/index.html">
|
cannam@0
|
1108 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
cannam@0
|
1109 </body>
|
cannam@0
|
1110 </html>
|