mirror of
https://github.com/thestk/stk
synced 2026-01-14 13:31:53 +00:00
62 lines
3.3 KiB
HTML
62 lines
3.3 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"><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.2.8.1 -->
|
|
<h1>Reverb.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
|
00010 <font class="comment">/***************************************************/</font>
|
|
00011
|
|
00012 <font class="preprocessor">#include "Stk.h"</font>
|
|
00013
|
|
00014 <font class="preprocessor">#if !defined(__REVERB_H)</font>
|
|
00015 <font class="preprocessor"></font><font class="preprocessor">#define __REVERB_H</font>
|
|
00016 <font class="preprocessor"></font>
|
|
00017 <font class="keyword">class </font><a class="code" href="classReverb.html">Reverb</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
|
00018 {
|
|
00019 <font class="keyword">public</font>:
|
|
00021 <a class="code" href="classReverb.html#a0">Reverb</a>();
|
|
00022
|
|
00024 <font class="keyword">virtual</font> <a class="code" href="classReverb.html#a1">~Reverb</a>();
|
|
00025
|
|
00027 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a2">clear</a>() = 0;
|
|
00028
|
|
00030 <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a3">setEffectMix</a>(MY_FLOAT mix);
|
|
00031
|
|
00033 MY_FLOAT <a class="code" href="classReverb.html#a4">lastOut</a>() <font class="keyword">const</font>;
|
|
00034
|
|
00036 MY_FLOAT <a class="code" href="classReverb.html#a5">lastOutLeft</a>() <font class="keyword">const</font>;
|
|
00037
|
|
00039 MY_FLOAT <a class="code" href="classReverb.html#a6">lastOutRight</a>() <font class="keyword">const</font>;
|
|
00040
|
|
00042 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT input) = 0;
|
|
00043
|
|
00045 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
|
00046
|
|
00047 <font class="keyword">protected</font>:
|
|
00048
|
|
00049 <font class="comment">// Returns true if argument value is prime.</font>
|
|
00050 <font class="keywordtype">bool</font> isPrime(<font class="keywordtype">int</font> number);
|
|
00051
|
|
00052 MY_FLOAT lastOutput[2];
|
|
00053 MY_FLOAT effectMix;
|
|
00054
|
|
00055 };
|
|
00056
|
|
00057 <font class="preprocessor">#endif // defined(__REVERB_H)</font>
|
|
00058 <font class="preprocessor"></font>
|
|
</pre></div><HR>
|
|
|
|
<table>
|
|
<tr><td><A HREF="http://www-ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
|
|
<tr><td>©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|