mirror of
https://github.com/thestk/stk
synced 2026-04-19 22:16:54 +00:00
65 lines
3.6 KiB
HTML
65 lines
3.6 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>Modulate.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00011 <span class="comment">/***************************************************/</span>
|
|
00012
|
|
00013 <span class="preprocessor">#ifndef STK_MODULATE_H</span>
|
|
00014 <span class="preprocessor"></span><span class="preprocessor">#define STK_MODULATE_H</span>
|
|
00015 <span class="preprocessor"></span>
|
|
00016 <span class="preprocessor">#include "Generator.h"</span>
|
|
00017 <span class="preprocessor">#include "WaveLoop.h"</span>
|
|
00018 <span class="preprocessor">#include "SubNoise.h"</span>
|
|
00019 <span class="preprocessor">#include "OnePole.h"</span>
|
|
00020
|
|
<a name="l00021"></a><a class="code" href="classModulate.html">00021</a> <span class="keyword">class </span><a class="code" href="classModulate.html">Modulate</a> : <span class="keyword">public</span> <a class="code" href="classGenerator.html">Generator</a>
|
|
00022 {
|
|
00023 <span class="keyword">public</span>:
|
|
00025
|
|
00028 <a class="code" href="classModulate.html#a0">Modulate</a>();
|
|
00029
|
|
00031 <a class="code" href="classModulate.html#a1">~Modulate</a>();
|
|
00032
|
|
00034 <span class="keywordtype">void</span> <a class="code" href="classModulate.html#a2">reset</a>();
|
|
00035
|
|
00037 <span class="keywordtype">void</span> <a class="code" href="classModulate.html#a3">setVibratoRate</a>(StkFloat rate);
|
|
00038
|
|
00040 <span class="keywordtype">void</span> <a class="code" href="classModulate.html#a4">setVibratoGain</a>(StkFloat gain);
|
|
00041
|
|
00043 <span class="keywordtype">void</span> <a class="code" href="classModulate.html#a5">setRandomGain</a>(StkFloat gain);
|
|
00044
|
|
00046 StkFloat <a class="code" href="classModulate.html#a6">tick</a>();
|
|
00047
|
|
00049 StkFloat *<a class="code" href="classModulate.html#a6">tick</a>( StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize );
|
|
00050
|
|
00052
|
|
00058 <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classModulate.html#a6">tick</a>( <a class="code" href="classStkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel = 1 );
|
|
00059
|
|
00060 <span class="keyword">protected</span>:
|
|
00061 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato_;
|
|
00062 <a class="code" href="classSubNoise.html">SubNoise</a> noise_;
|
|
00063 <a class="code" href="classOnePole.html">OnePole</a> filter_;
|
|
00064 StkFloat vibratoGain_;
|
|
00065 StkFloat randomGain_;
|
|
00066
|
|
00067 };
|
|
00068
|
|
00069 <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>
|