mirror of
https://github.com/thestk/stk
synced 2026-01-13 04:51:53 +00:00
62 lines
3.4 KiB
HTML
62 lines
3.4 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>Chorus.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00009 <span class="comment">/***************************************************/</span>
|
|
00010
|
|
00011 <span class="preprocessor">#ifndef STK_CHORUS_H</span>
|
|
00012 <span class="preprocessor"></span><span class="preprocessor">#define STK_CHORUS_H</span>
|
|
00013 <span class="preprocessor"></span>
|
|
00014 <span class="preprocessor">#include "Effect.h"</span>
|
|
00015 <span class="preprocessor">#include "DelayL.h"</span>
|
|
00016 <span class="preprocessor">#include "WaveLoop.h"</span>
|
|
00017
|
|
<a name="l00018"></a><a class="code" href="classChorus.html">00018</a> <span class="keyword">class </span><a class="code" href="classChorus.html">Chorus</a> : <span class="keyword">public</span> <a class="code" href="classEffect.html">Effect</a>
|
|
00019 {
|
|
00020 <span class="keyword">public</span>:
|
|
00022
|
|
00025 <a class="code" href="classChorus.html#a0">Chorus</a>( StkFloat baseDelay = 6000 );
|
|
00026
|
|
00028 <a class="code" href="classChorus.html#a1">~Chorus</a>();
|
|
00029
|
|
00031 <span class="keywordtype">void</span> <a class="code" href="classChorus.html#a2">clear</a>();
|
|
00032
|
|
00034 <span class="keywordtype">void</span> <a class="code" href="classChorus.html#a3">setModDepth</a>(StkFloat depth);
|
|
00035
|
|
00037 <span class="keywordtype">void</span> <a class="code" href="classChorus.html#a4">setModFrequency</a>(StkFloat frequency);
|
|
00038
|
|
00040 StkFloat <a class="code" href="classChorus.html#a5">tick</a>(StkFloat input);
|
|
00041
|
|
00043 StkFloat *<a class="code" href="classChorus.html#a5">tick</a>( StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize );
|
|
00044
|
|
00046
|
|
00052 <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classChorus.html#a5">tick</a>( <a class="code" href="classStkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel = 1 );
|
|
00053
|
|
00054 <span class="keyword">protected</span>:
|
|
00055 <a class="code" href="classDelayL.html">DelayL</a> delayLine_[2];
|
|
00056 <a class="code" href="classWaveLoop.html">WaveLoop</a> *mods_[2];
|
|
00057 StkFloat baseLength_;
|
|
00058 StkFloat modDepth_;
|
|
00059
|
|
00060 };
|
|
00061
|
|
00062 <span class="preprocessor">#endif</span>
|
|
00063 <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>
|