forked from pschatzmann/arduino-stk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBowTable_8h_source.html
170 lines (170 loc) · 23.6 KB
/
BowTable_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arduino STK: BowTable.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Arduino STK
 <span id="projectnumber">4.6.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BowTable.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef STK_BOWTABL_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define STK_BOWTABL_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "Function.h"</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <cmath></span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">namespace </span><a class="code" href="namespacestk.html">stk</a> {</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/***************************************************/</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">/***************************************************/</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html"> 22</a></span> <span class="keyword">class </span><a class="code" href="classstk_1_1BowTable.html">BowTable</a> : <span class="keyword">public</span> <a class="code" href="classstk_1_1Function.html">Function</a></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> {</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#a25d0985fd6821a7e1608af1e8f51952a"> 26</a></span>  <a class="code" href="classstk_1_1BowTable.html#a25d0985fd6821a7e1608af1e8f51952a">BowTable</a>( <span class="keywordtype">void</span> ) : offset_(0.0), slope_(0.1), minOutput_(0.01), maxOutput_(0.98) {};</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#a9adcc3c36085b73d3b877828071a3b2c"> 35</a></span>  <span class="keywordtype">void</span> <a class="code" href="classstk_1_1BowTable.html#a9adcc3c36085b73d3b877828071a3b2c">setOffset</a>( StkFloat offset ) { offset_ = offset; };</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#ad8391e46941ff9f49b78bf4f77c35143"> 42</a></span>  <span class="keywordtype">void</span> <a class="code" href="classstk_1_1BowTable.html#ad8391e46941ff9f49b78bf4f77c35143">setSlope</a>( StkFloat slope ) { slope_ = slope; };</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#a9540d5c56cfd4556ab25c25f0612b25d"> 45</a></span>  <span class="keywordtype">void</span> <a class="code" href="classstk_1_1BowTable.html#a9540d5c56cfd4556ab25c25f0612b25d">setMinOutput</a>( StkFloat minimum ) { minOutput_ = minimum; };</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#a634d5063eba886445f4057c823b00ff7"> 48</a></span>  <span class="keywordtype">void</span> <a class="code" href="classstk_1_1BowTable.html#a634d5063eba886445f4057c823b00ff7">setMaxOutput</a>( StkFloat maximum ) { maxOutput_ = maximum; };</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  StkFloat <a class="code" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">tick</a>( StkFloat input );</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& <a class="code" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">tick</a>( <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel = 0 );</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& <a class="code" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">tick</a>( <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& iFrames, <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a> &oFrames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> iChannel = 0, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> oChannel = 0 );</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  StkFloat offset_;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  StkFloat slope_;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  StkFloat minOutput_;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  StkFloat maxOutput_;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19"> 84</a></span> <span class="keyword">inline</span> StkFloat <a class="code" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">BowTable :: tick</a>( StkFloat input )</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> {</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// The input represents differential string vs. bow velocity.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  StkFloat sample = input + offset_; <span class="comment">// add bias to input</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  sample *= slope_; <span class="comment">// then scale it</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  lastFrame_[0] = (StkFloat) fabs( (<span class="keywordtype">double</span>) sample ) + (StkFloat) 0.75;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  lastFrame_[0] = (StkFloat) pow( lastFrame_[0], (StkFloat) -4.0 );</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">// Set minimum threshold</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">if</span> ( lastFrame_[0] < minOutput_ ) lastFrame_[0] = minOutput_;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// Set maximum threshold</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">if</span> ( lastFrame_[0] > maxOutput_ ) lastFrame_[0] = maxOutput_;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> lastFrame_[0];</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#a8ad2766def014b62dcbbd8765e133246"> 101</a></span> <span class="keyword">inline</span> <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& <a class="code" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">BowTable :: tick</a>( <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel )</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> {</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#if defined(_STK_DEBUG_)</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">if</span> ( channel >= frames.<a class="code" href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">channels</a>() ) {</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  oStream_ << <span class="stringliteral">"BowTable::tick(): channel and StkFrames arguments are incompatible!"</span>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classstk_1_1Stk.html#a48ac73a0d8ca28445ba1a054e1f061ff">handleError</a>( StkError::FUNCTION_ARGUMENT );</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  StkFloat *samples = &frames[channel];</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hop = frames.<a class="code" href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">channels</a>();</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i<frames.<a class="code" href="classstk_1_1StkFrames.html#a0fc22e21feecdee966f0203722b9c168">frames</a>(); i++, samples += hop ) {</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  *samples = *samples + offset_;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  *samples *= slope_;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  *samples = (StkFloat) fabs( (<span class="keywordtype">double</span>) *samples ) + 0.75;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  *samples = (StkFloat) pow( *samples, (StkFloat) -4.0 );</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span> ( *samples > 1.0) *samples = 1.0;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  lastFrame_[0] = *(samples-hop);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> frames;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classstk_1_1BowTable.html#aaf72f823f210b18f417337ac7181cde5"> 124</a></span> <span class="keyword">inline</span> <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& <a class="code" href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">BowTable :: tick</a>( <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& iFrames, <a class="code" href="classstk_1_1StkFrames.html">StkFrames</a>& oFrames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> iChannel, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> oChannel )</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> {</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#if defined(_STK_DEBUG_)</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> ( iChannel >= iFrames.<a class="code" href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">channels</a>() || oChannel >= oFrames.<a class="code" href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">channels</a>() ) {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  oStream_ << <span class="stringliteral">"BowTable::tick(): channel and StkFrames arguments are incompatible!"</span>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="classstk_1_1Stk.html#a48ac73a0d8ca28445ba1a054e1f061ff">handleError</a>( StkError::FUNCTION_ARGUMENT );</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  StkFloat *iSamples = &iFrames[iChannel];</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  StkFloat *oSamples = &oFrames[oChannel];</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> iHop = iFrames.<a class="code" href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">channels</a>(), oHop = oFrames.<a class="code" href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">channels</a>();</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i<iFrames.<a class="code" href="classstk_1_1StkFrames.html#a0fc22e21feecdee966f0203722b9c168">frames</a>(); i++, iSamples += iHop, oSamples += oHop ) {</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  *oSamples = *iSamples + offset_;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  *oSamples *= slope_;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  *oSamples = (StkFloat) fabs( (<span class="keywordtype">double</span>) *oSamples ) + 0.75;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  *oSamples = (StkFloat) pow( *oSamples, (StkFloat) -4.0 );</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> ( *oSamples > 1.0) *oSamples = 1.0;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  }</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  lastFrame_[0] = *(oSamples-oHop);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> iFrames;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> } <span class="comment">// stk namespace</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassstk_1_1BowTable_html"><div class="ttname"><a href="classstk_1_1BowTable.html">stk::BowTable</a></div><div class="ttdoc">STK bowed string table class.</div><div class="ttdef"><b>Definition:</b> BowTable.h:23</div></div>
