mirror of
https://github.com/thestk/stk
synced 2026-01-13 13:01:52 +00:00
64 lines
3.5 KiB
HTML
64 lines
3.5 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>Moog.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00019 <span class="comment">/***************************************************/</span>
|
|
00020
|
|
00021 <span class="preprocessor">#ifndef STK_MOOG_H</span>
|
|
00022 <span class="preprocessor"></span><span class="preprocessor">#define STK_MOOG_H</span>
|
|
00023 <span class="preprocessor"></span>
|
|
00024 <span class="preprocessor">#include "Sampler.h"</span>
|
|
00025 <span class="preprocessor">#include "FormSwep.h"</span>
|
|
00026
|
|
<a name="l00027"></a><a class="code" href="classMoog.html">00027</a> <span class="keyword">class </span><a class="code" href="classMoog.html">Moog</a> : <span class="keyword">public</span> <a class="code" href="classSampler.html">Sampler</a>
|
|
00028 {
|
|
00029 <span class="keyword">public</span>:
|
|
00031
|
|
00034 <a class="code" href="classMoog.html#a0">Moog</a>();
|
|
00035
|
|
00037 <a class="code" href="classMoog.html#a1">~Moog</a>();
|
|
00038
|
|
00040 <span class="keywordtype">void</span> <a class="code" href="classMoog.html#a2">setFrequency</a>(StkFloat frequency);
|
|
00041
|
|
00043 <span class="keywordtype">void</span> <a class="code" href="classMoog.html#a3">noteOn</a>(StkFloat frequency, StkFloat amplitude);
|
|
00044
|
|
00046 <span class="keywordtype">void</span> <a class="code" href="classMoog.html#a4">setModulationSpeed</a>(StkFloat mSpeed);
|
|
00047
|
|
00049 <span class="keywordtype">void</span> <a class="code" href="classMoog.html#a5">setModulationDepth</a>(StkFloat mDepth);
|
|
00050
|
|
00052 StkFloat <a class="code" href="classMoog.html#a6">tick</a>();
|
|
00053
|
|
00055 StkFloat *<a class="code" href="classMoog.html#a6">tick</a>(StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize);
|
|
00056
|
|
00058
|
|
00064 <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classMoog.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 );
|
|
00065
|
|
00067 <span class="keywordtype">void</span> <a class="code" href="classMoog.html#a9">controlChange</a>(<span class="keywordtype">int</span> number, StkFloat value);
|
|
00068
|
|
00069 <span class="keyword">protected</span>:
|
|
00070 <a class="code" href="classFormSwep.html">FormSwep</a> filters_[2];
|
|
00071 StkFloat modDepth_;
|
|
00072 StkFloat filterQ_;
|
|
00073 StkFloat filterRate_;
|
|
00074
|
|
00075 };
|
|
00076
|
|
00077 <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>
|