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: PercussionOnsetDetector Class Reference</title>
|
cannam@35
|
4 <link href="tabs.css" rel="stylesheet" type="text/css">
|
cannam@0
|
5 <link href="doxygen.css" rel="stylesheet" type="text/css">
|
cannam@0
|
6 </head><body>
|
cannam@35
|
7 <!-- Generated by Doxygen 1.5.8 -->
|
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>
|
cannam@0
|
26 <div class="contents">
|
cannam@35
|
27 <h1>PercussionOnsetDetector Class Reference</h1><!-- doxytag: class="PercussionOnsetDetector" --><!-- doxytag: inherits="Vamp::Plugin" -->Example plugin that detects percussive events.
|
cannam@35
|
28 <a href="#_details">More...</a>
|
cannam@35
|
29 <p>
|
cannam@35
|
30 <code>#include <<a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>></code>
|
cannam@0
|
31 <p>
|
cannam@0
|
32 <div class="dynheader">
|
cannam@0
|
33 Inheritance diagram for PercussionOnsetDetector:</div>
|
cannam@0
|
34 <div class="dynsection">
|
cannam@0
|
35 <p><center><img src="classPercussionOnsetDetector__inherit__graph.png" border="0" usemap="#PercussionOnsetDetector__inherit__map" alt="Inheritance graph"></center>
|
cannam@0
|
36 <map name="PercussionOnsetDetector__inherit__map">
|
cannam@35
|
37 <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="39,81,132,105"><area shape="rect" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="25,7,145,31"></map>
|
cannam@0
|
38 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
|
cannam@0
|
39
|
cannam@0
|
40 <p>
|
cannam@35
|
41 <a href="classPercussionOnsetDetector-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
cannam@0
|
42 <tr><td></td></tr>
|
cannam@0
|
43 <tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
|
cannam@0
|
44 <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
|
45 <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
|
cannam@0
|
46 }</td></tr>
|
cannam@0
|
47
|
cannam@35
|
48 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector<br class="typebreak">
|
cannam@0
|
49 < <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
|
50
|
cannam@0
|
51 <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
|
52
|
cannam@35
|
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::map< int, <br class="typebreak">
|
cannam@0
|
54 <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
|
55
|
cannam@0
|
56 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
cannam@0
|
57 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#9f700579805ee5105758d847baab3511">PercussionOnsetDetector</a> (float inputSampleRate)</td></tr>
|
cannam@0
|
58
|
cannam@0
|
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#99f833667cf8185e879d735216c7642b">~PercussionOnsetDetector</a> ()</td></tr>
|
cannam@0
|
60
|
cannam@0
|
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#349c528260622308f3850bcda8a448ab">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
|
cannam@0
|
62
|
cannam@0
|
63 <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="#349c528260622308f3850bcda8a448ab"></a><br></td></tr>
|
cannam@0
|
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#9b1075e992cd9599764ef3881fb91d1a">reset</a> ()</td></tr>
|
cannam@0
|
65
|
cannam@0
|
66 <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#9b1075e992cd9599764ef3881fb91d1a"></a><br></td></tr>
|
cannam@0
|
67 <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="classPercussionOnsetDetector.html#4f6954267696ee5bfa7dd1c4a6cfa92a">getInputDomain</a> () const </td></tr>
|
cannam@0
|
68
|
cannam@0
|
69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the plugin's required input domain. <a href="#4f6954267696ee5bfa7dd1c4a6cfa92a"></a><br></td></tr>
|
cannam@0
|
70 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#267c83a7533146c127e2c3be310e0154">getIdentifier</a> () const </td></tr>
|
cannam@0
|
71
|
cannam@0
|
72 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#267c83a7533146c127e2c3be310e0154"></a><br></td></tr>
|
cannam@0
|
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#a98f1ad061a11af98c054011a8844e6f">getName</a> () const </td></tr>
|
cannam@0
|
74
|
cannam@0
|
75 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#a98f1ad061a11af98c054011a8844e6f"></a><br></td></tr>
|
cannam@0
|
76 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#9061d189705802a48973a7ccab6360db">getDescription</a> () const </td></tr>
|
cannam@0
|
77
|
cannam@0
|
78 <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="#9061d189705802a48973a7ccab6360db"></a><br></td></tr>
|
cannam@0
|
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#63d63f2cb7ea8d8b09d58cc13b541375">getMaker</a> () const </td></tr>
|
cannam@0
|
80
|
cannam@0
|
81 <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="#63d63f2cb7ea8d8b09d58cc13b541375"></a><br></td></tr>
|
cannam@0
|
82 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#d6b818dbd81867ce7be71c99cae861be">getPluginVersion</a> () const </td></tr>
|
cannam@0
|
83
|
cannam@0
|
84 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the version number of the plugin. <a href="#d6b818dbd81867ce7be71c99cae861be"></a><br></td></tr>
|
cannam@0
|
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#1a22ece271330c94cc08798a77416351">getCopyright</a> () const </td></tr>
|
cannam@0
|
86
|
cannam@0
|
87 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#1a22ece271330c94cc08798a77416351"></a><br></td></tr>
|
cannam@0
|
88 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#733824891e11c306a7a678534b89b968">getPreferredStepSize</a> () const </td></tr>
|
cannam@0
|
89
|
cannam@0
|
90 <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="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a> function) for the plugin. <a href="#733824891e11c306a7a678534b89b968"></a><br></td></tr>
|
cannam@0
|
91 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#410c0b47c6c849d7ed9b726b84402ad0">getPreferredBlockSize</a> () const </td></tr>
|
cannam@0
|
92
|
cannam@0
|
93 <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="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a> function). <a href="#410c0b47c6c849d7ed9b726b84402ad0"></a><br></td></tr>
|
cannam@0
|
94 <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="classPercussionOnsetDetector.html#bceae88cc9762b0ea310d7aad71de815">getParameterDescriptors</a> () const </td></tr>
|
cannam@0
|
95
|
cannam@0
|
96 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#bceae88cc9762b0ea310d7aad71de815"></a><br></td></tr>
|
cannam@0
|
97 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#9b28da8315fcde46ce7644d6592ba527">getParameter</a> (std::string id) const </td></tr>
|
cannam@0
|
98
|
cannam@0
|
99 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a named parameter. <a href="#9b28da8315fcde46ce7644d6592ba527"></a><br></td></tr>
|
cannam@0
|
100 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#a097d72488e1211f05fc661ff5c6dc01">setParameter</a> (std::string id, float value)</td></tr>
|
cannam@0
|
101
|
cannam@0
|
102 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a named parameter. <a href="#a097d72488e1211f05fc661ff5c6dc01"></a><br></td></tr>
|
cannam@0
|
103 <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="classPercussionOnsetDetector.html#a4537aa0eb58a67d6e824d46924cf782">getOutputDescriptors</a> () const </td></tr>
|
cannam@0
|
104
|
cannam@0
|
105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the outputs of this plugin. <a href="#a4537aa0eb58a67d6e824d46924cf782"></a><br></td></tr>
|
cannam@0
|
106 <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="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">Vamp::RealTime</a> timestamp)</td></tr>
|
cannam@0
|
107
|
cannam@0
|
108 <tr><td class="mdescLeft"> </td><td class="mdescRight">Process a single block of input data. <a href="#dfd989812b3e0cb8f4b498f56a5a9614"></a><br></td></tr>
|
cannam@0
|
109 <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="classPercussionOnsetDetector.html#d3d6767ed137783e84f842b4d4732ffa">getRemainingFeatures</a> ()</td></tr>
|
cannam@0
|
110
|
cannam@0
|
111 <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="#d3d6767ed137783e84f842b4d4732ffa"></a><br></td></tr>
|
cannam@0
|
112 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#267b42e866df3cf0d190893e8096f525">getMinChannelCount</a> () const </td></tr>
|
cannam@0
|
113
|
cannam@0
|
114 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#267b42e866df3cf0d190893e8096f525"></a><br></td></tr>
|
cannam@0
|
115 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#2c5ab12b6fa4847cb244bd1e9cb3ae5e">getMaxChannelCount</a> () const </td></tr>
|
cannam@0
|
116
|
cannam@0
|
117 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#2c5ab12b6fa4847cb244bd1e9cb3ae5e"></a><br></td></tr>
|
cannam@0
|
118 <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
|
119
|
cannam@0
|
120 <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
|
121 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#8fd2c48291c64b790f0efb8948508dcf">getVampApiVersion</a> () const </td></tr>
|
cannam@0
|
122
|
cannam@21
|
123 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. <a href="#8fd2c48291c64b790f0efb8948508dcf"></a><br></td></tr>
|
cannam@0
|
124 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#bb307c60bdb981d5f5af50c3c4ae84af">getPrograms</a> () const </td></tr>
|
cannam@0
|
125
|
cannam@0
|
126 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the program settings available in this plugin. <a href="#bb307c60bdb981d5f5af50c3c4ae84af"></a><br></td></tr>
|
cannam@0
|
127 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#24e77eccf1bdfbbca3c79bb25e8799b3">getCurrentProgram</a> () const </td></tr>
|
cannam@0
|
128
|
cannam@0
|
129 <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the current program. <a href="#24e77eccf1bdfbbca3c79bb25e8799b3"></a><br></td></tr>
|
cannam@0
|
130 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#add3a547ef140bae200473a9518e3353">selectProgram</a> (std::string)</td></tr>
|
cannam@0
|
131
|
cannam@0
|
132 <tr><td class="mdescLeft"> </td><td class="mdescRight">Select a program. <a href="#add3a547ef140bae200473a9518e3353"></a><br></td></tr>
|
cannam@0
|
133 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
cannam@0
|
134 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#abac0cf7e961482b075777e5f0686e6c">m_stepSize</a></td></tr>
|
cannam@0
|
135
|
cannam@0
|
136 <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#920de543dbcf70a2edd80b5b31313285">m_blockSize</a></td></tr>
|
cannam@0
|
137
|
cannam@0
|
138 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#b04119adad56d87f2e633de289aab507">m_threshold</a></td></tr>
|
cannam@0
|
139
|
cannam@0
|
140 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#4e9770f246ba3bc75e7fc2cb8f9010af">m_sensitivity</a></td></tr>
|
cannam@0
|
141
|
cannam@0
|
142 <tr><td class="memItemLeft" nowrap align="right" valign="top">float * </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#30daa717267251a9d49afe57c328e989">m_priorMagnitudes</a></td></tr>
|
cannam@0
|
143
|
cannam@0
|
144 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#cd80162c65212be7fa91251263fb9c3d">m_dfMinus1</a></td></tr>
|
cannam@0
|
145
|
cannam@0
|
146 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPercussionOnsetDetector.html#6ad7d8353cc681ff42a63b127cca5779">m_dfMinus2</a></td></tr>
|
cannam@0
|
147
|
cannam@0
|
148 <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
|
149
|
cannam@0
|
150 </table>
|
cannam@35
|
151 <hr><a name="_details"></a><h2>Detailed Description</h2>
|
cannam@35
|
152 Example plugin that detects percussive events.
|
cannam@35
|
153 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00046">46</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
154 <hr><h2>Member Typedef Documentation</h2>
|
cannam@0
|
155 <a class="anchor" name="30f531b8fb69fac41a24e3d2a6a08ed9"></a><!-- doxytag: member="PercussionOnsetDetector::OutputList" ref="30f531b8fb69fac41a24e3d2a6a08ed9" args="" -->
|
cannam@0
|
156 <div class="memitem">
|
cannam@0
|
157 <div class="memproto">
|
cannam@0
|
158 <table class="memname">
|
cannam@0
|
159 <tr>
|
cannam@0
|
160 <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
|
161 </tr>
|
cannam@0
|
162 </table>
|
cannam@0
|
163 </div>
|
cannam@0
|
164 <div class="memdoc">
|
cannam@0
|
165
|
cannam@0
|
166 <p>
|
cannam@0
|
167
|
cannam@35
|
168 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00327">327</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
169
|
cannam@0
|
170 </div>
|
cannam@0
|
171 </div><p>
|
cannam@0
|
172 <a class="anchor" name="0730bc72c87fa02eb8d2854b233f7be1"></a><!-- doxytag: member="PercussionOnsetDetector::FeatureList" ref="0730bc72c87fa02eb8d2854b233f7be1" args="" -->
|
cannam@0
|
173 <div class="memitem">
|
cannam@0
|
174 <div class="memproto">
|
cannam@0
|
175 <table class="memname">
|
cannam@0
|
176 <tr>
|
cannam@0
|
177 <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
|
178 </tr>
|
cannam@0
|
179 </table>
|
cannam@0
|
180 </div>
|
cannam@0
|
181 <div class="memdoc">
|
cannam@0
|
182
|
cannam@0
|
183 <p>
|
cannam@0
|
184
|
cannam@35
|
185 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00385">385</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
186
|
cannam@0
|
187 </div>
|
cannam@0
|
188 </div><p>
|
cannam@0
|
189 <a class="anchor" name="448fb57dc245d47923ec9eeaf9856c5f"></a><!-- doxytag: member="PercussionOnsetDetector::FeatureSet" ref="448fb57dc245d47923ec9eeaf9856c5f" args="" -->
|
cannam@0
|
190 <div class="memitem">
|
cannam@0
|
191 <div class="memproto">
|
cannam@0
|
192 <table class="memname">
|
cannam@0
|
193 <tr>
|
cannam@0
|
194 <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
|
195 </tr>
|
cannam@0
|
196 </table>
|
cannam@0
|
197 </div>
|
cannam@0
|
198 <div class="memdoc">
|
cannam@0
|
199
|
cannam@0
|
200 <p>
|
cannam@0
|
201
|
cannam@35
|
202 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00387">387</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
203
|
cannam@0
|
204 </div>
|
cannam@0
|
205 </div><p>
|
cannam@0
|
206 <a class="anchor" name="3b6bb4bbd86affe1ca9deceea1aad4f8"></a><!-- doxytag: member="PercussionOnsetDetector::ParameterList" ref="3b6bb4bbd86affe1ca9deceea1aad4f8" args="" -->
|
cannam@0
|
207 <div class="memitem">
|
cannam@0
|
208 <div class="memproto">
|
cannam@0
|
209 <table class="memname">
|
cannam@0
|
210 <tr>
|
cannam@0
|
211 <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
|
212 </tr>
|
cannam@0
|
213 </table>
|
cannam@0
|
214 </div>
|
cannam@0
|
215 <div class="memdoc">
|
cannam@0
|
216
|
cannam@0
|
217 <p>
|
cannam@0
|
218
|
cannam@21
|
219 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00203">203</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
|
cannam@0
|
220
|
cannam@0
|
221 </div>
|
cannam@0
|
222 </div><p>
|
cannam@0
|
223 <a class="anchor" name="7f66f00437b21e5f694fe02356b12f20"></a><!-- doxytag: member="PercussionOnsetDetector::ProgramList" ref="7f66f00437b21e5f694fe02356b12f20" args="" -->
|
cannam@0
|
224 <div class="memitem">
|
cannam@0
|
225 <div class="memproto">
|
cannam@0
|
226 <table class="memname">
|
cannam@0
|
227 <tr>
|
cannam@0
|
228 <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
|
229 </tr>
|
cannam@0
|
230 </table>
|
cannam@0
|
231 </div>
|
cannam@0
|
232 <div class="memdoc">
|
cannam@0
|
233
|
cannam@0
|
234 <p>
|
cannam@0
|
235
|
cannam@21
|
236 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00225">225</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
|
cannam@0
|
237
|
cannam@0
|
238 </div>
|
cannam@0
|
239 </div><p>
|
cannam@0
|
240 <hr><h2>Member Enumeration Documentation</h2>
|
cannam@0
|
241 <a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bc"></a><!-- doxytag: member="PercussionOnsetDetector::InputDomain" ref="39cb7649d6dcc20e4cb1640cd55907bc" args="" -->
|
cannam@0
|
242 <div class="memitem">
|
cannam@0
|
243 <div class="memproto">
|
cannam@0
|
244 <table class="memname">
|
cannam@0
|
245 <tr>
|
cannam@0
|
246 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a><code> [inherited]</code> </td>
|
cannam@0
|
247 </tr>
|
cannam@0
|
248 </table>
|
cannam@0
|
249 </div>
|
cannam@0
|
250 <div class="memdoc">
|
cannam@0
|
251
|
cannam@0
|
252 <p>
|
cannam@0
|
253 <dl compact><dt><b>Enumerator: </b></dt><dd>
|
cannam@0
|
254 <table border="0" cellspacing="2" cellpadding="0">
|
cannam@0
|
255 <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff"></a><!-- doxytag: member="TimeDomain" ref="39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff" args="" -->TimeDomain</em> </td><td>
|
cannam@0
|
256 </td></tr>
|
cannam@0
|
257 <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53"></a><!-- doxytag: member="FrequencyDomain" ref="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53" args="" -->FrequencyDomain</em> </td><td>
|
cannam@0
|
258 </td></tr>
|
cannam@0
|
259 </table>
|
cannam@0
|
260 </dl>
|
cannam@0
|
261
|
cannam@21
|
262 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00152">152</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
263
|
cannam@0
|
264 </div>
|
cannam@0
|
265 </div><p>
|
cannam@0
|
266 <hr><h2>Constructor & Destructor Documentation</h2>
|
cannam@0
|
267 <a class="anchor" name="9f700579805ee5105758d847baab3511"></a><!-- doxytag: member="PercussionOnsetDetector::PercussionOnsetDetector" ref="9f700579805ee5105758d847baab3511" args="(float inputSampleRate)" -->
|
cannam@0
|
268 <div class="memitem">
|
cannam@0
|
269 <div class="memproto">
|
cannam@0
|
270 <table class="memname">
|
cannam@0
|
271 <tr>
|
cannam@0
|
272 <td class="memname">PercussionOnsetDetector::PercussionOnsetDetector </td>
|
cannam@0
|
273 <td>(</td>
|
cannam@0
|
274 <td class="paramtype">float </td>
|
cannam@0
|
275 <td class="paramname"> <em>inputSampleRate</em> </td>
|
cannam@0
|
276 <td> ) </td>
|
cannam@21
|
277 <td></td>
|
cannam@0
|
278 </tr>
|
cannam@0
|
279 </table>
|
cannam@0
|
280 </div>
|
cannam@0
|
281 <div class="memdoc">
|
cannam@0
|
282
|
cannam@0
|
283 <p>
|
cannam@0
|
284
|
cannam@0
|
285 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00047">47</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
286
|
cannam@0
|
287 </div>
|
cannam@0
|
288 </div><p>
|
cannam@0
|
289 <a class="anchor" name="99f833667cf8185e879d735216c7642b"></a><!-- doxytag: member="PercussionOnsetDetector::~PercussionOnsetDetector" ref="99f833667cf8185e879d735216c7642b" args="()" -->
|
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">PercussionOnsetDetector::~PercussionOnsetDetector </td>
|
cannam@0
|
295 <td>(</td>
|
cannam@0
|
296 <td class="paramname"> </td>
|
cannam@0
|
297 <td> ) </td>
|
cannam@21
|
298 <td><code> [virtual]</code></td>
|
cannam@0
|
299 </tr>
|
cannam@0
|
300 </table>
|
cannam@0
|
301 </div>
|
cannam@0
|
302 <div class="memdoc">
|
cannam@0
|
303
|
cannam@0
|
304 <p>
|
cannam@0
|
305
|
cannam@0
|
306 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00059">59</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
307
|
cannam@0
|
308 <p>References <a class="el" href="PercussionOnsetDetector_8h-source.html#l00084">m_priorMagnitudes</a>.</p>
|
cannam@0
|
309
|
cannam@0
|
310 </div>
|
cannam@0
|
311 </div><p>
|
cannam@0
|
312 <hr><h2>Member Function Documentation</h2>
|
cannam@0
|
313 <a class="anchor" name="349c528260622308f3850bcda8a448ab"></a><!-- doxytag: member="PercussionOnsetDetector::initialise" ref="349c528260622308f3850bcda8a448ab" args="(size_t channels, size_t stepSize, size_t blockSize)" -->
|
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">bool PercussionOnsetDetector::initialise </td>
|
cannam@0
|
319 <td>(</td>
|
cannam@0
|
320 <td class="paramtype">size_t </td>
|
cannam@0
|
321 <td class="paramname"> <em>inputChannels</em>, </td>
|
cannam@0
|
322 </tr>
|
cannam@0
|
323 <tr>
|
cannam@0
|
324 <td class="paramkey"></td>
|
cannam@0
|
325 <td></td>
|
cannam@0
|
326 <td class="paramtype">size_t </td>
|
cannam@0
|
327 <td class="paramname"> <em>stepSize</em>, </td>
|
cannam@0
|
328 </tr>
|
cannam@0
|
329 <tr>
|
cannam@0
|
330 <td class="paramkey"></td>
|
cannam@0
|
331 <td></td>
|
cannam@0
|
332 <td class="paramtype">size_t </td>
|
cannam@0
|
333 <td class="paramname"> <em>blockSize</em></td><td> </td>
|
cannam@0
|
334 </tr>
|
cannam@0
|
335 <tr>
|
cannam@0
|
336 <td></td>
|
cannam@0
|
337 <td>)</td>
|
cannam@21
|
338 <td></td><td></td><td><code> [virtual]</code></td>
|
cannam@0
|
339 </tr>
|
cannam@0
|
340 </table>
|
cannam@0
|
341 </div>
|
cannam@0
|
342 <div class="memdoc">
|
cannam@0
|
343
|
cannam@0
|
344 <p>
|
cannam@0
|
345 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
|
346 <p>
|
cannam@0
|
347 The input sample rate should have been already specified at construction time.<p>
|
cannam@0
|
348 Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported.
|
cannam@0
|
349 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p>
|
cannam@0
|
350
|
cannam@0
|
351 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">113</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
352
|
cannam@35
|
353 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00204">Vamp::Plugin::getMaxChannelCount()</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00199">Vamp::Plugin::getMinChannelCount()</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00080">m_blockSize</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00085">m_dfMinus1</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00086">m_dfMinus2</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00084">m_priorMagnitudes</a>, and <a class="el" href="PercussionOnsetDetector_8h-source.html#l00079">m_stepSize</a>.</p>
|
cannam@0
|
354
|
cannam@0
|
355 </div>
|
cannam@0
|
356 </div><p>
|
cannam@0
|
357 <a class="anchor" name="9b1075e992cd9599764ef3881fb91d1a"></a><!-- doxytag: member="PercussionOnsetDetector::reset" ref="9b1075e992cd9599764ef3881fb91d1a" args="()" -->
|
cannam@0
|
358 <div class="memitem">
|
cannam@0
|
359 <div class="memproto">
|
cannam@0
|
360 <table class="memname">
|
cannam@0
|
361 <tr>
|
cannam@0
|
362 <td class="memname">void PercussionOnsetDetector::reset </td>
|
cannam@0
|
363 <td>(</td>
|
cannam@0
|
364 <td class="paramname"> </td>
|
cannam@0
|
365 <td> ) </td>
|
cannam@21
|
366 <td><code> [virtual]</code></td>
|
cannam@0
|
367 </tr>
|
cannam@0
|
368 </table>
|
cannam@0
|
369 </div>
|
cannam@0
|
370 <div class="memdoc">
|
cannam@0
|
371
|
cannam@0
|
372 <p>
|
cannam@0
|
373 Reset the plugin after use, to prepare it for another clean run.
|
cannam@0
|
374 <p>
|
cannam@0
|
375 Not called for the first initialisation (i.e. initialise must also do a reset).
|
cannam@0
|
376 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
|
cannam@0
|
377
|
cannam@0
|
378 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00134">134</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
379
|
cannam@0
|
380 <p>References <a class="el" href="PercussionOnsetDetector_8h-source.html#l00080">m_blockSize</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00085">m_dfMinus1</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00086">m_dfMinus2</a>, and <a class="el" href="PercussionOnsetDetector_8h-source.html#l00084">m_priorMagnitudes</a>.</p>
|
cannam@0
|
381
|
cannam@0
|
382 </div>
|
cannam@0
|
383 </div><p>
|
cannam@0
|
384 <a class="anchor" name="4f6954267696ee5bfa7dd1c4a6cfa92a"></a><!-- doxytag: member="PercussionOnsetDetector::getInputDomain" ref="4f6954267696ee5bfa7dd1c4a6cfa92a" args="() const " -->
|
cannam@0
|
385 <div class="memitem">
|
cannam@0
|
386 <div class="memproto">
|
cannam@0
|
387 <table class="memname">
|
cannam@0
|
388 <tr>
|
cannam@0
|
389 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> PercussionOnsetDetector::getInputDomain </td>
|
cannam@0
|
390 <td>(</td>
|
cannam@0
|
391 <td class="paramname"> </td>
|
cannam@0
|
392 <td> ) </td>
|
cannam@21
|
393 <td> const<code> [inline, virtual]</code></td>
|
cannam@0
|
394 </tr>
|
cannam@0
|
395 </table>
|
cannam@0
|
396 </div>
|
cannam@0
|
397 <div class="memdoc">
|
cannam@0
|
398
|
cannam@0
|
399 <p>
|
cannam@0
|
400 Get the plugin's required input domain.
|
cannam@0
|
401 <p>
|
cannam@35
|
402 If this is TimeDomain, the samples provided to the <a class="el" href="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a> function (below) will be in the time domain, as for a traditional audio processing plugin.<p>
|
cannam@35
|
403 If this is FrequencyDomain, the host will carry out a windowed FFT of size equal to the negotiated block size on the data before passing the frequency bin data in to <a class="el" href="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a>. The input data for the FFT will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window.
|
cannam@0
|
404 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
|
cannam@0
|
405
|
cannam@0
|
406 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00055">55</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
407
|
cannam@21
|
408 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00152">Vamp::Plugin::FrequencyDomain</a>.</p>
|
cannam@0
|
409
|
cannam@0
|
410 </div>
|
cannam@0
|
411 </div><p>
|
cannam@0
|
412 <a class="anchor" name="267c83a7533146c127e2c3be310e0154"></a><!-- doxytag: member="PercussionOnsetDetector::getIdentifier" ref="267c83a7533146c127e2c3be310e0154" args="() const " -->
|
cannam@0
|
413 <div class="memitem">
|
cannam@0
|
414 <div class="memproto">
|
cannam@0
|
415 <table class="memname">
|
cannam@0
|
416 <tr>
|
cannam@0
|
417 <td class="memname">string PercussionOnsetDetector::getIdentifier </td>
|
cannam@0
|
418 <td>(</td>
|
cannam@0
|
419 <td class="paramname"> </td>
|
cannam@0
|
420 <td> ) </td>
|
cannam@21
|
421 <td> const<code> [virtual]</code></td>
|
cannam@0
|
422 </tr>
|
cannam@0
|
423 </table>
|
cannam@0
|
424 </div>
|
cannam@0
|
425 <div class="memdoc">
|
cannam@0
|
426
|
cannam@0
|
427 <p>
|
cannam@0
|
428 Get the computer-usable name of the plugin.
|
cannam@0
|
429 <p>
|
cannam@0
|
430 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
|
431 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
|
432 Example: "zero_crossings"
|
cannam@0
|
433 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#d1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
|
cannam@0
|
434
|
cannam@0
|
435 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00065">65</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
436
|
cannam@0
|
437 </div>
|
cannam@0
|
438 </div><p>
|
cannam@0
|
439 <a class="anchor" name="a98f1ad061a11af98c054011a8844e6f"></a><!-- doxytag: member="PercussionOnsetDetector::getName" ref="a98f1ad061a11af98c054011a8844e6f" args="() const " -->
|
cannam@0
|
440 <div class="memitem">
|
cannam@0
|
441 <div class="memproto">
|
cannam@0
|
442 <table class="memname">
|
cannam@0
|
443 <tr>
|
cannam@0
|
444 <td class="memname">string PercussionOnsetDetector::getName </td>
|
cannam@0
|
445 <td>(</td>
|
cannam@0
|
446 <td class="paramname"> </td>
|
cannam@0
|
447 <td> ) </td>
|
cannam@21
|
448 <td> const<code> [virtual]</code></td>
|
cannam@0
|
449 </tr>
|
cannam@0
|
450 </table>
|
cannam@0
|
451 </div>
|
cannam@0
|
452 <div class="memdoc">
|
cannam@0
|
453
|
cannam@0
|
454 <p>
|
cannam@0
|
455 Get a human-readable name or title of the plugin.
|
cannam@0
|
456 <p>
|
cannam@0
|
457 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
|
458 Example: "Zero Crossings"
|
cannam@0
|
459 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
|
cannam@0
|
460
|
cannam@0
|
461 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00071">71</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
462
|
cannam@0
|
463 </div>
|
cannam@0
|
464 </div><p>
|
cannam@0
|
465 <a class="anchor" name="9061d189705802a48973a7ccab6360db"></a><!-- doxytag: member="PercussionOnsetDetector::getDescription" ref="9061d189705802a48973a7ccab6360db" args="() const " -->
|
cannam@0
|
466 <div class="memitem">
|
cannam@0
|
467 <div class="memproto">
|
cannam@0
|
468 <table class="memname">
|
cannam@0
|
469 <tr>
|
cannam@0
|
470 <td class="memname">string PercussionOnsetDetector::getDescription </td>
|
cannam@0
|
471 <td>(</td>
|
cannam@0
|
472 <td class="paramname"> </td>
|
cannam@0
|
473 <td> ) </td>
|
cannam@21
|
474 <td> const<code> [virtual]</code></td>
|
cannam@0
|
475 </tr>
|
cannam@0
|
476 </table>
|
cannam@0
|
477 </div>
|
cannam@0
|
478 <div class="memdoc">
|
cannam@0
|
479
|
cannam@0
|
480 <p>
|
cannam@0
|
481 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
|
482 <p>
|
cannam@0
|
483 May be empty if the name has said it all already.<p>
|
cannam@0
|
484 Example: "Detect and count zero crossing points"
|
cannam@0
|
485 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
|
cannam@0
|
486
|
cannam@0
|
487 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00077">77</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
488
|
cannam@0
|
489 </div>
|
cannam@0
|
490 </div><p>
|
cannam@0
|
491 <a class="anchor" name="63d63f2cb7ea8d8b09d58cc13b541375"></a><!-- doxytag: member="PercussionOnsetDetector::getMaker" ref="63d63f2cb7ea8d8b09d58cc13b541375" args="() const " -->
|
cannam@0
|
492 <div class="memitem">
|
cannam@0
|
493 <div class="memproto">
|
cannam@0
|
494 <table class="memname">
|
cannam@0
|
495 <tr>
|
cannam@0
|
496 <td class="memname">string PercussionOnsetDetector::getMaker </td>
|
cannam@0
|
497 <td>(</td>
|
cannam@0
|
498 <td class="paramname"> </td>
|
cannam@0
|
499 <td> ) </td>
|
cannam@21
|
500 <td> const<code> [virtual]</code></td>
|
cannam@0
|
501 </tr>
|
cannam@0
|
502 </table>
|
cannam@0
|
503 </div>
|
cannam@0
|
504 <div class="memdoc">
|
cannam@0
|
505
|
cannam@0
|
506 <p>
|
cannam@0
|
507 Get the name of the author or vendor of the plugin in human-readable form.
|
cannam@0
|
508 <p>
|
cannam@0
|
509 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
|
510 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
|
cannam@0
|
511
|
cannam@0
|
512 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00083">83</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
513
|
cannam@0
|
514 </div>
|
cannam@0
|
515 </div><p>
|
cannam@0
|
516 <a class="anchor" name="d6b818dbd81867ce7be71c99cae861be"></a><!-- doxytag: member="PercussionOnsetDetector::getPluginVersion" ref="d6b818dbd81867ce7be71c99cae861be" args="() const " -->
|
cannam@0
|
517 <div class="memitem">
|
cannam@0
|
518 <div class="memproto">
|
cannam@0
|
519 <table class="memname">
|
cannam@0
|
520 <tr>
|
cannam@0
|
521 <td class="memname">int PercussionOnsetDetector::getPluginVersion </td>
|
cannam@0
|
522 <td>(</td>
|
cannam@0
|
523 <td class="paramname"> </td>
|
cannam@0
|
524 <td> ) </td>
|
cannam@21
|
525 <td> const<code> [virtual]</code></td>
|
cannam@0
|
526 </tr>
|
cannam@0
|
527 </table>
|
cannam@0
|
528 </div>
|
cannam@0
|
529 <div class="memdoc">
|
cannam@0
|
530
|
cannam@0
|
531 <p>
|
cannam@0
|
532 Get the version number of the plugin.
|
cannam@0
|
533 <p>
|
cannam@0
|
534
|
cannam@0
|
535 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
|
cannam@0
|
536
|
cannam@0
|
537 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00089">89</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
538
|
cannam@0
|
539 </div>
|
cannam@0
|
540 </div><p>
|
cannam@0
|
541 <a class="anchor" name="1a22ece271330c94cc08798a77416351"></a><!-- doxytag: member="PercussionOnsetDetector::getCopyright" ref="1a22ece271330c94cc08798a77416351" args="() const " -->
|
cannam@0
|
542 <div class="memitem">
|
cannam@0
|
543 <div class="memproto">
|
cannam@0
|
544 <table class="memname">
|
cannam@0
|
545 <tr>
|
cannam@0
|
546 <td class="memname">string PercussionOnsetDetector::getCopyright </td>
|
cannam@0
|
547 <td>(</td>
|
cannam@0
|
548 <td class="paramname"> </td>
|
cannam@0
|
549 <td> ) </td>
|
cannam@21
|
550 <td> const<code> [virtual]</code></td>
|
cannam@0
|
551 </tr>
|
cannam@0
|
552 </table>
|
cannam@0
|
553 </div>
|
cannam@0
|
554 <div class="memdoc">
|
cannam@0
|
555
|
cannam@0
|
556 <p>
|
cannam@0
|
557 Get the copyright statement or licensing summary for the plugin.
|
cannam@0
|
558 <p>
|
cannam@0
|
559 This can be an informative text, without the same presentation constraints as mentioned for getMaker above.
|
cannam@0
|
560 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#b7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
|
cannam@0
|
561
|
cannam@0
|
562 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00095">95</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
563
|
cannam@0
|
564 </div>
|
cannam@0
|
565 </div><p>
|
cannam@0
|
566 <a class="anchor" name="733824891e11c306a7a678534b89b968"></a><!-- doxytag: member="PercussionOnsetDetector::getPreferredStepSize" ref="733824891e11c306a7a678534b89b968" args="() const " -->
|
cannam@0
|
567 <div class="memitem">
|
cannam@0
|
568 <div class="memproto">
|
cannam@0
|
569 <table class="memname">
|
cannam@0
|
570 <tr>
|
cannam@0
|
571 <td class="memname">size_t PercussionOnsetDetector::getPreferredStepSize </td>
|
cannam@0
|
572 <td>(</td>
|
cannam@0
|
573 <td class="paramname"> </td>
|
cannam@0
|
574 <td> ) </td>
|
cannam@21
|
575 <td> const<code> [virtual]</code></td>
|
cannam@0
|
576 </tr>
|
cannam@0
|
577 </table>
|
cannam@0
|
578 </div>
|
cannam@0
|
579 <div class="memdoc">
|
cannam@0
|
580
|
cannam@0
|
581 <p>
|
cannam@0
|
582 Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a> function) for the plugin.
|
cannam@0
|
583 <p>
|
cannam@0
|
584 This should be called before <a class="el" href="classPercussionOnsetDetector.html#349c528260622308f3850bcda8a448ab" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p>
|
cannam@0
|
585 A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the <a class="el" href="classPercussionOnsetDetector.html#349c528260622308f3850bcda8a448ab" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call.
|
cannam@0
|
586 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#514c716c22f81c055f19b56c3f882567">Vamp::Plugin</a>.</p>
|
cannam@0
|
587
|
cannam@0
|
588 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00101">101</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
589
|
cannam@0
|
590 </div>
|
cannam@0
|
591 </div><p>
|
cannam@0
|
592 <a class="anchor" name="410c0b47c6c849d7ed9b726b84402ad0"></a><!-- doxytag: member="PercussionOnsetDetector::getPreferredBlockSize" ref="410c0b47c6c849d7ed9b726b84402ad0" args="() const " -->
|
cannam@0
|
593 <div class="memitem">
|
cannam@0
|
594 <div class="memproto">
|
cannam@0
|
595 <table class="memname">
|
cannam@0
|
596 <tr>
|
cannam@0
|
597 <td class="memname">size_t PercussionOnsetDetector::getPreferredBlockSize </td>
|
cannam@0
|
598 <td>(</td>
|
cannam@0
|
599 <td class="paramname"> </td>
|
cannam@0
|
600 <td> ) </td>
|
cannam@21
|
601 <td> const<code> [virtual]</code></td>
|
cannam@0
|
602 </tr>
|
cannam@0
|
603 </table>
|
cannam@0
|
604 </div>
|
cannam@0
|
605 <div class="memdoc">
|
cannam@0
|
606
|
cannam@0
|
607 <p>
|
cannam@0
|
608 Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a> function).
|
cannam@0
|
609 <p>
|
cannam@0
|
610 This should be called before <a class="el" href="classPercussionOnsetDetector.html#349c528260622308f3850bcda8a448ab" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<p>
|
cannam@0
|
611 A plugin that can handle any block size may return 0. The final block size will be set in the <a class="el" href="classPercussionOnsetDetector.html#349c528260622308f3850bcda8a448ab" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call.
|
cannam@0
|
612 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a529adf83f87a603954eb31407602aac">Vamp::Plugin</a>.</p>
|
cannam@0
|
613
|
cannam@0
|
614 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00107">107</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
615
|
cannam@0
|
616 </div>
|
cannam@0
|
617 </div><p>
|
cannam@0
|
618 <a class="anchor" name="bceae88cc9762b0ea310d7aad71de815"></a><!-- doxytag: member="PercussionOnsetDetector::getParameterDescriptors" ref="bceae88cc9762b0ea310d7aad71de815" args="() const " -->
|
cannam@0
|
619 <div class="memitem">
|
cannam@0
|
620 <div class="memproto">
|
cannam@0
|
621 <table class="memname">
|
cannam@0
|
622 <tr>
|
cannam@0
|
623 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">PercussionOnsetDetector::ParameterList</a> PercussionOnsetDetector::getParameterDescriptors </td>
|
cannam@0
|
624 <td>(</td>
|
cannam@0
|
625 <td class="paramname"> </td>
|
cannam@0
|
626 <td> ) </td>
|
cannam@21
|
627 <td> const<code> [virtual]</code></td>
|
cannam@0
|
628 </tr>
|
cannam@0
|
629 </table>
|
cannam@0
|
630 </div>
|
cannam@0
|
631 <div class="memdoc">
|
cannam@0
|
632
|
cannam@0
|
633 <p>
|
cannam@0
|
634 Get the controllable parameters of this plugin.
|
cannam@0
|
635 <p>
|
cannam@0
|
636
|
cannam@0
|
637 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#ac3e49b3b66cacfbb768dfdf07444f21">Vamp::PluginBase</a>.</p>
|
cannam@0
|
638
|
cannam@0
|
639 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00145">145</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
640
|
cannam@35
|
641 <p>References <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00171">Vamp::PluginBase::PluginBase::ParameterDescriptor::defaultValue</a>, <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00148">Vamp::PluginBase::PluginBase::ParameterDescriptor::description</a>, <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00137">Vamp::PluginBase::PluginBase::ParameterDescriptor::identifier</a>, <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00177">Vamp::PluginBase::PluginBase::ParameterDescriptor::isQuantized</a>, <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00163">Vamp::PluginBase::PluginBase::ParameterDescriptor::maxValue</a>, <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00158">Vamp::PluginBase::PluginBase::ParameterDescriptor::minValue</a>, <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00142">Vamp::PluginBase::PluginBase::ParameterDescriptor::name</a>, and <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00153">Vamp::PluginBase::PluginBase::ParameterDescriptor::unit</a>.</p>
|
cannam@0
|
642
|
cannam@0
|
643 </div>
|
cannam@0
|
644 </div><p>
|
cannam@0
|
645 <a class="anchor" name="9b28da8315fcde46ce7644d6592ba527"></a><!-- doxytag: member="PercussionOnsetDetector::getParameter" ref="9b28da8315fcde46ce7644d6592ba527" args="(std::string id) const " -->
|
cannam@0
|
646 <div class="memitem">
|
cannam@0
|
647 <div class="memproto">
|
cannam@0
|
648 <table class="memname">
|
cannam@0
|
649 <tr>
|
cannam@0
|
650 <td class="memname">float PercussionOnsetDetector::getParameter </td>
|
cannam@0
|
651 <td>(</td>
|
cannam@0
|
652 <td class="paramtype">std::string </td>
|
cannam@0
|
653 <td class="paramname"> </td>
|
cannam@0
|
654 <td> ) </td>
|
cannam@21
|
655 <td> const<code> [virtual]</code></td>
|
cannam@0
|
656 </tr>
|
cannam@0
|
657 </table>
|
cannam@0
|
658 </div>
|
cannam@0
|
659 <div class="memdoc">
|
cannam@0
|
660
|
cannam@0
|
661 <p>
|
cannam@0
|
662 Get the value of a named parameter.
|
cannam@0
|
663 <p>
|
cannam@0
|
664 The argument is the identifier field from that parameter's descriptor.
|
cannam@0
|
665 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#97ababcd45348ceec998d0f8e0f38bf7">Vamp::PluginBase</a>.</p>
|
cannam@0
|
666
|
cannam@0
|
667 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00174">174</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
668
|
cannam@0
|
669 <p>References <a class="el" href="PercussionOnsetDetector_8h-source.html#l00083">m_sensitivity</a>, and <a class="el" href="PercussionOnsetDetector_8h-source.html#l00082">m_threshold</a>.</p>
|
cannam@0
|
670
|
cannam@0
|
671 </div>
|
cannam@0
|
672 </div><p>
|
cannam@0
|
673 <a class="anchor" name="a097d72488e1211f05fc661ff5c6dc01"></a><!-- doxytag: member="PercussionOnsetDetector::setParameter" ref="a097d72488e1211f05fc661ff5c6dc01" args="(std::string id, float value)" -->
|
cannam@0
|
674 <div class="memitem">
|
cannam@0
|
675 <div class="memproto">
|
cannam@0
|
676 <table class="memname">
|
cannam@0
|
677 <tr>
|
cannam@0
|
678 <td class="memname">void PercussionOnsetDetector::setParameter </td>
|
cannam@0
|
679 <td>(</td>
|
cannam@0
|
680 <td class="paramtype">std::string </td>
|
cannam@0
|
681 <td class="paramname">, </td>
|
cannam@0
|
682 </tr>
|
cannam@0
|
683 <tr>
|
cannam@0
|
684 <td class="paramkey"></td>
|
cannam@0
|
685 <td></td>
|
cannam@0
|
686 <td class="paramtype">float </td>
|
cannam@0
|
687 <td class="paramname"></td><td> </td>
|
cannam@0
|
688 </tr>
|
cannam@0
|
689 <tr>
|
cannam@0
|
690 <td></td>
|
cannam@0
|
691 <td>)</td>
|
cannam@21
|
692 <td></td><td></td><td><code> [virtual]</code></td>
|
cannam@0
|
693 </tr>
|
cannam@0
|
694 </table>
|
cannam@0
|
695 </div>
|
cannam@0
|
696 <div class="memdoc">
|
cannam@0
|
697
|
cannam@0
|
698 <p>
|
cannam@0
|
699 Set a named parameter.
|
cannam@0
|
700 <p>
|
cannam@0
|
701 The first argument is the identifier field from that parameter's descriptor.
|
cannam@0
|
702 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
|
cannam@0
|
703
|
cannam@0
|
704 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00182">182</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
705
|
cannam@0
|
706 <p>References <a class="el" href="PercussionOnsetDetector_8h-source.html#l00083">m_sensitivity</a>, and <a class="el" href="PercussionOnsetDetector_8h-source.html#l00082">m_threshold</a>.</p>
|
cannam@0
|
707
|
cannam@0
|
708 </div>
|
cannam@0
|
709 </div><p>
|
cannam@0
|
710 <a class="anchor" name="a4537aa0eb58a67d6e824d46924cf782"></a><!-- doxytag: member="PercussionOnsetDetector::getOutputDescriptors" ref="a4537aa0eb58a67d6e824d46924cf782" args="() const " -->
|
cannam@0
|
711 <div class="memitem">
|
cannam@0
|
712 <div class="memproto">
|
cannam@0
|
713 <table class="memname">
|
cannam@0
|
714 <tr>
|
cannam@0
|
715 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">PercussionOnsetDetector::OutputList</a> PercussionOnsetDetector::getOutputDescriptors </td>
|
cannam@0
|
716 <td>(</td>
|
cannam@0
|
717 <td class="paramname"> </td>
|
cannam@0
|
718 <td> ) </td>
|
cannam@21
|
719 <td> const<code> [virtual]</code></td>
|
cannam@0
|
720 </tr>
|
cannam@0
|
721 </table>
|
cannam@0
|
722 </div>
|
cannam@0
|
723 <div class="memdoc">
|
cannam@0
|
724
|
cannam@0
|
725 <p>
|
cannam@0
|
726 Get the outputs of this plugin.
|
cannam@0
|
727 <p>
|
cannam@0
|
728 An output's index in this list is used as its numeric index when looking it up in the FeatureSet returned from the <a class="el" href="classPercussionOnsetDetector.html#dfd989812b3e0cb8f4b498f56a5a9614" title="Process a single block of input data.">process()</a> call.
|
cannam@0
|
729 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#d064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
|
cannam@0
|
730
|
cannam@0
|
731 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00196">196</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
732
|
cannam@35
|
733 <p>References <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00247">Vamp::Plugin::Plugin::OutputDescriptor::binCount</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00227">Vamp::Plugin::Plugin::OutputDescriptor::description</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00239">Vamp::Plugin::Plugin::OutputDescriptor::hasFixedBinCount</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00260">Vamp::Plugin::Plugin::OutputDescriptor::hasKnownExtents</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00214">Vamp::Plugin::Plugin::OutputDescriptor::identifier</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00278">Vamp::Plugin::Plugin::OutputDescriptor::isQuantized</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00436">Vamp::Plugin::m_inputSampleRate</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00220">Vamp::Plugin::Plugin::OutputDescriptor::name</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00290">Vamp::Plugin::Plugin::OutputDescriptor::OneSamplePerStep</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00285">Vamp::Plugin::Plugin::OutputDescriptor::quantizeStep</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00314">Vamp::Plugin::Plugin::OutputDescriptor::sampleRate</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00302">Vamp::Plugin::Plugin::OutputDescriptor::sampleType</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00232">Vamp::Plugin::Plugin::OutputDescriptor::unit</a>, and <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00296">Vamp::Plugin::Plugin::OutputDescriptor::VariableSampleRate</a>.</p>
|
cannam@0
|
734
|
cannam@0
|
735 </div>
|
cannam@0
|
736 </div><p>
|
cannam@0
|
737 <a class="anchor" name="dfd989812b3e0cb8f4b498f56a5a9614"></a><!-- doxytag: member="PercussionOnsetDetector::process" ref="dfd989812b3e0cb8f4b498f56a5a9614" args="(const float *const *inputBuffers, Vamp::RealTime timestamp)" -->
|
cannam@0
|
738 <div class="memitem">
|
cannam@0
|
739 <div class="memproto">
|
cannam@0
|
740 <table class="memname">
|
cannam@0
|
741 <tr>
|
cannam@0
|
742 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">PercussionOnsetDetector::FeatureSet</a> PercussionOnsetDetector::process </td>
|
cannam@0
|
743 <td>(</td>
|
cannam@0
|
744 <td class="paramtype">const float *const * </td>
|
cannam@0
|
745 <td class="paramname"> <em>inputBuffers</em>, </td>
|
cannam@0
|
746 </tr>
|
cannam@0
|
747 <tr>
|
cannam@0
|
748 <td class="paramkey"></td>
|
cannam@0
|
749 <td></td>
|
cannam@0
|
750 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">Vamp::RealTime</a> </td>
|
cannam@0
|
751 <td class="paramname"> <em>timestamp</em></td><td> </td>
|
cannam@0
|
752 </tr>
|
cannam@0
|
753 <tr>
|
cannam@0
|
754 <td></td>
|
cannam@0
|
755 <td>)</td>
|
cannam@21
|
756 <td></td><td></td><td><code> [virtual]</code></td>
|
cannam@0
|
757 </tr>
|
cannam@0
|
758 </table>
|
cannam@0
|
759 </div>
|
cannam@0
|
760 <div class="memdoc">
|
cannam@0
|
761
|
cannam@0
|
762 <p>
|
cannam@0
|
763 Process a single block of input data.
|
cannam@0
|
764 <p>
|
cannam@21
|
765 If the plugin's inputDomain is TimeDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize consecutive audio samples (the host will zero-pad as necessary). The timestamp in this case will be the real time in seconds of the start of the supplied block of samples.<p>
|
cannam@0
|
766 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
|
767 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
|
768 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p>
|
cannam@0
|
769
|
cannam@0
|
770 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">226</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
771
|
cannam@35
|
772 <p>References <a class="el" href="structVamp_1_1RealTime.html#939b4b1d1ca190db69a418883f16ce8a">Vamp::RealTime::frame2RealTime()</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00344">Vamp::Plugin::Plugin::Feature::hasTimestamp</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00080">m_blockSize</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00085">m_dfMinus1</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00086">m_dfMinus2</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00436">Vamp::Plugin::m_inputSampleRate</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00084">m_priorMagnitudes</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00083">m_sensitivity</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00079">m_stepSize</a>, <a class="el" href="PercussionOnsetDetector_8h-source.html#l00082">m_threshold</a>, <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00352">Vamp::Plugin::Plugin::Feature::timestamp</a>, and <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00374">Vamp::Plugin::Plugin::Feature::values</a>.</p>
|
cannam@0
|
773
|
cannam@0
|
774 </div>
|
cannam@0
|
775 </div><p>
|
cannam@0
|
776 <a class="anchor" name="d3d6767ed137783e84f842b4d4732ffa"></a><!-- doxytag: member="PercussionOnsetDetector::getRemainingFeatures" ref="d3d6767ed137783e84f842b4d4732ffa" args="()" -->
|
cannam@0
|
777 <div class="memitem">
|
cannam@0
|
778 <div class="memproto">
|
cannam@0
|
779 <table class="memname">
|
cannam@0
|
780 <tr>
|
cannam@0
|
781 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">PercussionOnsetDetector::FeatureSet</a> PercussionOnsetDetector::getRemainingFeatures </td>
|
cannam@0
|
782 <td>(</td>
|
cannam@0
|
783 <td class="paramname"> </td>
|
cannam@0
|
784 <td> ) </td>
|
cannam@21
|
785 <td><code> [virtual]</code></td>
|
cannam@0
|
786 </tr>
|
cannam@0
|
787 </table>
|
cannam@0
|
788 </div>
|
cannam@0
|
789 <div class="memdoc">
|
cannam@0
|
790
|
cannam@0
|
791 <p>
|
cannam@0
|
792 After all blocks have been processed, calculate and return any remaining features derived from the complete input.
|
cannam@0
|
793 <p>
|
cannam@0
|
794
|
cannam@0
|
795 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#eca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
|
cannam@0
|
796
|
cannam@21
|
797 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00283">283</a> of file <a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a>.</p>
|
cannam@0
|
798
|
cannam@0
|
799 </div>
|
cannam@0
|
800 </div><p>
|
cannam@0
|
801 <a class="anchor" name="267b42e866df3cf0d190893e8096f525"></a><!-- doxytag: member="PercussionOnsetDetector::getMinChannelCount" ref="267b42e866df3cf0d190893e8096f525" args="() const " -->
|
cannam@0
|
802 <div class="memitem">
|
cannam@0
|
803 <div class="memproto">
|
cannam@0
|
804 <table class="memname">
|
cannam@0
|
805 <tr>
|
cannam@0
|
806 <td class="memname">virtual size_t Vamp::Plugin::getMinChannelCount </td>
|
cannam@0
|
807 <td>(</td>
|
cannam@0
|
808 <td class="paramname"> </td>
|
cannam@0
|
809 <td> ) </td>
|
cannam@21
|
810 <td> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
811 </tr>
|
cannam@0
|
812 </table>
|
cannam@0
|
813 </div>
|
cannam@0
|
814 <div class="memdoc">
|
cannam@0
|
815
|
cannam@0
|
816 <p>
|
cannam@0
|
817 Get the minimum supported number of input channels.
|
cannam@0
|
818 <p>
|
cannam@0
|
819
|
cannam@0
|
820 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#67d1198c0e58d3f0076d0eda599ff28d">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#2b28f1cf37d46a514f1e1411a6037bf8">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
821
|
cannam@35
|
822 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00199">199</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
823
|
cannam@35
|
824 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00094">ZeroCrossing::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00104">SpectralCentroid::initialise()</a>, <a class="el" href="PowerSpectrum_8cpp-source.html#l00092">PowerSpectrum::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp-source.html#l00676">FixedTempoEstimator::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00265">runPlugin()</a>.</p>
|
cannam@0
|
825
|
cannam@0
|
826 </div>
|
cannam@0
|
827 </div><p>
|
cannam@0
|
828 <a class="anchor" name="2c5ab12b6fa4847cb244bd1e9cb3ae5e"></a><!-- doxytag: member="PercussionOnsetDetector::getMaxChannelCount" ref="2c5ab12b6fa4847cb244bd1e9cb3ae5e" args="() const " -->
|
cannam@0
|
829 <div class="memitem">
|
cannam@0
|
830 <div class="memproto">
|
cannam@0
|
831 <table class="memname">
|
cannam@0
|
832 <tr>
|
cannam@0
|
833 <td class="memname">virtual size_t Vamp::Plugin::getMaxChannelCount </td>
|
cannam@0
|
834 <td>(</td>
|
cannam@0
|
835 <td class="paramname"> </td>
|
cannam@0
|
836 <td> ) </td>
|
cannam@21
|
837 <td> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
838 </tr>
|
cannam@0
|
839 </table>
|
cannam@0
|
840 </div>
|
cannam@0
|
841 <div class="memdoc">
|
cannam@0
|
842
|
cannam@0
|
843 <p>
|
cannam@0
|
844 Get the maximum supported number of input channels.
|
cannam@0
|
845 <p>
|
cannam@0
|
846
|
cannam@0
|
847 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#25091905e97e39d515d8ffc1a9f2b9e0">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#985eb21f1827bfbc3950d6871b107a58">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
848
|
cannam@35
|
849 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00204">204</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
850
|
cannam@35
|
851 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00094">ZeroCrossing::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00104">SpectralCentroid::initialise()</a>, <a class="el" href="PowerSpectrum_8cpp-source.html#l00092">PowerSpectrum::initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp-source.html#l00676">FixedTempoEstimator::initialise()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, and <a class="el" href="vamp-simple-host_8cpp-source.html#l00265">runPlugin()</a>.</p>
|
cannam@0
|
852
|
cannam@0
|
853 </div>
|
cannam@0
|
854 </div><p>
|
cannam@0
|
855 <a class="anchor" name="be13b3997a69fbcc09e2213faa352f91"></a><!-- doxytag: member="PercussionOnsetDetector::getType" ref="be13b3997a69fbcc09e2213faa352f91" args="() const " -->
|
cannam@0
|
856 <div class="memitem">
|
cannam@0
|
857 <div class="memproto">
|
cannam@0
|
858 <table class="memname">
|
cannam@0
|
859 <tr>
|
cannam@0
|
860 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
|
cannam@0
|
861 <td>(</td>
|
cannam@0
|
862 <td class="paramname"> </td>
|
cannam@0
|
863 <td> ) </td>
|
cannam@21
|
864 <td> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
865 </tr>
|
cannam@0
|
866 </table>
|
cannam@0
|
867 </div>
|
cannam@0
|
868 <div class="memdoc">
|
cannam@0
|
869
|
cannam@0
|
870 <p>
|
cannam@0
|
871 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
|
872 <p>
|
cannam@0
|
873 Do not reimplement this function in your subclass.
|
cannam@0
|
874 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
|
cannam@0
|
875
|
cannam@35
|
876 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00430">430</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
877
|
cannam@0
|
878 </div>
|
cannam@0
|
879 </div><p>
|
cannam@0
|
880 <a class="anchor" name="8fd2c48291c64b790f0efb8948508dcf"></a><!-- doxytag: member="PercussionOnsetDetector::getVampApiVersion" ref="8fd2c48291c64b790f0efb8948508dcf" args="() const " -->
|
cannam@0
|
881 <div class="memitem">
|
cannam@0
|
882 <div class="memproto">
|
cannam@0
|
883 <table class="memname">
|
cannam@0
|
884 <tr>
|
cannam@0
|
885 <td class="memname">virtual unsigned int Vamp::PluginBase::getVampApiVersion </td>
|
cannam@0
|
886 <td>(</td>
|
cannam@0
|
887 <td class="paramname"> </td>
|
cannam@0
|
888 <td> ) </td>
|
cannam@21
|
889 <td> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
890 </tr>
|
cannam@0
|
891 </table>
|
cannam@0
|
892 </div>
|
cannam@0
|
893 <div class="memdoc">
|
cannam@0
|
894
|
cannam@0
|
895 <p>
|
cannam@21
|
896 Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin.
|
cannam@0
|
897 <p>
|
cannam@0
|
898
|
cannam@0
|
899 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#98aadddc8403eb46c9d8c5a9d1fdd19e">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#74147fda6b44ff2169bd4a1eea0d46ff">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
900
|
cannam@21
|
901 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00072">72</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
|
cannam@0
|
902
|
cannam@21
|
903 <p>Referenced by <a class="el" href="vamp-simple-host_8cpp-source.html#l00559">enumeratePlugins()</a>.</p>
|
cannam@0
|
904
|
cannam@0
|
905 </div>
|
cannam@0
|
906 </div><p>
|
cannam@0
|
907 <a class="anchor" name="bb307c60bdb981d5f5af50c3c4ae84af"></a><!-- doxytag: member="PercussionOnsetDetector::getPrograms" ref="bb307c60bdb981d5f5af50c3c4ae84af" args="() const " -->
|
cannam@0
|
908 <div class="memitem">
|
cannam@0
|
909 <div class="memproto">
|
cannam@0
|
910 <table class="memname">
|
cannam@0
|
911 <tr>
|
cannam@0
|
912 <td class="memname">virtual <a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::PluginBase::getPrograms </td>
|
cannam@0
|
913 <td>(</td>
|
cannam@0
|
914 <td class="paramname"> </td>
|
cannam@0
|
915 <td> ) </td>
|
cannam@21
|
916 <td> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
917 </tr>
|
cannam@0
|
918 </table>
|
cannam@0
|
919 </div>
|
cannam@0
|
920 <div class="memdoc">
|
cannam@0
|
921
|
cannam@0
|
922 <p>
|
cannam@0
|
923 Get the program settings available in this plugin.
|
cannam@0
|
924 <p>
|
cannam@0
|
925 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
|
926 The programs must have unique names.
|
cannam@21
|
927 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#e0cde5cd625418c1bc470b91f75daafc">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#131fbe1df81215020b9aa8cecef4c802">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
928
|
cannam@21
|
929 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00237">237</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
|
cannam@0
|
930
|
cannam@0
|
931 </div>
|
cannam@0
|
932 </div><p>
|
cannam@0
|
933 <a class="anchor" name="24e77eccf1bdfbbca3c79bb25e8799b3"></a><!-- doxytag: member="PercussionOnsetDetector::getCurrentProgram" ref="24e77eccf1bdfbbca3c79bb25e8799b3" args="() const " -->
|
cannam@0
|
934 <div class="memitem">
|
cannam@0
|
935 <div class="memproto">
|
cannam@0
|
936 <table class="memname">
|
cannam@0
|
937 <tr>
|
cannam@0
|
938 <td class="memname">virtual std::string Vamp::PluginBase::getCurrentProgram </td>
|
cannam@0
|
939 <td>(</td>
|
cannam@0
|
940 <td class="paramname"> </td>
|
cannam@0
|
941 <td> ) </td>
|
cannam@21
|
942 <td> const<code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
943 </tr>
|
cannam@0
|
944 </table>
|
cannam@0
|
945 </div>
|
cannam@0
|
946 <div class="memdoc">
|
cannam@0
|
947
|
cannam@0
|
948 <p>
|
cannam@0
|
949 Get the current program.
|
cannam@0
|
950 <p>
|
cannam@0
|
951
|
cannam@0
|
952 <p>Reimplemented in <a class="el" href="classVamp_1_1PluginHostAdapter.html#34859eff8ca8d862af39be9636ec1867">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#7a312dd42d161064b70afd7ff24c0651">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
953
|
cannam@21
|
954 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00242">242</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
|
cannam@0
|
955
|
cannam@0
|
956 </div>
|
cannam@0
|
957 </div><p>
|
cannam@0
|
958 <a class="anchor" name="add3a547ef140bae200473a9518e3353"></a><!-- doxytag: member="PercussionOnsetDetector::selectProgram" ref="add3a547ef140bae200473a9518e3353" args="(std::string)" -->
|
cannam@0
|
959 <div class="memitem">
|
cannam@0
|
960 <div class="memproto">
|
cannam@0
|
961 <table class="memname">
|
cannam@0
|
962 <tr>
|
cannam@0
|
963 <td class="memname">virtual void Vamp::PluginBase::selectProgram </td>
|
cannam@0
|
964 <td>(</td>
|
cannam@0
|
965 <td class="paramtype">std::string </td>
|
cannam@0
|
966 <td class="paramname"> </td>
|
cannam@0
|
967 <td> ) </td>
|
cannam@21
|
968 <td><code> [inline, virtual, inherited]</code></td>
|
cannam@0
|
969 </tr>
|
cannam@0
|
970 </table>
|
cannam@0
|
971 </div>
|
cannam@0
|
972 <div class="memdoc">
|
cannam@0
|
973
|
cannam@0
|
974 <p>
|
cannam@0
|
975 Select a program.
|
cannam@0
|
976 <p>
|
cannam@0
|
977 (If the given program name is not one of the available programs, do nothing.)
|
cannam@21
|
978 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#3cc7000e0aff525950e0a286b87f8927">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1PluginHostAdapter.html#8f5515ab34cc13d9403ccc6b4b788683">Vamp::PluginHostAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#074978333a74fdcf336a8a1d8ea20abf">Vamp::HostExt::PluginWrapper</a>.</p>
|
cannam@0
|
979
|
cannam@21
|
980 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h-source.html#l00248">248</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h-source.html">vamp-sdk/PluginBase.h</a>.</p>
|
cannam@0
|
981
|
cannam@0
|
982 </div>
|
cannam@0
|
983 </div><p>
|
cannam@0
|
984 <hr><h2>Member Data Documentation</h2>
|
cannam@0
|
985 <a class="anchor" name="abac0cf7e961482b075777e5f0686e6c"></a><!-- doxytag: member="PercussionOnsetDetector::m_stepSize" ref="abac0cf7e961482b075777e5f0686e6c" args="" -->
|
cannam@0
|
986 <div class="memitem">
|
cannam@0
|
987 <div class="memproto">
|
cannam@0
|
988 <table class="memname">
|
cannam@0
|
989 <tr>
|
cannam@0
|
990 <td class="memname">size_t <a class="el" href="classPercussionOnsetDetector.html#abac0cf7e961482b075777e5f0686e6c">PercussionOnsetDetector::m_stepSize</a><code> [protected]</code> </td>
|
cannam@0
|
991 </tr>
|
cannam@0
|
992 </table>
|
cannam@0
|
993 </div>
|
cannam@0
|
994 <div class="memdoc">
|
cannam@0
|
995
|
cannam@0
|
996 <p>
|
cannam@0
|
997
|
cannam@0
|
998 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00079">79</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
999
|
cannam@0
|
1000 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>.</p>
|
cannam@0
|
1001
|
cannam@0
|
1002 </div>
|
cannam@0
|
1003 </div><p>
|
cannam@0
|
1004 <a class="anchor" name="920de543dbcf70a2edd80b5b31313285"></a><!-- doxytag: member="PercussionOnsetDetector::m_blockSize" ref="920de543dbcf70a2edd80b5b31313285" args="" -->
|
cannam@0
|
1005 <div class="memitem">
|
cannam@0
|
1006 <div class="memproto">
|
cannam@0
|
1007 <table class="memname">
|
cannam@0
|
1008 <tr>
|
cannam@0
|
1009 <td class="memname">size_t <a class="el" href="classPercussionOnsetDetector.html#920de543dbcf70a2edd80b5b31313285">PercussionOnsetDetector::m_blockSize</a><code> [protected]</code> </td>
|
cannam@0
|
1010 </tr>
|
cannam@0
|
1011 </table>
|
cannam@0
|
1012 </div>
|
cannam@0
|
1013 <div class="memdoc">
|
cannam@0
|
1014
|
cannam@0
|
1015 <p>
|
cannam@0
|
1016
|
cannam@0
|
1017 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00080">80</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
1018
|
cannam@0
|
1019 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00134">reset()</a>.</p>
|
cannam@0
|
1020
|
cannam@0
|
1021 </div>
|
cannam@0
|
1022 </div><p>
|
cannam@0
|
1023 <a class="anchor" name="b04119adad56d87f2e633de289aab507"></a><!-- doxytag: member="PercussionOnsetDetector::m_threshold" ref="b04119adad56d87f2e633de289aab507" args="" -->
|
cannam@0
|
1024 <div class="memitem">
|
cannam@0
|
1025 <div class="memproto">
|
cannam@0
|
1026 <table class="memname">
|
cannam@0
|
1027 <tr>
|
cannam@0
|
1028 <td class="memname">float <a class="el" href="classPercussionOnsetDetector.html#b04119adad56d87f2e633de289aab507">PercussionOnsetDetector::m_threshold</a><code> [protected]</code> </td>
|
cannam@0
|
1029 </tr>
|
cannam@0
|
1030 </table>
|
cannam@0
|
1031 </div>
|
cannam@0
|
1032 <div class="memdoc">
|
cannam@0
|
1033
|
cannam@0
|
1034 <p>
|
cannam@0
|
1035
|
cannam@0
|
1036 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00082">82</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
1037
|
cannam@0
|
1038 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00174">getParameter()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00182">setParameter()</a>.</p>
|
cannam@0
|
1039
|
cannam@0
|
1040 </div>
|
cannam@0
|
1041 </div><p>
|
cannam@0
|
1042 <a class="anchor" name="4e9770f246ba3bc75e7fc2cb8f9010af"></a><!-- doxytag: member="PercussionOnsetDetector::m_sensitivity" ref="4e9770f246ba3bc75e7fc2cb8f9010af" args="" -->
|
cannam@0
|
1043 <div class="memitem">
|
cannam@0
|
1044 <div class="memproto">
|
cannam@0
|
1045 <table class="memname">
|
cannam@0
|
1046 <tr>
|
cannam@0
|
1047 <td class="memname">float <a class="el" href="classPercussionOnsetDetector.html#4e9770f246ba3bc75e7fc2cb8f9010af">PercussionOnsetDetector::m_sensitivity</a><code> [protected]</code> </td>
|
cannam@0
|
1048 </tr>
|
cannam@0
|
1049 </table>
|
cannam@0
|
1050 </div>
|
cannam@0
|
1051 <div class="memdoc">
|
cannam@0
|
1052
|
cannam@0
|
1053 <p>
|
cannam@0
|
1054
|
cannam@0
|
1055 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00083">83</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
1056
|
cannam@0
|
1057 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00174">getParameter()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00182">setParameter()</a>.</p>
|
cannam@0
|
1058
|
cannam@0
|
1059 </div>
|
cannam@0
|
1060 </div><p>
|
cannam@0
|
1061 <a class="anchor" name="30daa717267251a9d49afe57c328e989"></a><!-- doxytag: member="PercussionOnsetDetector::m_priorMagnitudes" ref="30daa717267251a9d49afe57c328e989" args="" -->
|
cannam@0
|
1062 <div class="memitem">
|
cannam@0
|
1063 <div class="memproto">
|
cannam@0
|
1064 <table class="memname">
|
cannam@0
|
1065 <tr>
|
cannam@0
|
1066 <td class="memname">float* <a class="el" href="classPercussionOnsetDetector.html#30daa717267251a9d49afe57c328e989">PercussionOnsetDetector::m_priorMagnitudes</a><code> [protected]</code> </td>
|
cannam@0
|
1067 </tr>
|
cannam@0
|
1068 </table>
|
cannam@0
|
1069 </div>
|
cannam@0
|
1070 <div class="memdoc">
|
cannam@0
|
1071
|
cannam@0
|
1072 <p>
|
cannam@0
|
1073
|
cannam@0
|
1074 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00084">84</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
1075
|
cannam@0
|
1076 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00134">reset()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00059">~PercussionOnsetDetector()</a>.</p>
|
cannam@0
|
1077
|
cannam@0
|
1078 </div>
|
cannam@0
|
1079 </div><p>
|
cannam@0
|
1080 <a class="anchor" name="cd80162c65212be7fa91251263fb9c3d"></a><!-- doxytag: member="PercussionOnsetDetector::m_dfMinus1" ref="cd80162c65212be7fa91251263fb9c3d" args="" -->
|
cannam@0
|
1081 <div class="memitem">
|
cannam@0
|
1082 <div class="memproto">
|
cannam@0
|
1083 <table class="memname">
|
cannam@0
|
1084 <tr>
|
cannam@0
|
1085 <td class="memname">float <a class="el" href="classPercussionOnsetDetector.html#cd80162c65212be7fa91251263fb9c3d">PercussionOnsetDetector::m_dfMinus1</a><code> [protected]</code> </td>
|
cannam@0
|
1086 </tr>
|
cannam@0
|
1087 </table>
|
cannam@0
|
1088 </div>
|
cannam@0
|
1089 <div class="memdoc">
|
cannam@0
|
1090
|
cannam@0
|
1091 <p>
|
cannam@0
|
1092
|
cannam@0
|
1093 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00085">85</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
1094
|
cannam@0
|
1095 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00134">reset()</a>.</p>
|
cannam@0
|
1096
|
cannam@0
|
1097 </div>
|
cannam@0
|
1098 </div><p>
|
cannam@0
|
1099 <a class="anchor" name="6ad7d8353cc681ff42a63b127cca5779"></a><!-- doxytag: member="PercussionOnsetDetector::m_dfMinus2" ref="6ad7d8353cc681ff42a63b127cca5779" args="" -->
|
cannam@0
|
1100 <div class="memitem">
|
cannam@0
|
1101 <div class="memproto">
|
cannam@0
|
1102 <table class="memname">
|
cannam@0
|
1103 <tr>
|
cannam@0
|
1104 <td class="memname">float <a class="el" href="classPercussionOnsetDetector.html#6ad7d8353cc681ff42a63b127cca5779">PercussionOnsetDetector::m_dfMinus2</a><code> [protected]</code> </td>
|
cannam@0
|
1105 </tr>
|
cannam@0
|
1106 </table>
|
cannam@0
|
1107 </div>
|
cannam@0
|
1108 <div class="memdoc">
|
cannam@0
|
1109
|
cannam@0
|
1110 <p>
|
cannam@0
|
1111
|
cannam@0
|
1112 <p>Definition at line <a class="el" href="PercussionOnsetDetector_8h-source.html#l00086">86</a> of file <a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a>.</p>
|
cannam@0
|
1113
|
cannam@0
|
1114 <p>Referenced by <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00113">initialise()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00134">reset()</a>.</p>
|
cannam@0
|
1115
|
cannam@0
|
1116 </div>
|
cannam@0
|
1117 </div><p>
|
cannam@0
|
1118 <a class="anchor" name="59b9dd82a4f4eb946cd0474cc81abc23"></a><!-- doxytag: member="PercussionOnsetDetector::m_inputSampleRate" ref="59b9dd82a4f4eb946cd0474cc81abc23" args="" -->
|
cannam@0
|
1119 <div class="memitem">
|
cannam@0
|
1120 <div class="memproto">
|
cannam@0
|
1121 <table class="memname">
|
cannam@0
|
1122 <tr>
|
cannam@0
|
1123 <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
|
1124 </tr>
|
cannam@0
|
1125 </table>
|
cannam@0
|
1126 </div>
|
cannam@0
|
1127 <div class="memdoc">
|
cannam@0
|
1128
|
cannam@0
|
1129 <p>
|
cannam@0
|
1130
|
cannam@35
|
1131 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h-source.html#l00436">436</a> of file <a class="el" href="vamp-sdk_2Plugin_8h-source.html">vamp-sdk/Plugin.h</a>.</p>
|
cannam@0
|
1132
|
cannam@35
|
1133 <p>Referenced by <a class="el" href="ZeroCrossing_8cpp-source.html#l00111">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00196">getOutputDescriptors()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00142">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00146">SpectralCentroid::process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">process()</a>.</p>
|
cannam@0
|
1134
|
cannam@0
|
1135 </div>
|
cannam@0
|
1136 </div><p>
|
cannam@0
|
1137 <hr>The documentation for this class was generated from the following files:<ul>
|
cannam@0
|
1138 <li><a class="el" href="PercussionOnsetDetector_8h-source.html">PercussionOnsetDetector.h</a><li><a class="el" href="PercussionOnsetDetector_8cpp-source.html">PercussionOnsetDetector.cpp</a></ul>
|
cannam@0
|
1139 </div>
|
cannam@35
|
1140 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by
|
cannam@0
|
1141 <a href="http://www.doxygen.org/index.html">
|
cannam@35
|
1142 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
cannam@0
|
1143 </body>
|
cannam@0
|
1144 </html>
|