mirror of
https://github.com/thestk/stk
synced 2026-01-13 04:51:53 +00:00
76 lines
3.9 KiB
HTML
76 lines
3.9 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">#ifndef STK_FORMSWEP_H</span>
|
|
00016 <span class="preprocessor"></span><span class="preprocessor">#define STK_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>(StkFloat frequency, StkFloat radius);
|
|
00043
|
|
00045 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a3">setStates</a>(StkFloat frequency, StkFloat radius, StkFloat gain = 1.0);
|
|
00046
|
|
00048 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a4">setTargets</a>(StkFloat frequency, StkFloat radius, StkFloat gain = 1.0);
|
|
00049
|
|
00051
|
|
00059 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a5">setSweepRate</a>(StkFloat rate);
|
|
00060
|
|
00062
|
|
00067 <span class="keywordtype">void</span> <a class="code" href="classFormSwep.html#a6">setSweepTime</a>(StkFloat time);
|
|
00068
|
|
00070 StkFloat <a class="code" href="classFormSwep.html#a7">tick</a>(StkFloat sample);
|
|
00071
|
|
00073 StkFloat *<a class="code" href="classFormSwep.html#a7">tick</a>(StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize);
|
|
00074
|
|
00076
|
|
00082 <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classFormSwep.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 );
|
|
00083
|
|
00084 <span class="keyword">protected</span>:
|
|
00085 <span class="keywordtype">bool</span> dirty_;
|
|
00086 StkFloat frequency_;
|
|
00087 StkFloat radius_;
|
|
00088 StkFloat startFrequency_;
|
|
00089 StkFloat startRadius_;
|
|
00090 StkFloat startGain_;
|
|
00091 StkFloat targetFrequency_;
|
|
00092 StkFloat targetRadius_;
|
|
00093 StkFloat targetGain_;
|
|
00094 StkFloat deltaFrequency_;
|
|
00095 StkFloat deltaRadius_;
|
|
00096 StkFloat deltaGain_;
|
|
00097 StkFloat sweepState_;
|
|
00098 StkFloat sweepRate_;
|
|
00099
|
|
00100 };
|
|
00101
|
|
00102 <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>
|