mirror of
https://github.com/thestk/stk
synced 2026-01-12 12:31:53 +00:00
65 lines
3.7 KiB
HTML
65 lines
3.7 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>The Synthesis ToolKit in C++ (STK)</TITLE>
|
|
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF">
|
|
<CENTER>
|
|
<img src="princeton.gif"> <img src="ccrma.gif"> <img src="mcgill.gif"><P>
|
|
<a class="qindex" href="index.html">Home</a> <a class="qindex" href="information.html">Information</a> <a class="qindex" href="classes.html">Classes</a> <a class="qindex" href="download.html">Download</a> <a class="qindex" href="usage.html">Usage</a> <a class="qindex" href="maillist.html">Mail List</a> <a class="qindex" href="system.html">Requirements</a> <a class="qindex" href="links.html">Links</a> <a class="qindex" href="tutorial.html">Tutorial</a></CENTER>
|
|
<HR>
|
|
<!-- Generated by Doxygen 1.3.4 -->
|
|
<h1>OneZero.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00013 <span class="comment">/***************************************************/</span>
|
|
00014
|
|
00015 <span class="preprocessor">#ifndef STK_ONEZERO_H</span>
|
|
00016 <span class="preprocessor"></span><span class="preprocessor">#define STK_ONEZERO_H</span>
|
|
00017 <span class="preprocessor"></span>
|
|
00018 <span class="preprocessor">#include "Filter.h"</span>
|
|
00019
|
|
<a name="l00020"></a><a class="code" href="classOneZero.html">00020</a> <span class="keyword">class </span><a class="code" href="classOneZero.html">OneZero</a> : <span class="keyword">protected</span> <a class="code" href="classFilter.html">Filter</a>
|
|
00021 {
|
|
00022 <span class="keyword">public</span>:
|
|
00023
|
|
00025 <a class="code" href="classOneZero.html#a0">OneZero</a>();
|
|
00026
|
|
00028 <a class="code" href="classOneZero.html#a0">OneZero</a>(StkFloat theZero);
|
|
00029
|
|
00031 <a class="code" href="classOneZero.html#a2">~OneZero</a>();
|
|
00032
|
|
00034 <span class="keywordtype">void</span> <a class="code" href="classOneZero.html#a3">clear</a>(<span class="keywordtype">void</span>);
|
|
00035
|
|
00037 <span class="keywordtype">void</span> <a class="code" href="classOneZero.html#a4">setB0</a>(StkFloat b0);
|
|
00038
|
|
00040 <span class="keywordtype">void</span> <a class="code" href="classOneZero.html#a5">setB1</a>(StkFloat b1);
|
|
00041
|
|
00043
|
|
00050 <span class="keywordtype">void</span> <a class="code" href="classOneZero.html#a6">setZero</a>(StkFloat theZero);
|
|
00051
|
|
00053
|
|
00057 <span class="keywordtype">void</span> <a class="code" href="classOneZero.html#a7">setGain</a>(StkFloat gain);
|
|
00058
|
|
00060 StkFloat <a class="code" href="classOneZero.html#a8">getGain</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
|
00061
|
|
00063 StkFloat <a class="code" href="classOneZero.html#a9">lastOut</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
|
00064
|
|
00066 StkFloat <a class="code" href="classOneZero.html#a10">tick</a>(StkFloat sample);
|
|
00067
|
|
00069 StkFloat *<a class="code" href="classOneZero.html#a10">tick</a>(StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize);
|
|
00070
|
|
00072
|
|
00078 <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classOneZero.html#a10">tick</a>( <a class="code" href="classStkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel = 1 );
|
|
00079
|
|
00080 };
|
|
00081
|
|
00082 <span class="preprocessor">#endif</span>
|
|
</pre></div><HR>
|
|
|
|
<table>
|
|
<tr><td><A HREF="http://ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
|
|
<tr><td>©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|