<div class="ttc" id="aclassstk_1_1BowTable_html_a25d0985fd6821a7e1608af1e8f51952a"><div class="ttname"><a href="classstk_1_1BowTable.html#a25d0985fd6821a7e1608af1e8f51952a">stk::BowTable::BowTable</a></div><div class="ttdeci">BowTable(void)</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition:</b> BowTable.h:26</div></div>
<div class="ttc" id="aclassstk_1_1BowTable_html_a634d5063eba886445f4057c823b00ff7"><div class="ttname"><a href="classstk_1_1BowTable.html#a634d5063eba886445f4057c823b00ff7">stk::BowTable::setMaxOutput</a></div><div class="ttdeci">void setMaxOutput(StkFloat maximum)</div><div class="ttdoc">Set the maximum table output value (0.0 - 1.0).</div><div class="ttdef"><b>Definition:</b> BowTable.h:48</div></div>
<div class="ttc" id="aclassstk_1_1BowTable_html_a8dc58c69ecda1471dce6d142cb5f4b19"><div class="ttname"><a href="classstk_1_1BowTable.html#a8dc58c69ecda1471dce6d142cb5f4b19">stk::BowTable::tick</a></div><div class="ttdeci">StkFloat tick(StkFloat input)</div><div class="ttdoc">Take one sample input and map to one sample of output.</div><div class="ttdef"><b>Definition:</b> BowTable.h:84</div></div>
<div class="ttc" id="aclassstk_1_1BowTable_html_a9540d5c56cfd4556ab25c25f0612b25d"><div class="ttname"><a href="classstk_1_1BowTable.html#a9540d5c56cfd4556ab25c25f0612b25d">stk::BowTable::setMinOutput</a></div><div class="ttdeci">void setMinOutput(StkFloat minimum)</div><div class="ttdoc">Set the minimum table output value (0.0 - 1.0).</div><div class="ttdef"><b>Definition:</b> BowTable.h:45</div></div>
<div class="ttc" id="aclassstk_1_1BowTable_html_a9adcc3c36085b73d3b877828071a3b2c"><div class="ttname"><a href="classstk_1_1BowTable.html#a9adcc3c36085b73d3b877828071a3b2c">stk::BowTable::setOffset</a></div><div class="ttdeci">void setOffset(StkFloat offset)</div><div class="ttdoc">Set the table offset value.</div><div class="ttdef"><b>Definition:</b> BowTable.h:35</div></div>
<div class="ttc" id="aclassstk_1_1BowTable_html_ad8391e46941ff9f49b78bf4f77c35143"><div class="ttname"><a href="classstk_1_1BowTable.html#ad8391e46941ff9f49b78bf4f77c35143">stk::BowTable::setSlope</a></div><div class="ttdeci">void setSlope(StkFloat slope)</div><div class="ttdoc">Set the table slope value.</div><div class="ttdef"><b>Definition:</b> BowTable.h:42</div></div>
<div class="ttc" id="aclassstk_1_1Function_html"><div class="ttname"><a href="classstk_1_1Function.html">stk::Function</a></div><div class="ttdoc">STK abstract function parent class.</div><div class="ttdef"><b>Definition:</b> Function.h:21</div></div>
<div class="ttc" id="aclassstk_1_1StkFrames_html"><div class="ttname"><a href="classstk_1_1StkFrames.html">stk::StkFrames</a></div><div class="ttdoc">An STK class to handle vectorized audio data.</div><div class="ttdef"><b>Definition:</b> Stk.h:287</div></div>
<div class="ttc" id="aclassstk_1_1StkFrames_html_a0340d9e76707282658e49509a568f60e"><div class="ttname"><a href="classstk_1_1StkFrames.html#a0340d9e76707282658e49509a568f60e">stk::StkFrames::channels</a></div><div class="ttdeci">unsigned int channels(void) const</div><div class="ttdoc">Return the number of channels represented by the data.</div><div class="ttdef"><b>Definition:</b> Stk.h:415</div></div>
<div class="ttc" id="aclassstk_1_1StkFrames_html_a0fc22e21feecdee966f0203722b9c168"><div class="ttname"><a href="classstk_1_1StkFrames.html#a0fc22e21feecdee966f0203722b9c168">stk::StkFrames::frames</a></div><div class="ttdeci">unsigned int frames(void) const</div><div class="ttdoc">Return the number of sample frames represented by the data.</div><div class="ttdef"><b>Definition:</b> Stk.h:418</div></div>
<div class="ttc" id="aclassstk_1_1Stk_html_a48ac73a0d8ca28445ba1a054e1f061ff"><div class="ttname"><a href="classstk_1_1Stk.html#a48ac73a0d8ca28445ba1a054e1f061ff">stk::Stk::handleError</a></div><div class="ttdeci">static void handleError(const char *message, StkError::Type type)</div><div class="ttdoc">Static function for error reporting and handling using c-strings.</div></div>
<div class="ttc" id="anamespacestk_html"><div class="ttname"><a href="namespacestk.html">stk</a></div><div class="ttdoc">The STK namespace.</div><div class="ttdef"><b>Definition:</b> ADSR.h:8</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>