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>Effect.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00010 <span class="comment">/***************************************************/</span>
|
|
00011
|
|
00012 <span class="preprocessor">#include "Stk.h"</span>
|
|
00013
|
|
00014 <span class="preprocessor">#ifndef STK_EFFECT_H</span>
|
|
00015 <span class="preprocessor"></span><span class="preprocessor">#define STK_EFFECT_H</span>
|
|
00016 <span class="preprocessor"></span>
|
|
<a name="l00017"></a><a class="code" href="classEffect.html">00017</a> <span class="keyword">class </span><a class="code" href="classEffect.html">Effect</a> : <span class="keyword">public</span> <a class="code" href="classStk.html">Stk</a>
|
|
00018 {
|
|
00019 <span class="keyword">public</span>:
|
|
00021 <a class="code" href="classEffect.html#a0">Effect</a>();
|
|
00022
|
|
00024 <span class="keyword">virtual</span> <a class="code" href="classEffect.html#a1">~Effect</a>();
|
|
00025
|
|
00027 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classEffect.html#a2">clear</a>() = 0;
|
|
00028
|
|
00030 <span class="keywordtype">void</span> <a class="code" href="classEffect.html#a3">setEffectMix</a>(StkFloat mix);
|
|
00031
|
|
00033 StkFloat <a class="code" href="classEffect.html#a4">lastOut</a>() <span class="keyword">const</span>;
|
|
00034
|
|
00036 StkFloat <a class="code" href="classEffect.html#a5">lastOutLeft</a>() <span class="keyword">const</span>;
|
|
00037
|
|
00039 StkFloat <a class="code" href="classEffect.html#a6">lastOutRight</a>() <span class="keyword">const</span>;
|
|
00040
|
|
00042 <span class="keyword">virtual</span> StkFloat <a class="code" href="classEffect.html#a7">tick</a>( StkFloat input ) = 0;
|
|
00043
|
|
00045 <span class="keyword">virtual</span> StkFloat *<a class="code" href="classEffect.html#a7">tick</a>( StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize );
|
|
00046
|
|
00048
|
|
00054 <span class="keyword">virtual</span> <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classEffect.html#a7">tick</a>( <a class="code" href="classStkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel = 1 );
|
|
00055
|
|
00056 <span class="keyword">protected</span>:
|
|
00057
|
|
00058 <span class="comment">// Returns true if argument value is prime.</span>
|
|
00059 <span class="keywordtype">bool</span> isPrime( <span class="keywordtype">int</span> number );
|
|
00060
|
|
00061 StkFloat lastOutput_[2];
|
|
00062 StkFloat effectMix_;
|
|
00063
|
|
00064 };
|
|
00065
|
|
00066 <span class="preprocessor">#endif</span>
|
|
00067 <span class="preprocessor"></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>
|