mirror of
https://github.com/thestk/stk
synced 2026-01-12 12:31:53 +00:00
73 lines
3.6 KiB
HTML
73 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>FormSwep.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00013 <span class="comment">/***************************************************/</span>
|
|
00014
|
|
00015 <span class="preprocessor">#if !defined(__FORMSWEP_H)</span>
|
|
00016 <span class="preprocessor"></span><span class="preprocessor">#define __FORMSWEP_H</span>
|
|
00017 <span class="preprocessor"></span>
|
|
00018 <span class="preprocessor">#include "BiQuad.h"</span>
|
|
00019
|
|
<a name="l00020"></a><a class="code" href="classFormSwep.html">00020</a> <span class="keyword">class </span><a class="code" href="classFormSwep.html">FormSwep</a> : <span class="keyword">public</span> <a class="code" href="classBiQuad.html">BiQuad</a>
|
|
00021 {
|
|
00022 <span class="keyword">public</span>:
|
|
00023
|
|
00025 <a class="code" href="classFormSwep.html#a0">FormSwep</a>();
|
|
00026
|
|
00028 <a class="code" href="classFormSwep.html#a1">~FormSwep</a>();
|
|
00029
|
|
00031
|
|
00042 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a2">setResonance</a>(MY_FLOAT aFrequency, MY_FLOAT aRadius);
|
|
00043
|
|
00045 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a3">setStates</a>(MY_FLOAT aFrequency, MY_FLOAT aRadius, MY_FLOAT aGain = 1.0);
|
|
00046
|
|
00048 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a4">setTargets</a>(MY_FLOAT aFrequency, MY_FLOAT aRadius, MY_FLOAT aGain = 1.0);
|
|
00049
|
|
00051
|
|
00059 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a5">setSweepRate</a>(MY_FLOAT aRate);
|
|
00060
|
|
00062
|
|
00067 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a6">setSweepTime</a>(MY_FLOAT aTime);
|
|
00068
|
|
00070 MY_FLOAT <a class="code" href="classFormSwep.html#a7">tick</a>(MY_FLOAT sample);
|
|
00071
|
|
00073 MY_FLOAT *<a class="code" href="classFormSwep.html#a7">tick</a>(MY_FLOAT *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize);
|
|
00074
|
|
00075 <span class="keyword">protected</span>:
|
|
00076 <span class="keywordtype">bool</span> dirty;
|
|
00077 MY_FLOAT frequency;
|
|
00078 MY_FLOAT radius;
|
|
00079 MY_FLOAT startFrequency;
|
|
00080 MY_FLOAT startRadius;
|
|
00081 MY_FLOAT startGain;
|
|
00082 MY_FLOAT targetFrequency;
|
|
00083 MY_FLOAT targetRadius;
|
|
00084 MY_FLOAT targetGain;
|
|
00085 MY_FLOAT deltaFrequency;
|
|
00086 MY_FLOAT deltaRadius;
|
|
00087 MY_FLOAT deltaGain;
|
|
00088 MY_FLOAT sweepState;
|
|
00089 MY_FLOAT sweepRate;
|
|
00090
|
|
00091 };
|
|
00092
|
|
00093 <span class="preprocessor">#endif</span>
|
|
</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-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|