Release 4.0 tarball
76
doc/html/ADSR_8h-source.html
Normal file
@@ -0,0 +1,76 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>ADSR.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00016 <font class="comment">/***************************************************/</font>
|
||||
00017
|
||||
00018 <font class="preprocessor">#if !defined(__ADSR_H)</font>
|
||||
00019 <font class="preprocessor"></font><font class="preprocessor">#define __ADSR_H</font>
|
||||
00020 <font class="preprocessor"></font>
|
||||
00021 <font class="preprocessor">#include "Envelope.h"</font>
|
||||
00022
|
||||
00023 <font class="keyword">class </font><a class="code" href="classADSR.html">ADSR</a> : <font class="keyword">public</font> <a class="code" href="classEnvelope.html">Envelope</a>
|
||||
00024 {
|
||||
00025 <font class="keyword">public</font>:
|
||||
00026
|
||||
00028 <font class="keyword">enum</font> { ATTACK, DECAY, SUSTAIN, RELEASE, DONE };
|
||||
00029
|
||||
00031 <a class="code" href="classADSR.html#a0">ADSR</a>(<font class="keywordtype">void</font>);
|
||||
00032
|
||||
00034 <a class="code" href="classADSR.html#a1">~ADSR</a>(<font class="keywordtype">void</font>);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a2">keyOn</a>(<font class="keywordtype">void</font>);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a3">keyOff</a>(<font class="keywordtype">void</font>);
|
||||
00041
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a4">setAttackRate</a>(MY_FLOAT aRate);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a5">setDecayRate</a>(MY_FLOAT aRate);
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a6">setSustainLevel</a>(MY_FLOAT aLevel);
|
||||
00050
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a7">setReleaseRate</a>(MY_FLOAT aRate);
|
||||
00053
|
||||
00055 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a8">setAttackTime</a>(MY_FLOAT aTime);
|
||||
00056
|
||||
00058 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a9">setDecayTime</a>(MY_FLOAT aTime);
|
||||
00059
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a10">setReleaseTime</a>(MY_FLOAT aTime);
|
||||
00062
|
||||
00064 <font class="keywordtype">void</font> <a class="code" href="classADSR.html#a11">setAllTimes</a>(MY_FLOAT aTime, MY_FLOAT dTime, MY_FLOAT sLevel, MY_FLOAT rTime);
|
||||
00065
|
||||
00067 <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a6">setTarget</a>(MY_FLOAT aTarget);
|
||||
00068
|
||||
00070 <font class="keywordtype">int</font> <a class="code" href="classEnvelope.html#a8">getState</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00071
|
||||
00073 <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a7">setValue</a>(MY_FLOAT aValue);
|
||||
00074
|
||||
00076 MY_FLOAT <a class="code" href="classEnvelope.html#a9">tick</a>(<font class="keywordtype">void</font>);
|
||||
00077
|
||||
00079 MY_FLOAT *<a class="code" href="classEnvelope.html#a9">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00080
|
||||
00081 <font class="keyword">protected</font>:
|
||||
00082 MY_FLOAT attackRate;
|
||||
00083 MY_FLOAT decayRate;
|
||||
00084 MY_FLOAT sustainLevel;
|
||||
00085 MY_FLOAT releaseRate;
|
||||
00086 };
|
||||
00087
|
||||
00088 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
87
doc/html/BandedWG_8h-source.html
Normal file
@@ -0,0 +1,87 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BandedWG.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00030 <font class="comment">/***************************************************/</font>
|
||||
00031
|
||||
00032 <font class="preprocessor">#if !defined(__BANDEDWG_H)</font>
|
||||
00033 <font class="preprocessor"></font><font class="preprocessor">#define __BANDEDWG_H</font>
|
||||
00034 <font class="preprocessor"></font>
|
||||
00035 <font class="preprocessor">#define MAX_BANDED_MODES 17</font>
|
||||
00036 <font class="preprocessor"></font>
|
||||
00037 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00038 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00039 <font class="preprocessor">#include "BowTabl.h"</font>
|
||||
00040 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00041 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00042
|
||||
00043 <font class="keyword">class </font><a class="code" href="classBandedWG.html">BandedWG</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00044 {
|
||||
00045 <font class="keyword">public</font>:
|
||||
00047 <a class="code" href="classBandedWG.html#a0">BandedWG</a>();
|
||||
00048
|
||||
00050 <a class="code" href="classBandedWG.html#a1">~BandedWG</a>();
|
||||
00051
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classBandedWG.html#a2">clear</a>();
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classBandedWG.html#a3">setStrikePosition</a>(MY_FLOAT position);
|
||||
00057
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classBandedWG.html#a4">setPreset</a>(<font class="keywordtype">int</font> preset);
|
||||
00060
|
||||
00062 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00063
|
||||
00065 <font class="keywordtype">void</font> <a class="code" href="classBandedWG.html#a6">startBowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00066
|
||||
00068 <font class="keywordtype">void</font> <a class="code" href="classBandedWG.html#a7">stopBowing</a>(MY_FLOAT rate);
|
||||
00069
|
||||
00071 <font class="keywordtype">void</font> <a class="code" href="classBandedWG.html#a8">pluck</a>(MY_FLOAT amp);
|
||||
00072
|
||||
00074 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00075
|
||||
00077 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00078
|
||||
00080 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00081
|
||||
00083 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00084
|
||||
00085 <font class="keyword">protected</font>:
|
||||
00086
|
||||
00087 <font class="keywordtype">bool</font> doPluck;
|
||||
00088 <font class="keywordtype">bool</font> trackVelocity;
|
||||
00089 <font class="keywordtype">int</font> nModes;
|
||||
00090 <font class="keywordtype">int</font> presetModes;
|
||||
00091 <a class="code" href="classBowTabl.html">BowTabl</a> *bowTabl;
|
||||
00092 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00093 <a class="code" href="classBiQuad.html">BiQuad</a> *bandpass;
|
||||
00094 <a class="code" href="classDelay.html">Delay</a> *delay;
|
||||
00095 MY_FLOAT maxVelocity;
|
||||
00096 MY_FLOAT modes[MAX_BANDED_MODES];
|
||||
00097 MY_FLOAT freakency;
|
||||
00098 MY_FLOAT baseGain;
|
||||
00099 MY_FLOAT gains[MAX_BANDED_MODES];
|
||||
00100 MY_FLOAT integrationConstant;
|
||||
00101 MY_FLOAT bowVelocity;
|
||||
00102 MY_FLOAT bowTarget;
|
||||
00103 MY_FLOAT bowPosition;
|
||||
00104 <font class="keywordtype">int</font> strikePosition;
|
||||
00105
|
||||
00106 };
|
||||
00107
|
||||
00108 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
41
doc/html/BeeThree_8h-source.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BeeThree.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00033 <font class="comment">/***************************************************/</font>
|
||||
00034
|
||||
00035 <font class="preprocessor">#if !defined(__BEETHREE_H)</font>
|
||||
00036 <font class="preprocessor"></font><font class="preprocessor">#define __BEETHREE_H</font>
|
||||
00037 <font class="preprocessor"></font>
|
||||
00038 <font class="preprocessor">#include "FM.h"</font>
|
||||
00039
|
||||
00040 <font class="keyword">class </font><a class="code" href="classBeeThree.html">BeeThree</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00041 {
|
||||
00042 <font class="keyword">public</font>:
|
||||
00044 <a class="code" href="classBeeThree.html#a0">BeeThree</a>();
|
||||
00045
|
||||
00047 <a class="code" href="classBeeThree.html#a1">~BeeThree</a>();
|
||||
00048
|
||||
00050 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00051
|
||||
00053 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00054 };
|
||||
00055
|
||||
00056 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
70
doc/html/BiQuad_8h-source.html
Normal file
@@ -0,0 +1,70 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BiQuad.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__BIQUAD_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __BIQUAD_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classBiQuad.html">BiQuad</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
00023
|
||||
00025 <a class="code" href="classBiQuad.html#a0">BiQuad</a>();
|
||||
00026
|
||||
00028 <font class="keyword">virtual</font> <a class="code" href="classBiQuad.html#a1">~BiQuad</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a3">setB0</a>(MY_FLOAT b0);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a4">setB1</a>(MY_FLOAT b1);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a5">setB2</a>(MY_FLOAT b2);
|
||||
00041
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a6">setA1</a>(MY_FLOAT a1);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a7">setA2</a>(MY_FLOAT a2);
|
||||
00047
|
||||
00049
|
||||
00060 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a8">setResonance</a>(MY_FLOAT frequency, MY_FLOAT radius, <font class="keywordtype">bool</font> normalize = FALSE);
|
||||
00061
|
||||
00063
|
||||
00069 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a9">setNotch</a>(MY_FLOAT frequency, MY_FLOAT radius);
|
||||
00070
|
||||
00072
|
||||
00078 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a10">setEqualGainZeroes</a>();
|
||||
00079
|
||||
00081
|
||||
00085 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00086
|
||||
00088 MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00089
|
||||
00091 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00092
|
||||
00094 MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00095
|
||||
00097 MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00098 };
|
||||
00099
|
||||
00100 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
72
doc/html/BlowBotl_8h-source.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BlowBotl.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00017 <font class="comment">/***************************************************/</font>
|
||||
00018
|
||||
00019 <font class="preprocessor">#if !defined(__BOTTLE_H)</font>
|
||||
00020 <font class="preprocessor"></font><font class="preprocessor">#define __BOTTLE_H</font>
|
||||
00021 <font class="preprocessor"></font>
|
||||
00022 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00023 <font class="preprocessor">#include "JetTabl.h"</font>
|
||||
00024 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00025 <font class="preprocessor">#include "PoleZero.h"</font>
|
||||
00026 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00027 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00028 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00029
|
||||
00030 <font class="keyword">class </font><a class="code" href="classBlowBotl.html">BlowBotl</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00031 {
|
||||
00032 <font class="keyword">public</font>:
|
||||
00034 <a class="code" href="classBlowBotl.html#a0">BlowBotl</a>();
|
||||
00035
|
||||
00037 <a class="code" href="classBlowBotl.html#a1">~BlowBotl</a>();
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classBlowBotl.html#a2">clear</a>();
|
||||
00041
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classBlowBotl.html#a4">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classBlowBotl.html#a5">stopBlowing</a>(MY_FLOAT rate);
|
||||
00050
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00053
|
||||
00055 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00056
|
||||
00058 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00059
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00062
|
||||
00063 <font class="keyword">protected</font>:
|
||||
00064 <a class="code" href="classJetTabl.html">JetTabl</a> *jetTable;
|
||||
00065 <a class="code" href="classBiQuad.html">BiQuad</a> *resonator;
|
||||
00066 <a class="code" href="classPoleZero.html">PoleZero</a> *dcBlock;
|
||||
00067 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00068 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00069 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00070 MY_FLOAT maxPressure;
|
||||
00071 MY_FLOAT noiseGain;
|
||||
00072 MY_FLOAT vibratoGain;
|
||||
00073 MY_FLOAT outputGain;
|
||||
00074
|
||||
00075 };
|
||||
00076
|
||||
00077 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
84
doc/html/BlowHole_8h-source.html
Normal file
@@ -0,0 +1,84 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BlowHole.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00034 <font class="comment">/***************************************************/</font>
|
||||
00035
|
||||
00036 <font class="preprocessor">#if !defined(__BLOWHOLE_H)</font>
|
||||
00037 <font class="preprocessor"></font><font class="preprocessor">#define __BLOWHOLE_H</font>
|
||||
00038 <font class="preprocessor"></font>
|
||||
00039 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00040 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00041 <font class="preprocessor">#include "ReedTabl.h"</font>
|
||||
00042 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00043 <font class="preprocessor">#include "PoleZero.h"</font>
|
||||
00044 <font class="preprocessor">#include "Envelope.h"</font>
|
||||
00045 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00046 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00047
|
||||
00048 <font class="keyword">class </font><a class="code" href="classBlowHole.html">BlowHole</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00049 {
|
||||
00050 <font class="keyword">public</font>:
|
||||
00052 <a class="code" href="classBlowHole.html#a0">BlowHole</a>(MY_FLOAT lowestFrequency);
|
||||
00053
|
||||
00055 <a class="code" href="classBlowHole.html#a1">~BlowHole</a>();
|
||||
00056
|
||||
00058 <font class="keywordtype">void</font> <a class="code" href="classBlowHole.html#a2">clear</a>();
|
||||
00059
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00062
|
||||
00064 <font class="keywordtype">void</font> <a class="code" href="classBlowHole.html#a4">setTonehole</a>(MY_FLOAT newValue);
|
||||
00065
|
||||
00067 <font class="keywordtype">void</font> <a class="code" href="classBlowHole.html#a5">setVent</a>(MY_FLOAT newValue);
|
||||
00068
|
||||
00070 <font class="keywordtype">void</font> <a class="code" href="classBlowHole.html#a6">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00071
|
||||
00073 <font class="keywordtype">void</font> <a class="code" href="classBlowHole.html#a7">stopBlowing</a>(MY_FLOAT rate);
|
||||
00074
|
||||
00076 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00077
|
||||
00079 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00080
|
||||
00082 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00083
|
||||
00085 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00086
|
||||
00087 <font class="keyword">protected</font>:
|
||||
00088 <a class="code" href="classDelayL.html">DelayL</a> *delays[3];
|
||||
00089 <a class="code" href="classReedTabl.html">ReedTabl</a> *reedTable;
|
||||
00090 <a class="code" href="classOneZero.html">OneZero</a> *filter;
|
||||
00091 <a class="code" href="classPoleZero.html">PoleZero</a> *tonehole;
|
||||
00092 <a class="code" href="classPoleZero.html">PoleZero</a> *vent;
|
||||
00093 <a class="code" href="classEnvelope.html">Envelope</a> *envelope;
|
||||
00094 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00095 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00096 <font class="keywordtype">long</font> length;
|
||||
00097 MY_FLOAT scatter;
|
||||
00098 MY_FLOAT th_coeff;
|
||||
00099 MY_FLOAT r_th;
|
||||
00100 MY_FLOAT rh_coeff;
|
||||
00101 MY_FLOAT rh_gain;
|
||||
00102 MY_FLOAT outputGain;
|
||||
00103 MY_FLOAT noiseGain;
|
||||
00104 MY_FLOAT vibratoGain;
|
||||
00105
|
||||
00106 };
|
||||
00107
|
||||
00108 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
56
doc/html/BowTabl_8h-source.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BowTabl.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00010 <font class="comment">/***************************************************/</font>
|
||||
00011
|
||||
00012 <font class="preprocessor">#if !defined(__BOWTABL_H)</font>
|
||||
00013 <font class="preprocessor"></font><font class="preprocessor">#define __BOWTABL_H</font>
|
||||
00014 <font class="preprocessor"></font>
|
||||
00015 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00016
|
||||
00017 <font class="keyword">class </font><a class="code" href="classBowTabl.html">BowTabl</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00018 {
|
||||
00019 <font class="keyword">public</font>:
|
||||
00021 <a class="code" href="classBowTabl.html#a0">BowTabl</a>();
|
||||
00022
|
||||
00024 <a class="code" href="classBowTabl.html#a1">~BowTabl</a>();
|
||||
00025
|
||||
00027
|
||||
00033 <font class="keywordtype">void</font> <a class="code" href="classBowTabl.html#a2">setOffset</a>(MY_FLOAT aValue);
|
||||
00034
|
||||
00036
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classBowTabl.html#a3">setSlope</a>(MY_FLOAT aValue);
|
||||
00041
|
||||
00043 MY_FLOAT <a class="code" href="classBowTabl.html#a4">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00044
|
||||
00046
|
||||
00050 MY_FLOAT <a class="code" href="classBowTabl.html#a5">tick</a>(<font class="keyword">const</font> MY_FLOAT input);
|
||||
00051
|
||||
00053 MY_FLOAT *<a class="code" href="classBowTabl.html#a5">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00054
|
||||
00055 <font class="keyword">protected</font>:
|
||||
00056 MY_FLOAT offSet;
|
||||
00057 MY_FLOAT slope;
|
||||
00058 MY_FLOAT lastOutput;
|
||||
00059
|
||||
00060 };
|
||||
00061
|
||||
00062 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
75
doc/html/Bowed_8h-source.html
Normal file
@@ -0,0 +1,75 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Bowed.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00022 <font class="comment">/***************************************************/</font>
|
||||
00023
|
||||
00024 <font class="preprocessor">#if !defined(__BOWED_H)</font>
|
||||
00025 <font class="preprocessor"></font><font class="preprocessor">#define __BOWED_H</font>
|
||||
00026 <font class="preprocessor"></font>
|
||||
00027 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00028 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00029 <font class="preprocessor">#include "BowTabl.h"</font>
|
||||
00030 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00031 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00032 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00033 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00034
|
||||
00035 <font class="keyword">class </font><a class="code" href="classBowed.html">Bowed</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00036 {
|
||||
00037 <font class="keyword">public</font>:
|
||||
00039 <a class="code" href="classBowed.html#a0">Bowed</a>(MY_FLOAT lowestFrequency);
|
||||
00040
|
||||
00042 <a class="code" href="classBowed.html#a1">~Bowed</a>();
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classBowed.html#a2">clear</a>();
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classBowed.html#a4">setVibrato</a>(MY_FLOAT gain);
|
||||
00052
|
||||
00054 <font class="keywordtype">void</font> <a class="code" href="classBowed.html#a5">startBowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00055
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classBowed.html#a6">stopBowing</a>(MY_FLOAT rate);
|
||||
00058
|
||||
00060 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00061
|
||||
00063 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00064
|
||||
00066 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00067
|
||||
00069 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00070
|
||||
00071 <font class="keyword">protected</font>:
|
||||
00072 <a class="code" href="classDelayL.html">DelayL</a> *neckDelay;
|
||||
00073 <a class="code" href="classDelayL.html">DelayL</a> *bridgeDelay;
|
||||
00074 <a class="code" href="classBowTabl.html">BowTabl</a> *bowTable;
|
||||
00075 <a class="code" href="classOnePole.html">OnePole</a> *stringFilter;
|
||||
00076 <a class="code" href="classBiQuad.html">BiQuad</a> *bodyFilter;
|
||||
00077 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00078 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00079 MY_FLOAT maxVelocity;
|
||||
00080 MY_FLOAT baseDelay;
|
||||
00081 MY_FLOAT vibratoGain;
|
||||
00082 MY_FLOAT betaRatio;
|
||||
00083
|
||||
00084 };
|
||||
00085
|
||||
00086 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
73
doc/html/Brass_8h-source.html
Normal file
@@ -0,0 +1,73 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Brass.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00021 <font class="comment">/***************************************************/</font>
|
||||
00022
|
||||
00023 <font class="preprocessor">#if !defined(__BRASS_H)</font>
|
||||
00024 <font class="preprocessor"></font><font class="preprocessor">#define __BRASS_H</font>
|
||||
00025 <font class="preprocessor"></font>
|
||||
00026 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00027 <font class="preprocessor">#include "DelayA.h"</font>
|
||||
00028 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00029 <font class="preprocessor">#include "PoleZero.h"</font>
|
||||
00030 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00031 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00032
|
||||
00033 <font class="keyword">class </font><a class="code" href="classBrass.html">Brass</a>: <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00034 {
|
||||
00035 <font class="keyword">public</font>:
|
||||
00037 <a class="code" href="classBrass.html#a0">Brass</a>(MY_FLOAT lowestFrequency);
|
||||
00038
|
||||
00040 <a class="code" href="classBrass.html#a1">~Brass</a>();
|
||||
00041
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classBrass.html#a2">clear</a>();
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classBrass.html#a4">setLip</a>(MY_FLOAT frequency);
|
||||
00050
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classBrass.html#a5">startBlowing</a>(MY_FLOAT amplitude,MY_FLOAT rate);
|
||||
00053
|
||||
00055 <font class="keywordtype">void</font> <a class="code" href="classBrass.html#a6">stopBlowing</a>(MY_FLOAT rate);
|
||||
00056
|
||||
00058 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00059
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00062
|
||||
00064 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00065
|
||||
00067 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00068
|
||||
00069 <font class="keyword">protected</font>:
|
||||
00070 <a class="code" href="classDelayA.html">DelayA</a> *delayLine;
|
||||
00071 <a class="code" href="classBiQuad.html">BiQuad</a> *lipFilter;
|
||||
00072 <a class="code" href="classPoleZero.html">PoleZero</a> *dcBlock;
|
||||
00073 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00074 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00075 <font class="keywordtype">long</font> length;
|
||||
00076 MY_FLOAT lipTarget;
|
||||
00077 MY_FLOAT slideTarget;
|
||||
00078 MY_FLOAT vibratoGain;
|
||||
00079 MY_FLOAT maxPressure;
|
||||
00080
|
||||
00081 };
|
||||
00082
|
||||
00083 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
67
doc/html/Chorus_8h-source.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Chorus.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00009 <font class="comment">/***************************************************/</font>
|
||||
00010
|
||||
00011 <font class="preprocessor">#if !defined(__CHORUS_H)</font>
|
||||
00012 <font class="preprocessor"></font><font class="preprocessor">#define __CHORUS_H</font>
|
||||
00013 <font class="preprocessor"></font>
|
||||
00014 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00015 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00016 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00017
|
||||
00018 <font class="keyword">class </font><a class="code" href="classChorus.html">Chorus</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00019 {
|
||||
00020 <font class="keyword">public</font>:
|
||||
00022 <a class="code" href="classChorus.html#a0">Chorus</a>(MY_FLOAT baseDelay);
|
||||
00023
|
||||
00025 <a class="code" href="classChorus.html#a1">~Chorus</a>();
|
||||
00026
|
||||
00028 <font class="keywordtype">void</font> <a class="code" href="classChorus.html#a2">clear</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classChorus.html#a3">setModDepth</a>(MY_FLOAT depth);
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classChorus.html#a4">setModFrequency</a>(MY_FLOAT frequency);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classChorus.html#a5">setEffectMix</a>(MY_FLOAT mix);
|
||||
00038
|
||||
00040 MY_FLOAT <a class="code" href="classChorus.html#a6">lastOut</a>() <font class="keyword">const</font>;
|
||||
00041
|
||||
00043 MY_FLOAT <a class="code" href="classChorus.html#a7">lastOutLeft</a>() <font class="keyword">const</font>;
|
||||
00044
|
||||
00046 MY_FLOAT <a class="code" href="classChorus.html#a8">lastOutRight</a>() <font class="keyword">const</font>;
|
||||
00047
|
||||
00049 MY_FLOAT <a class="code" href="classChorus.html#a9">tick</a>(MY_FLOAT input);
|
||||
00050
|
||||
00052 MY_FLOAT *<a class="code" href="classChorus.html#a9">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00053
|
||||
00054 <font class="keyword">protected</font>:
|
||||
00055 <a class="code" href="classDelayL.html">DelayL</a> *delayLine[2];
|
||||
00056 <a class="code" href="classWaveLoop.html">WaveLoop</a> *mods[2];
|
||||
00057 MY_FLOAT baseLength;
|
||||
00058 MY_FLOAT modDepth;
|
||||
00059 MY_FLOAT lastOutput[2];
|
||||
00060 MY_FLOAT effectMix;
|
||||
00061
|
||||
00062 };
|
||||
00063
|
||||
00064 <font class="preprocessor">#endif</font>
|
||||
00065 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
72
doc/html/Clarinet_8h-source.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Clarinet.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00023 <font class="comment">/***************************************************/</font>
|
||||
00024
|
||||
00025 <font class="preprocessor">#if !defined(__CLARINET_H)</font>
|
||||
00026 <font class="preprocessor"></font><font class="preprocessor">#define __CLARINET_H</font>
|
||||
00027 <font class="preprocessor"></font>
|
||||
00028 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00029 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00030 <font class="preprocessor">#include "ReedTabl.h"</font>
|
||||
00031 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00032 <font class="preprocessor">#include "Envelope.h"</font>
|
||||
00033 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00034 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00035
|
||||
00036 <font class="keyword">class </font><a class="code" href="classClarinet.html">Clarinet</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00037 {
|
||||
00038 <font class="keyword">public</font>:
|
||||
00040 <a class="code" href="classClarinet.html#a0">Clarinet</a>(MY_FLOAT lowestFrequency);
|
||||
00041
|
||||
00043 <a class="code" href="classClarinet.html#a1">~Clarinet</a>();
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classClarinet.html#a2">clear</a>();
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00050
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classClarinet.html#a4">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00053
|
||||
00055 <font class="keywordtype">void</font> <a class="code" href="classClarinet.html#a5">stopBlowing</a>(MY_FLOAT rate);
|
||||
00056
|
||||
00058 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00059
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00062
|
||||
00064 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00065
|
||||
00067 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00068
|
||||
00069 <font class="keyword">protected</font>:
|
||||
00070 <a class="code" href="classDelayL.html">DelayL</a> *delayLine;
|
||||
00071 <a class="code" href="classReedTabl.html">ReedTabl</a> *reedTable;
|
||||
00072 <a class="code" href="classOneZero.html">OneZero</a> *filter;
|
||||
00073 <a class="code" href="classEnvelope.html">Envelope</a> *envelope;
|
||||
00074 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00075 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00076 <font class="keywordtype">long</font> length;
|
||||
00077 MY_FLOAT outputGain;
|
||||
00078 MY_FLOAT noiseGain;
|
||||
00079 MY_FLOAT vibratoGain;
|
||||
00080
|
||||
00081 };
|
||||
00082
|
||||
00083 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
55
doc/html/DelayA_8h-source.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>DelayA.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00023 <font class="comment">/***************************************************/</font>
|
||||
00024
|
||||
00025 <font class="preprocessor">#if !defined(__DelayA_h)</font>
|
||||
00026 <font class="preprocessor"></font><font class="preprocessor">#define __DelayA_h</font>
|
||||
00027 <font class="preprocessor"></font>
|
||||
00028 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00029
|
||||
00030 <font class="keyword">class </font><a class="code" href="classDelayA.html">DelayA</a> : <font class="keyword">public</font> <a class="code" href="classDelay.html">Delay</a>
|
||||
00031 {
|
||||
00032 <font class="keyword">public</font>:
|
||||
00033
|
||||
00035 <a class="code" href="classDelayA.html#a0">DelayA</a>();
|
||||
00036
|
||||
00038
|
||||
00039 <a class="code" href="classDelayA.html#a0">DelayA</a>(MY_FLOAT theDelay, <font class="keywordtype">long</font> maxDelay);
|
||||
00040
|
||||
00042 <a class="code" href="classDelayA.html#a2">~DelayA</a>();
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classDelay.html#a3">clear</a>();
|
||||
00046
|
||||
00048
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classDelay.html#a4">setDelay</a>(MY_FLOAT theDelay);
|
||||
00052
|
||||
00054 MY_FLOAT <a class="code" href="classDelay.html#a5">getDelay</a>(<font class="keywordtype">void</font>);
|
||||
00055
|
||||
00057 MY_FLOAT <a class="code" href="classDelay.html#a9">tick</a>(MY_FLOAT sample);
|
||||
00058
|
||||
00059 <font class="keyword">protected</font>:
|
||||
00060 MY_FLOAT alpha;
|
||||
00061 MY_FLOAT coeff;
|
||||
00062 MY_FLOAT apInput;
|
||||
00063 };
|
||||
00064
|
||||
00065 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
52
doc/html/DelayL_8h-source.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>DelayL.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00023 <font class="comment">/***************************************************/</font>
|
||||
00024
|
||||
00025 <font class="preprocessor">#if !defined(__DELAYL_H)</font>
|
||||
00026 <font class="preprocessor"></font><font class="preprocessor">#define __DELAYL_H</font>
|
||||
00027 <font class="preprocessor"></font>
|
||||
00028 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00029
|
||||
00030 <font class="keyword">class </font><a class="code" href="classDelayL.html">DelayL</a> : <font class="keyword">public</font> <a class="code" href="classDelay.html">Delay</a>
|
||||
00031 {
|
||||
00032 <font class="keyword">public</font>:
|
||||
00033
|
||||
00035 <a class="code" href="classDelayL.html#a0">DelayL</a>();
|
||||
00036
|
||||
00038
|
||||
00039 <a class="code" href="classDelayL.html#a0">DelayL</a>(MY_FLOAT theDelay, <font class="keywordtype">long</font> maxDelay);
|
||||
00040
|
||||
00042 <a class="code" href="classDelayL.html#a2">~DelayL</a>();
|
||||
00043
|
||||
00045
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classDelay.html#a4">setDelay</a>(MY_FLOAT theDelay);
|
||||
00049
|
||||
00051 MY_FLOAT <a class="code" href="classDelay.html#a5">getDelay</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00052
|
||||
00054 MY_FLOAT <a class="code" href="classDelay.html#a9">tick</a>(MY_FLOAT sample);
|
||||
00055
|
||||
00056 <font class="keyword">protected</font>:
|
||||
00057 MY_FLOAT alpha;
|
||||
00058 MY_FLOAT omAlpha;
|
||||
00059 };
|
||||
00060
|
||||
00061 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
65
doc/html/Delay_8h-source.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Delay.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00019 <font class="comment">/***************************************************/</font>
|
||||
00020
|
||||
00021 <font class="preprocessor">#if !defined(__DELAY_H)</font>
|
||||
00022 <font class="preprocessor"></font><font class="preprocessor">#define __DELAY_H</font>
|
||||
00023 <font class="preprocessor"></font>
|
||||
00024 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00025
|
||||
00026 <font class="keyword">class </font><a class="code" href="classDelay.html">Delay</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00027 {
|
||||
00028 <font class="keyword">public</font>:
|
||||
00029
|
||||
00031 <a class="code" href="classDelay.html#a0">Delay</a>();
|
||||
00032
|
||||
00034 <a class="code" href="classDelay.html#a0">Delay</a>(<font class="keywordtype">long</font> theDelay, <font class="keywordtype">long</font> maxDelay);
|
||||
00035
|
||||
00037 <font class="keyword">virtual</font> <a class="code" href="classDelay.html#a2">~Delay</a>();
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>();
|
||||
00041
|
||||
00043
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classDelay.html#a4">setDelay</a>(<font class="keywordtype">long</font> theDelay);
|
||||
00047
|
||||
00049 <font class="keywordtype">long</font> <a class="code" href="classDelay.html#a5">getDelay</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00050
|
||||
00052 MY_FLOAT <a class="code" href="classDelay.html#a6">energy</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00053
|
||||
00055
|
||||
00058 MY_FLOAT <a class="code" href="classDelay.html#a7">contentsAt</a>(<font class="keywordtype">long</font> tapDelay) <font class="keyword">const</font>;
|
||||
00059
|
||||
00061 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00062
|
||||
00064 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00065
|
||||
00067 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00068
|
||||
00069 <font class="keyword">protected</font>:
|
||||
00070 <font class="keywordtype">long</font> inPoint;
|
||||
00071 <font class="keywordtype">long</font> outPoint;
|
||||
00072 <font class="keywordtype">long</font> length;
|
||||
00073 MY_FLOAT delay;
|
||||
00074 };
|
||||
00075
|
||||
00076 <font class="preprocessor">#endif</font>
|
||||
00077 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
56
doc/html/Drummer_8h-source.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Drummer.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00016 <font class="comment">/***************************************************/</font>
|
||||
00017
|
||||
00018 <font class="preprocessor">#if !defined(__DRUMMER_H)</font>
|
||||
00019 <font class="preprocessor"></font><font class="preprocessor">#define __DRUMMER_H</font>
|
||||
00020 <font class="preprocessor"></font>
|
||||
00021 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00022 <font class="preprocessor">#include "WvIn.h"</font>
|
||||
00023 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00024
|
||||
00025 <font class="preprocessor">#define DRUM_NUMWAVES 11</font>
|
||||
00026 <font class="preprocessor"></font><font class="preprocessor">#define DRUM_POLYPHONY 4</font>
|
||||
00027 <font class="preprocessor"></font>
|
||||
00028 <font class="keyword">class </font><a class="code" href="classDrummer.html">Drummer</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00029 {
|
||||
00030 <font class="keyword">public</font>:
|
||||
00032 <a class="code" href="classDrummer.html#a0">Drummer</a>();
|
||||
00033
|
||||
00035 <a class="code" href="classDrummer.html#a1">~Drummer</a>();
|
||||
00036
|
||||
00038
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT instrument, MY_FLOAT amplitude);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00047
|
||||
00049 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00050
|
||||
00051 <font class="keyword">protected</font>:
|
||||
00052 <a class="code" href="classWvIn.html">WvIn</a> *waves[DRUM_POLYPHONY];
|
||||
00053 <a class="code" href="classOnePole.html">OnePole</a> *filters[DRUM_POLYPHONY];
|
||||
00054 <font class="keywordtype">int</font> sounding[DRUM_POLYPHONY];
|
||||
00055 <font class="keywordtype">int</font> nSounding;
|
||||
00056
|
||||
00057 };
|
||||
00058
|
||||
00059 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
58
doc/html/Echo_8h-source.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Echo.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00009 <font class="comment">/***************************************************/</font>
|
||||
00010
|
||||
00011 <font class="preprocessor">#if !defined(__ECHO_H)</font>
|
||||
00012 <font class="preprocessor"></font><font class="preprocessor">#define __ECHO_H</font>
|
||||
00013 <font class="preprocessor"></font>
|
||||
00014 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00015 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00016
|
||||
00017 <font class="keyword">class </font><a class="code" href="classEcho.html">Echo</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00018 {
|
||||
00019 <font class="keyword">public</font>:
|
||||
00021 <a class="code" href="classEcho.html#a0">Echo</a>(MY_FLOAT longestDelay);
|
||||
00022
|
||||
00024 <a class="code" href="classEcho.html#a1">~Echo</a>();
|
||||
00025
|
||||
00027 <font class="keywordtype">void</font> <a class="code" href="classEcho.html#a2">clear</a>();
|
||||
00028
|
||||
00030 <font class="keywordtype">void</font> <a class="code" href="classEcho.html#a3">setDelay</a>(MY_FLOAT delay);
|
||||
00031
|
||||
00033 <font class="keywordtype">void</font> <a class="code" href="classEcho.html#a4">setEffectMix</a>(MY_FLOAT mix);
|
||||
00034
|
||||
00036 MY_FLOAT <a class="code" href="classEcho.html#a5">lastOut</a>() <font class="keyword">const</font>;
|
||||
00037
|
||||
00039 MY_FLOAT <a class="code" href="classEcho.html#a6">tick</a>(MY_FLOAT input);
|
||||
00040
|
||||
00042 MY_FLOAT *<a class="code" href="classEcho.html#a6">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00043
|
||||
00044 <font class="keyword">protected</font>:
|
||||
00045 <a class="code" href="classDelay.html">Delay</a> *delayLine;
|
||||
00046 <font class="keywordtype">long</font> length;
|
||||
00047 MY_FLOAT lastOutput;
|
||||
00048 MY_FLOAT effectMix;
|
||||
00049
|
||||
00050 };
|
||||
00051
|
||||
00052 <font class="preprocessor">#endif</font>
|
||||
00053 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
64
doc/html/Envelope_8h-source.html
Normal file
@@ -0,0 +1,64 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Envelope.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00014 <font class="comment">/***************************************************/</font>
|
||||
00015
|
||||
00016 <font class="preprocessor">#if !defined(__ENVELOPE_H)</font>
|
||||
00017 <font class="preprocessor"></font><font class="preprocessor">#define __ENVELOPE_H</font>
|
||||
00018 <font class="preprocessor"></font>
|
||||
00019 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00020
|
||||
00021 <font class="keyword">class </font><a class="code" href="classEnvelope.html">Envelope</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00022 {
|
||||
00023 <font class="keyword">public</font>:
|
||||
00024
|
||||
00026 <a class="code" href="classEnvelope.html#a0">Envelope</a>(<font class="keywordtype">void</font>);
|
||||
00027
|
||||
00029 <font class="keyword">virtual</font> <a class="code" href="classEnvelope.html#a1">~Envelope</a>(<font class="keywordtype">void</font>);
|
||||
00030
|
||||
00032 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a2">keyOn</a>(<font class="keywordtype">void</font>);
|
||||
00033
|
||||
00035 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a3">keyOff</a>(<font class="keywordtype">void</font>);
|
||||
00036
|
||||
00038 <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a4">setRate</a>(MY_FLOAT aRate);
|
||||
00039
|
||||
00041 <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a5">setTime</a>(MY_FLOAT aTime);
|
||||
00042
|
||||
00044 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a6">setTarget</a>(MY_FLOAT aTarget);
|
||||
00045
|
||||
00047 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classEnvelope.html#a7">setValue</a>(MY_FLOAT aValue);
|
||||
00048
|
||||
00050 <font class="keyword">virtual</font> <font class="keywordtype">int</font> <a class="code" href="classEnvelope.html#a8">getState</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00051
|
||||
00053 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classEnvelope.html#a9">tick</a>(<font class="keywordtype">void</font>);
|
||||
00054
|
||||
00056 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classEnvelope.html#a9">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00057
|
||||
00059 MY_FLOAT <a class="code" href="classEnvelope.html#a11">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00060
|
||||
00061 <font class="keyword">protected</font>:
|
||||
00062 MY_FLOAT value;
|
||||
00063 MY_FLOAT target;
|
||||
00064 MY_FLOAT rate;
|
||||
00065 <font class="keywordtype">int</font> state;
|
||||
00066 };
|
||||
00067
|
||||
00068 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
50
doc/html/FMVoices_8h-source.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>FMVoices.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00031 <font class="comment">/***************************************************/</font>
|
||||
00032
|
||||
00033 <font class="preprocessor">#if !defined(__FMVOICES_H)</font>
|
||||
00034 <font class="preprocessor"></font><font class="preprocessor">#define __FMVOICES_H</font>
|
||||
00035 <font class="preprocessor"></font>
|
||||
00036 <font class="preprocessor">#include "FM.h"</font>
|
||||
00037
|
||||
00038 <font class="keyword">class </font><a class="code" href="classFMVoices.html">FMVoices</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00039 {
|
||||
00040 <font class="keyword">public</font>:
|
||||
00042 <a class="code" href="classFMVoices.html#a0">FMVoices</a>();
|
||||
00043
|
||||
00045 <a class="code" href="classFMVoices.html#a1">~FMVoices</a>();
|
||||
00046
|
||||
00048 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classFM.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00052
|
||||
00054 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00055
|
||||
00057 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classFM.html#a15">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00058
|
||||
00059 <font class="keyword">protected</font>:
|
||||
00060 <font class="keywordtype">int</font> currentVowel;
|
||||
00061 MY_FLOAT tilt[3];
|
||||
00062 MY_FLOAT mods[3];
|
||||
00063 };
|
||||
00064
|
||||
00065 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
85
doc/html/FM_8h-source.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>FM.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00024 <font class="comment">/***************************************************/</font>
|
||||
00025
|
||||
00026 <font class="preprocessor">#if !defined(__FM_H)</font>
|
||||
00027 <font class="preprocessor"></font><font class="preprocessor">#define __FM_H</font>
|
||||
00028 <font class="preprocessor"></font>
|
||||
00029 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00030 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00031 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00032 <font class="preprocessor">#include "TwoZero.h"</font>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classFM.html">FM</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00038 <a class="code" href="classFM.html#a0">FM</a>( <font class="keywordtype">int</font> operators = 4 );
|
||||
00039
|
||||
00041 <font class="keyword">virtual</font> <a class="code" href="classFM.html#a1">~FM</a>();
|
||||
00042
|
||||
00044 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a2">clear</a>();
|
||||
00045
|
||||
00047 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a3">loadWaves</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> **filenames);
|
||||
00048
|
||||
00050 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00051
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a5">setRatio</a>(<font class="keywordtype">int</font> waveIndex, MY_FLOAT ratio);
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a6">setGain</a>(<font class="keywordtype">int</font> waveIndex, MY_FLOAT gain);
|
||||
00057
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a7">setModulationSpeed</a>(MY_FLOAT mSpeed);
|
||||
00060
|
||||
00062 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a8">setModulationDepth</a>(MY_FLOAT mDepth);
|
||||
00063
|
||||
00065 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a9">setControl1</a>(MY_FLOAT cVal);
|
||||
00066
|
||||
00068 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a10">setControl2</a>(MY_FLOAT cVal);
|
||||
00069
|
||||
00071 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a11">keyOn</a>();
|
||||
00072
|
||||
00074 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a12">keyOff</a>();
|
||||
00075
|
||||
00077 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00078
|
||||
00080 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>() = 0;
|
||||
00081
|
||||
00083 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00084
|
||||
00085 <font class="keyword">protected</font>:
|
||||
00086 <a class="code" href="classADSR.html">ADSR</a> **adsr;
|
||||
00087 <a class="code" href="classWaveLoop.html">WaveLoop</a> **waves;
|
||||
00088 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00089 <a class="code" href="classTwoZero.html">TwoZero</a> *twozero;
|
||||
00090 <font class="keywordtype">int</font> nOperators;
|
||||
00091 MY_FLOAT baseFrequency;
|
||||
00092 MY_FLOAT *ratios;
|
||||
00093 MY_FLOAT *gains;
|
||||
00094 MY_FLOAT modDepth;
|
||||
00095 MY_FLOAT control1;
|
||||
00096 MY_FLOAT control2;
|
||||
00097 MY_FLOAT __FM_gains[100];
|
||||
00098 MY_FLOAT __FM_susLevels[16];
|
||||
00099 MY_FLOAT __FM_attTimes[32];
|
||||
00100
|
||||
00101 };
|
||||
00102
|
||||
00103 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
72
doc/html/Filter_8h-source.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Filter.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00028 <font class="comment">/***************************************************/</font>
|
||||
00029
|
||||
00030 <font class="preprocessor">#if !defined(__FILTER_H)</font>
|
||||
00031 <font class="preprocessor"></font><font class="preprocessor">#define __FILTER_H</font>
|
||||
00032 <font class="preprocessor"></font>
|
||||
00033 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00034
|
||||
00035 <font class="keyword">class </font><a class="code" href="classFilter.html">Filter</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00036 {
|
||||
00037 <font class="keyword">public</font>:
|
||||
00039 <a class="code" href="classFilter.html#a0">Filter</a>(<font class="keywordtype">void</font>);
|
||||
00040
|
||||
00042
|
||||
00046 <a class="code" href="classFilter.html#a0">Filter</a>(<font class="keywordtype">int</font> nb, MY_FLOAT *bCoefficients, <font class="keywordtype">int</font> na, MY_FLOAT *aCoefficients);
|
||||
00047
|
||||
00049 <font class="keyword">virtual</font> <a class="code" href="classFilter.html#a2">~Filter</a>(<font class="keywordtype">void</font>);
|
||||
00050
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00053
|
||||
00055
|
||||
00060 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a4">setCoefficients</a>(<font class="keywordtype">int</font> nb, MY_FLOAT *bCoefficients, <font class="keywordtype">int</font> na, MY_FLOAT *aCoefficients);
|
||||
00061
|
||||
00063
|
||||
00069 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a5">setNumerator</a>(<font class="keywordtype">int</font> nb, MY_FLOAT *bCoefficients);
|
||||
00070
|
||||
00072
|
||||
00080 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a6">setDenominator</a>(<font class="keywordtype">int</font> na, MY_FLOAT *aCoefficients);
|
||||
00081
|
||||
00083
|
||||
00087 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00088
|
||||
00090 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00091
|
||||
00093 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00094
|
||||
00096 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00097
|
||||
00099 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00100
|
||||
00101 <font class="keyword">protected</font>:
|
||||
00102 MY_FLOAT gain;
|
||||
00103 <font class="keywordtype">int</font> nB;
|
||||
00104 <font class="keywordtype">int</font> nA;
|
||||
00105 MY_FLOAT *b;
|
||||
00106 MY_FLOAT *a;
|
||||
00107 MY_FLOAT *outputs;
|
||||
00108 MY_FLOAT *inputs;
|
||||
00109
|
||||
00110 };
|
||||
00111
|
||||
00112 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
86
doc/html/Flute_8h-source.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Flute.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00023 <font class="comment">/***************************************************/</font>
|
||||
00024
|
||||
00025 <font class="preprocessor">#if !defined(__FLUTE_H)</font>
|
||||
00026 <font class="preprocessor"></font><font class="preprocessor">#define __FLUTE_H</font>
|
||||
00027 <font class="preprocessor"></font>
|
||||
00028 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00029 <font class="preprocessor">#include "JetTabl.h"</font>
|
||||
00030 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00031 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00032 <font class="preprocessor">#include "PoleZero.h"</font>
|
||||
00033 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00034 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00035 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00036
|
||||
00037 <font class="keyword">class </font><a class="code" href="classFlute.html">Flute</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00038 {
|
||||
00039 <font class="keyword">public</font>:
|
||||
00041 <a class="code" href="classFlute.html#a0">Flute</a>(MY_FLOAT lowestFrequency);
|
||||
00042
|
||||
00044 <a class="code" href="classFlute.html#a1">~Flute</a>();
|
||||
00045
|
||||
00047 <font class="keywordtype">void</font> <a class="code" href="classFlute.html#a2">clear</a>();
|
||||
00048
|
||||
00050 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00051
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classFlute.html#a4">setJetReflection</a>(MY_FLOAT coefficient);
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classFlute.html#a5">setEndReflection</a>(MY_FLOAT coefficient);
|
||||
00057
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classFlute.html#a6">setJetDelay</a>(MY_FLOAT aRatio);
|
||||
00060
|
||||
00062 <font class="keywordtype">void</font> <a class="code" href="classFlute.html#a7">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00063
|
||||
00065 <font class="keywordtype">void</font> <a class="code" href="classFlute.html#a8">stopBlowing</a>(MY_FLOAT rate);
|
||||
00066
|
||||
00068 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00069
|
||||
00071 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00072
|
||||
00074 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00075
|
||||
00077 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00078
|
||||
00079 <font class="keyword">protected</font>:
|
||||
00080 <a class="code" href="classDelayL.html">DelayL</a> *jetDelay;
|
||||
00081 <a class="code" href="classDelayL.html">DelayL</a> *boreDelay;
|
||||
00082 <a class="code" href="classJetTabl.html">JetTabl</a> *jetTable;
|
||||
00083 <a class="code" href="classOnePole.html">OnePole</a> *filter;
|
||||
00084 <a class="code" href="classPoleZero.html">PoleZero</a> *dcBlock;
|
||||
00085 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00086 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00087 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00088 <font class="keywordtype">long</font> length;
|
||||
00089 MY_FLOAT lastFrequency;
|
||||
00090 MY_FLOAT maxPressure;
|
||||
00091 MY_FLOAT jetReflection;
|
||||
00092 MY_FLOAT endReflection;
|
||||
00093 MY_FLOAT noiseGain;
|
||||
00094 MY_FLOAT vibratoGain;
|
||||
00095 MY_FLOAT outputGain;
|
||||
00096 MY_FLOAT jetRatio;
|
||||
00097
|
||||
00098 };
|
||||
00099
|
||||
00100 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
72
doc/html/FormSwep_8h-source.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>FormSwep.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__FORMSWEP_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __FORMSWEP_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classFormSwep.html">FormSwep</a> : <font class="keyword">public</font> <a class="code" href="classBiQuad.html">BiQuad</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
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 <font class="keywordtype">void</font> <a class="code" href="classBiQuad.html#a8">setResonance</a>(MY_FLOAT aFrequency, MY_FLOAT aRadius);
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classFormSwep.html#a3">setStates</a>(MY_FLOAT aFrequency, MY_FLOAT aRadius, MY_FLOAT aGain = 1.0);
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classFormSwep.html#a4">setTargets</a>(MY_FLOAT aFrequency, MY_FLOAT aRadius, MY_FLOAT aGain = 1.0);
|
||||
00049
|
||||
00051
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classFormSwep.html#a5">setSweepRate</a>(MY_FLOAT aRate);
|
||||
00060
|
||||
00062
|
||||
00067 <font class="keywordtype">void</font> <a class="code" href="classFormSwep.html#a6">setSweepTime</a>(MY_FLOAT aTime);
|
||||
00068
|
||||
00070 MY_FLOAT <a class="code" href="classBiQuad.html#a14">tick</a>(MY_FLOAT sample);
|
||||
00071
|
||||
00073 MY_FLOAT *<a class="code" href="classBiQuad.html#a14">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00074
|
||||
00075 <font class="keyword">protected</font>:
|
||||
00076 <font class="keywordtype">bool</font> 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 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
41
doc/html/HevyMetl_8h-source.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>HevyMetl.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00029 <font class="comment">/***************************************************/</font>
|
||||
00030
|
||||
00031 <font class="preprocessor">#if !defined(__HEVYMETL_H)</font>
|
||||
00032 <font class="preprocessor"></font><font class="preprocessor">#define __HEVYMETL_H</font>
|
||||
00033 <font class="preprocessor"></font>
|
||||
00034 <font class="preprocessor">#include "FM.h"</font>
|
||||
00035
|
||||
00036 <font class="keyword">class </font><a class="code" href="classHevyMetl.html">HevyMetl</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00037 {
|
||||
00038 <font class="keyword">public</font>:
|
||||
00040 <a class="code" href="classHevyMetl.html#a0">HevyMetl</a>();
|
||||
00041
|
||||
00043 <a class="code" href="classHevyMetl.html#a1">~HevyMetl</a>();
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00047
|
||||
00049 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00050 };
|
||||
00051
|
||||
00052 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
56
doc/html/Instrmnt_8h-source.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Instrmnt.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00010 <font class="comment">/***************************************************/</font>
|
||||
00011
|
||||
00012 <font class="preprocessor">#if !defined(__INSTRMNT_H)</font>
|
||||
00013 <font class="preprocessor"></font><font class="preprocessor">#define __INSTRMNT_H</font>
|
||||
00014 <font class="preprocessor"></font>
|
||||
00015 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00016 <font class="preprocessor">#include <iostream.h></font>
|
||||
00017
|
||||
00018 <font class="keyword">class </font><a class="code" href="classInstrmnt.html">Instrmnt</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00019 {
|
||||
00020 <font class="keyword">public</font>:
|
||||
00022 <a class="code" href="classInstrmnt.html#a0">Instrmnt</a>();
|
||||
00023
|
||||
00025 <font class="keyword">virtual</font> <a class="code" href="classInstrmnt.html#a1">~Instrmnt</a>();
|
||||
00026
|
||||
00028 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude) = 0;
|
||||
00029
|
||||
00031 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude) = 0;
|
||||
00032
|
||||
00034 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00035
|
||||
00037 MY_FLOAT <a class="code" href="classInstrmnt.html#a5">lastOut</a>() <font class="keyword">const</font>;
|
||||
00038
|
||||
00040 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>() = 0;
|
||||
00041
|
||||
00043 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classInstrmnt.html#a6">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00044
|
||||
00046 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00047
|
||||
00048 <font class="keyword">protected</font>:
|
||||
00049 MY_FLOAT lastOutput;
|
||||
00050
|
||||
00051 };
|
||||
00052
|
||||
00053 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
54
doc/html/JCRev_8h-source.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>JCRev.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00015 <font class="comment">/***************************************************/</font>
|
||||
00016
|
||||
00017 <font class="preprocessor">#if !defined(__JCREV_H)</font>
|
||||
00018 <font class="preprocessor"></font><font class="preprocessor">#define __JCREV_H</font>
|
||||
00019 <font class="preprocessor"></font>
|
||||
00020 <font class="preprocessor">#include "Reverb.h"</font>
|
||||
00021 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00022
|
||||
00023 <font class="keyword">class </font><a class="code" href="classJCRev.html">JCRev</a> : <font class="keyword">public</font> <a class="code" href="classReverb.html">Reverb</a>
|
||||
00024 {
|
||||
00025 <font class="keyword">public</font>:
|
||||
00026 <font class="comment">// Class constructor taking a T60 decay time argument.</font>
|
||||
00027 JCRev(MY_FLOAT T60);
|
||||
00028
|
||||
00029 <font class="comment">// Class destructor.</font>
|
||||
00030 ~JCRev();
|
||||
00031
|
||||
00033 <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a2">clear</a>();
|
||||
00034
|
||||
00036 MY_FLOAT <a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT input);
|
||||
00037
|
||||
00038 <font class="keyword">protected</font>:
|
||||
00039 <a class="code" href="classDelay.html">Delay</a> *allpassDelays[3];
|
||||
00040 <a class="code" href="classDelay.html">Delay</a> *combDelays[4];
|
||||
00041 <a class="code" href="classDelay.html">Delay</a> *outLeftDelay;
|
||||
00042 <a class="code" href="classDelay.html">Delay</a> *outRightDelay;
|
||||
00043 MY_FLOAT allpassCoefficient;
|
||||
00044 MY_FLOAT combCoefficient[4];
|
||||
00045
|
||||
00046 };
|
||||
00047
|
||||
00048 <font class="preprocessor">#endif</font>
|
||||
00049 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
47
doc/html/JetTabl_8h-source.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>JetTabl.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00014 <font class="comment">/***************************************************/</font>
|
||||
00015
|
||||
00016 <font class="preprocessor">#if !defined(__JETTABL_H)</font>
|
||||
00017 <font class="preprocessor"></font><font class="preprocessor">#define __JETTABL_H</font>
|
||||
00018 <font class="preprocessor"></font>
|
||||
00019 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00020
|
||||
00021 <font class="keyword">class </font><a class="code" href="classJetTabl.html">JetTabl</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00022 {
|
||||
00023 <font class="keyword">public</font>:
|
||||
00025 <a class="code" href="classJetTabl.html#a0">JetTabl</a>();
|
||||
00026
|
||||
00028 <a class="code" href="classJetTabl.html#a1">~JetTabl</a>();
|
||||
00029
|
||||
00031 MY_FLOAT <a class="code" href="classJetTabl.html#a2">lastOut</a>() <font class="keyword">const</font>;
|
||||
00032
|
||||
00034 MY_FLOAT <a class="code" href="classJetTabl.html#a3">tick</a>(MY_FLOAT input);
|
||||
00035
|
||||
00037 MY_FLOAT *<a class="code" href="classJetTabl.html#a3">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00038
|
||||
00039 <font class="keyword">protected</font>:
|
||||
00040 MY_FLOAT lastOutput;
|
||||
00041
|
||||
00042 };
|
||||
00043
|
||||
00044 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
57
doc/html/Mandolin_8h-source.html
Normal file
@@ -0,0 +1,57 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Mandolin.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00028 <font class="comment">/***************************************************/</font>
|
||||
00029
|
||||
00030 <font class="preprocessor">#if !defined(__MANDOLIN_H)</font>
|
||||
00031 <font class="preprocessor"></font><font class="preprocessor">#define __MANDOLIN_H</font>
|
||||
00032 <font class="preprocessor"></font>
|
||||
00033 <font class="preprocessor">#include "PluckTwo.h"</font>
|
||||
00034 <font class="preprocessor">#include "WvIn.h"</font>
|
||||
00035
|
||||
00036 <font class="keyword">class </font><a class="code" href="classMandolin.html">Mandolin</a> : <font class="keyword">public</font> <a class="code" href="classPluckTwo.html">PluckTwo</a>
|
||||
00037 {
|
||||
00038 <font class="keyword">public</font>:
|
||||
00040 <a class="code" href="classMandolin.html#a0">Mandolin</a>(MY_FLOAT lowestFrequency);
|
||||
00041
|
||||
00043 <font class="keyword">virtual</font> <a class="code" href="classMandolin.html#a1">~Mandolin</a>();
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classMandolin.html#a2">pluck</a>(MY_FLOAT amplitude);
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classMandolin.html#a2">pluck</a>(MY_FLOAT amplitude,MY_FLOAT position);
|
||||
00050
|
||||
00052 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00053
|
||||
00055 <font class="keywordtype">void</font> <a class="code" href="classMandolin.html#a5">setBodySize</a>(MY_FLOAT size);
|
||||
00056
|
||||
00058 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classPluckTwo.html#a9">tick</a>();
|
||||
00059
|
||||
00061 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00062
|
||||
00063 <font class="keyword">protected</font>:
|
||||
00064 <a class="code" href="classWvIn.html">WvIn</a> *soundfile[12];
|
||||
00065 MY_FLOAT directBody;
|
||||
00066 <font class="keywordtype">int</font> mic;
|
||||
00067 <font class="keywordtype">long</font> dampTime;
|
||||
00068 <font class="keywordtype">bool</font> waveDone;
|
||||
00069 };
|
||||
00070
|
||||
00071 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
89
doc/html/Mesh2D_8h-source.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Mesh2D.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00025 <font class="comment">/***************************************************/</font>
|
||||
00026
|
||||
00027 <font class="preprocessor">#if !defined(__MESH2D_H)</font>
|
||||
00028 <font class="preprocessor"></font><font class="preprocessor">#define __MESH2D_H</font>
|
||||
00029 <font class="preprocessor"></font>
|
||||
00030 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00031 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00032
|
||||
00033 <font class="preprocessor">#define NXMAX ((short)(12))</font>
|
||||
00034 <font class="preprocessor"></font><font class="preprocessor">#define NYMAX ((short)(12))</font>
|
||||
00035 <font class="preprocessor"></font>
|
||||
00036 <font class="keyword">class </font><a class="code" href="classMesh2D.html">Mesh2D</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00037 {
|
||||
00038 <font class="keyword">public</font>:
|
||||
00040 <a class="code" href="classMesh2D.html#a0">Mesh2D</a>(<font class="keywordtype">short</font> nX, <font class="keywordtype">short</font> nY);
|
||||
00041
|
||||
00043 <a class="code" href="classMesh2D.html#a1">~Mesh2D</a>();
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classMesh2D.html#a2">clear</a>();
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classMesh2D.html#a3">setNX</a>(<font class="keywordtype">short</font> lenX);
|
||||
00050
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classMesh2D.html#a4">setNY</a>(<font class="keywordtype">short</font> lenY);
|
||||
00053
|
||||
00055 <font class="keywordtype">void</font> <a class="code" href="classMesh2D.html#a5">setInputPosition</a>(MY_FLOAT xFactor, MY_FLOAT yFactor);
|
||||
00056
|
||||
00058 <font class="keywordtype">void</font> <a class="code" href="classMesh2D.html#a6">setDecay</a>(MY_FLOAT decayFactor);
|
||||
00059
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00062
|
||||
00064 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00065
|
||||
00067 MY_FLOAT <a class="code" href="classMesh2D.html#a9">energy</a>();
|
||||
00068
|
||||
00070 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00071
|
||||
00073 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>(MY_FLOAT input);
|
||||
00074
|
||||
00076 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00077
|
||||
00078 <font class="keyword">protected</font>:
|
||||
00079
|
||||
00080 MY_FLOAT tick0();
|
||||
00081 MY_FLOAT tick1();
|
||||
00082 <font class="keywordtype">void</font> clearMesh();
|
||||
00083
|
||||
00084 <font class="keywordtype">short</font> NX, NY;
|
||||
00085 <font class="keywordtype">short</font> xInput, yInput;
|
||||
00086 <a class="code" href="classOnePole.html">OnePole</a> *filterX[NXMAX];
|
||||
00087 <a class="code" href="classOnePole.html">OnePole</a> *filterY[NYMAX];
|
||||
00088 MY_FLOAT v[NXMAX-1][NYMAX-1]; <font class="comment">// junction velocities</font>
|
||||
00089 MY_FLOAT vxp[NXMAX][NYMAX]; <font class="comment">// positive-x velocity wave</font>
|
||||
00090 MY_FLOAT vxm[NXMAX][NYMAX]; <font class="comment">// negative-x velocity wave</font>
|
||||
00091 MY_FLOAT vyp[NXMAX][NYMAX]; <font class="comment">// positive-y velocity wave</font>
|
||||
00092 MY_FLOAT vym[NXMAX][NYMAX]; <font class="comment">// negative-y velocity wave</font>
|
||||
00093
|
||||
00094 <font class="comment">// Alternate buffers</font>
|
||||
00095 MY_FLOAT vxp1[NXMAX][NYMAX]; <font class="comment">// positive-x velocity wave</font>
|
||||
00096 MY_FLOAT vxm1[NXMAX][NYMAX]; <font class="comment">// negative-x velocity wave</font>
|
||||
00097 MY_FLOAT vyp1[NXMAX][NYMAX]; <font class="comment">// positive-y velocity wave</font>
|
||||
00098 MY_FLOAT vym1[NXMAX][NYMAX]; <font class="comment">// negative-y velocity wave</font>
|
||||
00099
|
||||
00100 <font class="keywordtype">int</font> counter; <font class="comment">// time in samples</font>
|
||||
00101
|
||||
00102
|
||||
00103 };
|
||||
00104
|
||||
00105 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
115
doc/html/Messager_8h-source.html
Normal file
@@ -0,0 +1,115 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Messager.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00034 <font class="comment">/***************************************************/</font>
|
||||
00035
|
||||
00036 <font class="preprocessor">#if !defined(__MESSAGER_H)</font>
|
||||
00037 <font class="preprocessor"></font><font class="preprocessor">#define __MESSSAGER_H</font>
|
||||
00038 <font class="preprocessor"></font>
|
||||
00039 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00040 <font class="preprocessor">#include "SKINI.h"</font>
|
||||
00041
|
||||
00042 <font class="preprocessor">#define MESSAGE_LENGTH 128</font>
|
||||
00043 <font class="preprocessor"></font><font class="preprocessor">#define MAX_MESSAGES 25</font>
|
||||
00044 <font class="preprocessor"></font>
|
||||
00045 <font class="preprocessor">#if defined(__STK_REALTIME__)</font>
|
||||
00046 <font class="preprocessor"></font>
|
||||
00047 <font class="preprocessor">#include "Thread.h"</font>
|
||||
00048 <font class="preprocessor">#include "Socket.h"</font>
|
||||
00049 <font class="preprocessor">#include "RtMidi.h"</font>
|
||||
00050
|
||||
00051 <font class="preprocessor">#define STK_MIDI 0x0001</font>
|
||||
00052 <font class="preprocessor"></font><font class="preprocessor">#define STK_PIPE 0x0002</font>
|
||||
00053 <font class="preprocessor"></font><font class="preprocessor">#define STK_SOCKET 0x0004</font>
|
||||
00054 <font class="preprocessor"></font>
|
||||
00055 <font class="keyword">extern</font> <font class="stringliteral">"C"</font> THREAD_RETURN THREAD_TYPE stdinHandler(<font class="keywordtype">void</font> * ptr);
|
||||
00056
|
||||
00057 <font class="preprocessor">#if (defined(__OS_IRIX__) || defined(__OS_LINUX__))</font>
|
||||
00058 <font class="preprocessor"></font><font class="preprocessor"> #include <sys/types.h></font>
|
||||
00059 <font class="preprocessor"> #include <sys/time.h></font>
|
||||
00060 <font class="preprocessor">#endif</font>
|
||||
00061 <font class="preprocessor"></font>
|
||||
00062 <font class="preprocessor">#endif // __STK_REALTIME__</font>
|
||||
00063 <font class="preprocessor"></font>
|
||||
00064 <font class="keyword">class </font><a class="code" href="classMessager.html">Messager</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00065 {
|
||||
00066 <font class="keyword">public</font>:
|
||||
00068
|
||||
00075 <a class="code" href="classMessager.html#a0">Messager</a>(<font class="keywordtype">int</font> inputMask = 0);
|
||||
00076
|
||||
00078 <a class="code" href="classMessager.html#a1">~Messager</a>();
|
||||
00079
|
||||
00081
|
||||
00087 <font class="keywordtype">long</font> <a class="code" href="classMessager.html#a2">nextMessage</a>(<font class="keywordtype">void</font>);
|
||||
00088
|
||||
00090 <font class="keywordtype">void</font> <a class="code" href="classMessager.html#a3">setRtDelta</a>(<font class="keywordtype">long</font> nSamples);
|
||||
00091
|
||||
00093 <font class="keywordtype">long</font> <a class="code" href="classMessager.html#a4">getDelta</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00094
|
||||
00096 <font class="keywordtype">long</font> <a class="code" href="classMessager.html#a5">getType</a>() <font class="keyword">const</font>;
|
||||
00097
|
||||
00099 MY_FLOAT <a class="code" href="classMessager.html#a6">getByteTwo</a>() <font class="keyword">const</font>;
|
||||
00100
|
||||
00102 MY_FLOAT <a class="code" href="classMessager.html#a7">getByteThree</a>() <font class="keyword">const</font>;
|
||||
00103
|
||||
00105 <font class="keywordtype">long</font> <a class="code" href="classMessager.html#a8">getChannel</a>() <font class="keyword">const</font>;
|
||||
00106
|
||||
00107 <font class="keyword">protected</font>:
|
||||
00108
|
||||
00109 <a class="code" href="classSKINI.html">SKINI</a> *skini;
|
||||
00110 <font class="keywordtype">long</font> type;
|
||||
00111 <font class="keywordtype">long</font> channel;
|
||||
00112 MY_FLOAT byte2;
|
||||
00113 MY_FLOAT byte3;
|
||||
00114 <font class="keywordtype">int</font> sources;
|
||||
00115 <font class="keywordtype">long</font> delta;
|
||||
00116 <font class="keywordtype">long</font> rtDelta;
|
||||
00117 <font class="keywordtype">char</font> message[MAX_MESSAGES][MESSAGE_LENGTH];
|
||||
00118 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> messageIndex;
|
||||
00119 <font class="keywordtype">int</font> nMessages;
|
||||
00120
|
||||
00121 <font class="preprocessor">#if defined(__STK_REALTIME__)</font>
|
||||
00122 <font class="preprocessor"></font>
|
||||
00123 <font class="comment">// Check MIDI source for new messages.</font>
|
||||
00124 <font class="keywordtype">bool</font> midiMessage(<font class="keywordtype">void</font>);
|
||||
00125
|
||||
00126 <font class="comment">// Check socket sources for new messages.</font>
|
||||
00127 <font class="keywordtype">bool</font> socketMessage(<font class="keywordtype">void</font>);
|
||||
00128
|
||||
00129 <font class="comment">// Receive and parse socket data.</font>
|
||||
00130 <font class="keywordtype">bool</font> readSocket(<font class="keywordtype">int</font> fd);
|
||||
00131
|
||||
00132 <a class="code" href="classRtMidi.html">RtMidi</a> *midi;
|
||||
00133 <a class="code" href="classThread.html">Thread</a> *thread;
|
||||
00134 <a class="code" href="classSocket.html">Socket</a> *soket;
|
||||
00135
|
||||
00136 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nSockets;
|
||||
00137 fd_set mask;
|
||||
00138 <font class="keywordtype">int</font> maxfd;
|
||||
00139 <font class="keywordtype">int</font> pipefd;
|
||||
00140 <font class="keywordtype">int</font> fd[16];
|
||||
00141 <font class="keywordtype">char</font> error[256];
|
||||
00142
|
||||
00143 <font class="preprocessor">#endif // __STK_REALTIME__</font>
|
||||
00144 <font class="preprocessor"></font>
|
||||
00145 };
|
||||
00146
|
||||
00147 <font class="preprocessor">#endif // defined(__MESSAGER_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
47
doc/html/ModalBar_8h-source.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>ModalBar.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00028 <font class="comment">/***************************************************/</font>
|
||||
00029
|
||||
00030 <font class="preprocessor">#if !defined(__MODALBAR_H)</font>
|
||||
00031 <font class="preprocessor"></font><font class="preprocessor">#define __MODALBAR_H</font>
|
||||
00032 <font class="preprocessor"></font>
|
||||
00033 <font class="preprocessor">#include "Modal.h"</font>
|
||||
00034
|
||||
00035 <font class="keyword">class </font><a class="code" href="classModalBar.html">ModalBar</a> : <font class="keyword">public</font> <a class="code" href="classModal.html">Modal</a>
|
||||
00036 {
|
||||
00037 <font class="keyword">public</font>:
|
||||
00039 <a class="code" href="classModalBar.html#a0">ModalBar</a>();
|
||||
00040
|
||||
00042 <a class="code" href="classModalBar.html#a1">~ModalBar</a>();
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classModalBar.html#a2">setStickHardness</a>(MY_FLOAT hardness);
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classModalBar.html#a3">setStrikePosition</a>(MY_FLOAT position);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classModalBar.html#a4">setPreset</a>(<font class="keywordtype">int</font> preset);
|
||||
00052
|
||||
00054 <font class="keywordtype">void</font> <a class="code" href="classModalBar.html#a5">setModulationDepth</a>(MY_FLOAT mDepth);
|
||||
00055
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a13">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00058 };
|
||||
00059
|
||||
00060 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
82
doc/html/Modal_8h-source.html
Normal file
@@ -0,0 +1,82 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Modal.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00012 <font class="comment">/***************************************************/</font>
|
||||
00013
|
||||
00014 <font class="preprocessor">#if !defined(__MODAL_H)</font>
|
||||
00015 <font class="preprocessor"></font><font class="preprocessor">#define __MODAL_H</font>
|
||||
00016 <font class="preprocessor"></font>
|
||||
00017 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00018 <font class="preprocessor">#include "Envelope.h"</font>
|
||||
00019 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00020 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00021 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00022
|
||||
00023 <font class="keyword">class </font><a class="code" href="classModal.html">Modal</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00024 {
|
||||
00025 <font class="keyword">public</font>:
|
||||
00027 <a class="code" href="classModal.html#a0">Modal</a>( <font class="keywordtype">int</font> modes = 4 );
|
||||
00028
|
||||
00030 <font class="keyword">virtual</font> <a class="code" href="classModal.html#a1">~Modal</a>();
|
||||
00031
|
||||
00033 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a2">clear</a>();
|
||||
00034
|
||||
00036 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00037
|
||||
00039 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a4">setRatioAndRadius</a>(<font class="keywordtype">int</font> modeIndex, MY_FLOAT ratio, MY_FLOAT radius);
|
||||
00040
|
||||
00042 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a5">setMasterGain</a>(MY_FLOAT aGain);
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a6">setDirectGain</a>(MY_FLOAT aGain);
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a7">setModeGain</a>(<font class="keywordtype">int</font> modeIndex, MY_FLOAT gain);
|
||||
00049
|
||||
00051 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classModal.html#a8">strike</a>(MY_FLOAT amplitude);
|
||||
00052
|
||||
00054 <font class="keywordtype">void</font> <a class="code" href="classModal.html#a9">damp</a>(MY_FLOAT amplitude);
|
||||
00055
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00058
|
||||
00060 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00061
|
||||
00063 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00064
|
||||
00066 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value) = 0;
|
||||
00067
|
||||
00068 <font class="keyword">protected</font>:
|
||||
00069 <a class="code" href="classEnvelope.html">Envelope</a> *envelope;
|
||||
00070 <a class="code" href="classWvIn.html">WvIn</a> *wave;
|
||||
00071 <a class="code" href="classBiQuad.html">BiQuad</a> **filters;
|
||||
00072 <a class="code" href="classOnePole.html">OnePole</a> *onepole;
|
||||
00073 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00074 <font class="keywordtype">int</font> nModes;
|
||||
00075 MY_FLOAT vibratoGain;
|
||||
00076 MY_FLOAT masterGain;
|
||||
00077 MY_FLOAT directGain;
|
||||
00078 MY_FLOAT stickHardness;
|
||||
00079 MY_FLOAT strikePosition;
|
||||
00080 MY_FLOAT baseFrequency;
|
||||
00081 MY_FLOAT *ratios;
|
||||
00082 MY_FLOAT *radii;
|
||||
00083
|
||||
00084 };
|
||||
00085
|
||||
00086 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
63
doc/html/Modulate_8h-source.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Modulate.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00011 <font class="comment">/***************************************************/</font>
|
||||
00012
|
||||
00013 <font class="preprocessor">#if !defined(__MODULATE_H)</font>
|
||||
00014 <font class="preprocessor"></font><font class="preprocessor">#define __MODULATE_H</font>
|
||||
00015 <font class="preprocessor"></font>
|
||||
00016 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00017 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00018 <font class="preprocessor">#include "SubNoise.h"</font>
|
||||
00019 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00020
|
||||
00021 <font class="keyword">class </font><a class="code" href="classModulate.html">Modulate</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00022 {
|
||||
00023 <font class="keyword">public</font>:
|
||||
00025 <a class="code" href="classModulate.html#a0">Modulate</a>();
|
||||
00026
|
||||
00028 <a class="code" href="classModulate.html#a1">~Modulate</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classModulate.html#a2">reset</a>();
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classModulate.html#a3">setVibratoRate</a>(MY_FLOAT aRate);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classModulate.html#a4">setVibratoGain</a>(MY_FLOAT aGain);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classModulate.html#a5">setRandomGain</a>(MY_FLOAT aGain);
|
||||
00041
|
||||
00043 MY_FLOAT <a class="code" href="classModulate.html#a6">tick</a>();
|
||||
00044
|
||||
00046 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classModulate.html#a6">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00047
|
||||
00049 MY_FLOAT <a class="code" href="classModulate.html#a8">lastOut</a>() <font class="keyword">const</font>;
|
||||
00050
|
||||
00051 <font class="keyword">protected</font>:
|
||||
00052 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00053 <a class="code" href="classSubNoise.html">SubNoise</a> *noise;
|
||||
00054 <a class="code" href="classOnePole.html">OnePole</a> *filter;
|
||||
00055 MY_FLOAT vibratoGain;
|
||||
00056 MY_FLOAT randomGain;
|
||||
00057 MY_FLOAT lastOutput;
|
||||
00058
|
||||
00059 };
|
||||
00060
|
||||
00061 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
57
doc/html/Moog_8h-source.html
Normal file
@@ -0,0 +1,57 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Moog.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00019 <font class="comment">/***************************************************/</font>
|
||||
00020
|
||||
00021 <font class="preprocessor">#if !defined(__MOOG_H)</font>
|
||||
00022 <font class="preprocessor"></font><font class="preprocessor">#define __MOOG_H</font>
|
||||
00023 <font class="preprocessor"></font>
|
||||
00024 <font class="preprocessor">#include "Sampler.h"</font>
|
||||
00025 <font class="preprocessor">#include "FormSwep.h"</font>
|
||||
00026
|
||||
00027 <font class="keyword">class </font><a class="code" href="classMoog.html">Moog</a> : <font class="keyword">public</font> <a class="code" href="classSampler.html">Sampler</a>
|
||||
00028 {
|
||||
00029 <font class="keyword">public</font>:
|
||||
00031 <a class="code" href="classMoog.html#a0">Moog</a>();
|
||||
00032
|
||||
00034 <a class="code" href="classMoog.html#a1">~Moog</a>();
|
||||
00035
|
||||
00037 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classSampler.html#a3">setFrequency</a>(MY_FLOAT frequency);
|
||||
00038
|
||||
00040 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00041
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classMoog.html#a4">setModulationSpeed</a>(MY_FLOAT mSpeed);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classMoog.html#a5">setModulationDepth</a>(MY_FLOAT mDepth);
|
||||
00047
|
||||
00049 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classSampler.html#a7">tick</a>();
|
||||
00050
|
||||
00052 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classSampler.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00053
|
||||
00054 <font class="keyword">protected</font>:
|
||||
00055 <a class="code" href="classFormSwep.html">FormSwep</a> *filters[2];
|
||||
00056 MY_FLOAT modDepth;
|
||||
00057 MY_FLOAT filterQ;
|
||||
00058 MY_FLOAT filterRate;
|
||||
00059
|
||||
00060 };
|
||||
00061
|
||||
00062 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
53
doc/html/NRev_8h-source.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>NRev.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00017 <font class="comment">/***************************************************/</font>
|
||||
00018
|
||||
00019 <font class="preprocessor">#if !defined(__NREV_H)</font>
|
||||
00020 <font class="preprocessor"></font><font class="preprocessor">#define __NREV_H</font>
|
||||
00021 <font class="preprocessor"></font>
|
||||
00022 <font class="preprocessor">#include "Reverb.h"</font>
|
||||
00023 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00024
|
||||
00025 <font class="keyword">class </font><a class="code" href="classNRev.html">NRev</a> : <font class="keyword">public</font> <a class="code" href="classReverb.html">Reverb</a>
|
||||
00026 {
|
||||
00027 <font class="keyword">public</font>:
|
||||
00028 <font class="comment">// Class constructor taking a T60 decay time argument.</font>
|
||||
00029 NRev(MY_FLOAT T60);
|
||||
00030
|
||||
00031 <font class="comment">// Class destructor.</font>
|
||||
00032 ~NRev();
|
||||
00033
|
||||
00035 <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a2">clear</a>();
|
||||
00036
|
||||
00038 MY_FLOAT <a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT input);
|
||||
00039
|
||||
00040 <font class="keyword">protected</font>:
|
||||
00041 <a class="code" href="classDelay.html">Delay</a> *allpassDelays[8];
|
||||
00042 <a class="code" href="classDelay.html">Delay</a> *combDelays[6];
|
||||
00043 MY_FLOAT allpassCoefficient;
|
||||
00044 MY_FLOAT combCoefficient[6];
|
||||
00045 MY_FLOAT lowpassState;
|
||||
00046
|
||||
00047 };
|
||||
00048
|
||||
00049 <font class="preprocessor">#endif</font>
|
||||
00050 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
49
doc/html/Noise_8h-source.html
Normal file
@@ -0,0 +1,49 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Noise.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00011 <font class="comment">/***************************************************/</font>
|
||||
00012
|
||||
00013 <font class="preprocessor">#if !defined(__NOISE_H)</font>
|
||||
00014 <font class="preprocessor"></font><font class="preprocessor">#define __NOISE_H</font>
|
||||
00015 <font class="preprocessor"></font>
|
||||
00016 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00017
|
||||
00018 <font class="keyword">class </font><a class="code" href="classNoise.html">Noise</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00019 {
|
||||
00020 <font class="keyword">public</font>:
|
||||
00021
|
||||
00023 <a class="code" href="classNoise.html#a0">Noise</a>();
|
||||
00024
|
||||
00026 <font class="keyword">virtual</font> <a class="code" href="classNoise.html#a1">~Noise</a>();
|
||||
00027
|
||||
00029 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classNoise.html#a2">tick</a>();
|
||||
00030
|
||||
00032 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classNoise.html#a2">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00033
|
||||
00035 MY_FLOAT <a class="code" href="classNoise.html#a4">lastOut</a>() <font class="keyword">const</font>;
|
||||
00036
|
||||
00037 <font class="keyword">protected</font>:
|
||||
00038
|
||||
00039 MY_FLOAT lastOutput;
|
||||
00040
|
||||
00041 };
|
||||
00042
|
||||
00043 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
60
doc/html/OnePole_8h-source.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>OnePole.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__ONEPOLE_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __ONEPOLE_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classOnePole.html">OnePole</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
00023
|
||||
00025 <a class="code" href="classOnePole.html#a0">OnePole</a>();
|
||||
00026
|
||||
00028 <a class="code" href="classOnePole.html#a0">OnePole</a>(MY_FLOAT thePole);
|
||||
00029
|
||||
00031 <a class="code" href="classOnePole.html#a2">~OnePole</a>();
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classOnePole.html#a4">setB0</a>(MY_FLOAT b0);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classOnePole.html#a5">setA1</a>(MY_FLOAT a1);
|
||||
00041
|
||||
00043
|
||||
00050 <font class="keywordtype">void</font> <a class="code" href="classOnePole.html#a6">setPole</a>(MY_FLOAT thePole);
|
||||
00051
|
||||
00053
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00058
|
||||
00060 MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00061
|
||||
00063 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00064
|
||||
00066 MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00067
|
||||
00069 MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00070 };
|
||||
00071
|
||||
00072 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
60
doc/html/OneZero_8h-source.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>OneZero.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__ONEZERO_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __ONEZERO_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classOneZero.html">OneZero</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
00023
|
||||
00025 <a class="code" href="classOneZero.html#a0">OneZero</a>();
|
||||
00026
|
||||
00028 <a class="code" href="classOneZero.html#a0">OneZero</a>(MY_FLOAT theZero);
|
||||
00029
|
||||
00031 <a class="code" href="classOneZero.html#a2">~OneZero</a>();
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classOneZero.html#a4">setB0</a>(MY_FLOAT b0);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classOneZero.html#a5">setB1</a>(MY_FLOAT b1);
|
||||
00041
|
||||
00043
|
||||
00050 <font class="keywordtype">void</font> <a class="code" href="classOneZero.html#a6">setZero</a>(MY_FLOAT theZero);
|
||||
00051
|
||||
00053
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00058
|
||||
00060 MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00061
|
||||
00063 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00064
|
||||
00066 MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00067
|
||||
00069 MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00070 };
|
||||
00071
|
||||
00072 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
52
doc/html/PRCRev_8h-source.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>PRCRev.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00015 <font class="comment">/***************************************************/</font>
|
||||
00016
|
||||
00017 <font class="preprocessor">#if !defined(__PRCREV_H)</font>
|
||||
00018 <font class="preprocessor"></font><font class="preprocessor">#define __PRCREV_H</font>
|
||||
00019 <font class="preprocessor"></font>
|
||||
00020 <font class="preprocessor">#include "Reverb.h"</font>
|
||||
00021 <font class="preprocessor">#include "Delay.h"</font>
|
||||
00022
|
||||
00023 <font class="keyword">class </font><a class="code" href="classPRCRev.html">PRCRev</a> : <font class="keyword">public</font> <a class="code" href="classReverb.html">Reverb</a>
|
||||
00024 {
|
||||
00025 <font class="keyword">public</font>:
|
||||
00026 <font class="comment">// Class constructor taking a T60 decay time argument.</font>
|
||||
00027 PRCRev(MY_FLOAT T60);
|
||||
00028
|
||||
00029 <font class="comment">// Class destructor.</font>
|
||||
00030 ~PRCRev();
|
||||
00031
|
||||
00033 <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a2">clear</a>();
|
||||
00034
|
||||
00036 MY_FLOAT <a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT input);
|
||||
00037
|
||||
00038 <font class="keyword">protected</font>:
|
||||
00039 <a class="code" href="classDelay.html">Delay</a> *allpassDelays[2];
|
||||
00040 <a class="code" href="classDelay.html">Delay</a> *combDelays[2];
|
||||
00041 MY_FLOAT allpassCoefficient;
|
||||
00042 MY_FLOAT combCoefficient[2];
|
||||
00043
|
||||
00044 };
|
||||
00045
|
||||
00046 <font class="preprocessor">#endif</font>
|
||||
00047 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
43
doc/html/PercFlut_8h-source.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>PercFlut.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00027 <font class="comment">/***************************************************/</font>
|
||||
00028
|
||||
00029 <font class="preprocessor">#if !defined(__PERCFLUT_H)</font>
|
||||
00030 <font class="preprocessor"></font><font class="preprocessor">#define __PERCFLUT_H</font>
|
||||
00031 <font class="preprocessor"></font>
|
||||
00032 <font class="preprocessor">#include "FM.h"</font>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classPercFlut.html">PercFlut</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00038 <a class="code" href="classPercFlut.html#a0">PercFlut</a>();
|
||||
00039
|
||||
00041 <a class="code" href="classPercFlut.html#a1">~PercFlut</a>();
|
||||
00042
|
||||
00044 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00045
|
||||
00047 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00048
|
||||
00050 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00051 };
|
||||
00052
|
||||
00053 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
60
doc/html/PitShift_8h-source.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>PitShift.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00010 <font class="comment">/***************************************************/</font>
|
||||
00011
|
||||
00012 <font class="preprocessor">#if !defined(__PITSHIFT_H)</font>
|
||||
00013 <font class="preprocessor"></font><font class="preprocessor">#define __PITSHIFT_H</font>
|
||||
00014 <font class="preprocessor"></font>
|
||||
00015 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00016 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00017
|
||||
00018 <font class="keyword">class </font><a class="code" href="classPitShift.html">PitShift</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00019 {
|
||||
00020 <font class="keyword">public</font>:
|
||||
00022 <a class="code" href="classPitShift.html#a0">PitShift</a>();
|
||||
00023
|
||||
00025 <a class="code" href="classPitShift.html#a1">~PitShift</a>();
|
||||
00026
|
||||
00028 <font class="keywordtype">void</font> <a class="code" href="classPitShift.html#a2">clear</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classPitShift.html#a3">setShift</a>(MY_FLOAT shift);
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classPitShift.html#a4">setEffectMix</a>(MY_FLOAT mix);
|
||||
00035
|
||||
00037 MY_FLOAT <a class="code" href="classPitShift.html#a5">lastOut</a>() <font class="keyword">const</font>;
|
||||
00038
|
||||
00040 MY_FLOAT <a class="code" href="classPitShift.html#a6">tick</a>(MY_FLOAT input);
|
||||
00041
|
||||
00043 MY_FLOAT *<a class="code" href="classPitShift.html#a6">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00044
|
||||
00045 <font class="keyword">protected</font>:
|
||||
00046 <a class="code" href="classDelay.html">Delay</a> *delayLine[2];
|
||||
00047 MY_FLOAT lastOutput;
|
||||
00048 MY_FLOAT delay[2];
|
||||
00049 MY_FLOAT env[2];
|
||||
00050 MY_FLOAT effectMix;
|
||||
00051 MY_FLOAT rate;
|
||||
00052
|
||||
00053 };
|
||||
00054
|
||||
00055 <font class="preprocessor">#endif</font>
|
||||
00056 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
73
doc/html/PluckTwo_8h-source.html
Normal file
@@ -0,0 +1,73 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>PluckTwo.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00019 <font class="comment">/***************************************************/</font>
|
||||
00020
|
||||
00021 <font class="preprocessor">#if !defined(__PLUCKTWO_H)</font>
|
||||
00022 <font class="preprocessor"></font><font class="preprocessor">#define __PLUCKTWO_H</font>
|
||||
00023 <font class="preprocessor"></font>
|
||||
00024 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00025 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00026 <font class="preprocessor">#include "DelayA.h"</font>
|
||||
00027 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00028
|
||||
00029 <font class="keyword">class </font><a class="code" href="classPluckTwo.html">PluckTwo</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00030 {
|
||||
00031 <font class="keyword">public</font>:
|
||||
00033 <a class="code" href="classPluckTwo.html#a0">PluckTwo</a>(MY_FLOAT lowestFrequency);
|
||||
00034
|
||||
00036 <font class="keyword">virtual</font> <a class="code" href="classPluckTwo.html#a1">~PluckTwo</a>();
|
||||
00037
|
||||
00039 <font class="keywordtype">void</font> <a class="code" href="classPluckTwo.html#a2">clear</a>();
|
||||
00040
|
||||
00042 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classPluckTwo.html#a4">setDetune</a>(MY_FLOAT detune);
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classPluckTwo.html#a5">setFreqAndDetune</a>(MY_FLOAT frequency, MY_FLOAT detune);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classPluckTwo.html#a6">setPluckPosition</a>(MY_FLOAT position);
|
||||
00052
|
||||
00054
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classPluckTwo.html#a7">setBaseLoopGain</a>(MY_FLOAT aGain);
|
||||
00060
|
||||
00062 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00063
|
||||
00065 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>() = 0;
|
||||
00066
|
||||
00067 <font class="keyword">protected</font>:
|
||||
00068 <a class="code" href="classDelayA.html">DelayA</a> *delayLine;
|
||||
00069 <a class="code" href="classDelayA.html">DelayA</a> *delayLine2;
|
||||
00070 <a class="code" href="classDelayL.html">DelayL</a> *combDelay;
|
||||
00071 <a class="code" href="classOneZero.html">OneZero</a> *filter;
|
||||
00072 <a class="code" href="classOneZero.html">OneZero</a> *filter2;
|
||||
00073 <font class="keywordtype">long</font> length;
|
||||
00074 MY_FLOAT loopGain;
|
||||
00075 MY_FLOAT baseLoopGain;
|
||||
00076 MY_FLOAT lastFrequency;
|
||||
00077 MY_FLOAT lastLength;
|
||||
00078 MY_FLOAT detuning;
|
||||
00079 MY_FLOAT pluckAmplitude;
|
||||
00080 MY_FLOAT pluckPosition;
|
||||
00081
|
||||
00082 };
|
||||
00083
|
||||
00084 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
63
doc/html/Plucked_8h-source.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Plucked.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00018 <font class="comment">/***************************************************/</font>
|
||||
00019
|
||||
00020 <font class="preprocessor">#if !defined(__PLUCKED_H)</font>
|
||||
00021 <font class="preprocessor"></font><font class="preprocessor">#define __PLUCKED_H</font>
|
||||
00022 <font class="preprocessor"></font>
|
||||
00023 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00024 <font class="preprocessor">#include "DelayA.h"</font>
|
||||
00025 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00026 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00027 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00028
|
||||
00029 <font class="keyword">class </font><a class="code" href="classPlucked.html">Plucked</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00030 {
|
||||
00031 <font class="keyword">public</font>:
|
||||
00033 <a class="code" href="classPlucked.html#a0">Plucked</a>(MY_FLOAT lowestFrequency);
|
||||
00034
|
||||
00036 <a class="code" href="classPlucked.html#a1">~Plucked</a>();
|
||||
00037
|
||||
00039 <font class="keywordtype">void</font> <a class="code" href="classPlucked.html#a2">clear</a>();
|
||||
00040
|
||||
00042 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classPlucked.html#a4">pluck</a>(MY_FLOAT amplitude);
|
||||
00046
|
||||
00048 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00049
|
||||
00051 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00052
|
||||
00054 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00055
|
||||
00056 <font class="keyword">protected</font>:
|
||||
00057 <a class="code" href="classDelayA.html">DelayA</a> *delayLine;
|
||||
00058 <a class="code" href="classOneZero.html">OneZero</a> *loopFilter;
|
||||
00059 <a class="code" href="classOnePole.html">OnePole</a> *pickFilter;
|
||||
00060 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00061 <font class="keywordtype">long</font> length;
|
||||
00062 MY_FLOAT loopGain;
|
||||
00063
|
||||
00064 };
|
||||
00065
|
||||
00066 <font class="preprocessor">#endif</font>
|
||||
00067 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
63
doc/html/PoleZero_8h-source.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>PoleZero.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__POLEZERO_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __POLEZERO_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classPoleZero.html">PoleZero</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
00023
|
||||
00025 <a class="code" href="classPoleZero.html#a0">PoleZero</a>();
|
||||
00026
|
||||
00028 <a class="code" href="classPoleZero.html#a1">~PoleZero</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classPoleZero.html#a3">setB0</a>(MY_FLOAT b0);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classPoleZero.html#a4">setB1</a>(MY_FLOAT b1);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classPoleZero.html#a5">setA1</a>(MY_FLOAT a1);
|
||||
00041
|
||||
00043
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classPoleZero.html#a6">setAllpass</a>(MY_FLOAT coefficient);
|
||||
00049
|
||||
00051
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classPoleZero.html#a7">setBlockZero</a>(MY_FLOAT thePole = 0.99);
|
||||
00058
|
||||
00060
|
||||
00064 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00065
|
||||
00067 MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00068
|
||||
00070 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00071
|
||||
00073 MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00074
|
||||
00076 MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00077 };
|
||||
00078
|
||||
00079 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
56
doc/html/ReedTabl_8h-source.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>ReedTabl.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00018 <font class="comment">/***************************************************/</font>
|
||||
00019
|
||||
00020 <font class="preprocessor">#if !defined(__REEDTABL_H)</font>
|
||||
00021 <font class="preprocessor"></font><font class="preprocessor">#define __REEDTABL_H</font>
|
||||
00022 <font class="preprocessor"></font>
|
||||
00023 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00024
|
||||
00025 <font class="keyword">class </font><a class="code" href="classReedTabl.html">ReedTabl</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00026 {
|
||||
00027 <font class="keyword">public</font>:
|
||||
00029 <a class="code" href="classReedTabl.html#a0">ReedTabl</a>();
|
||||
00030
|
||||
00032 <a class="code" href="classReedTabl.html#a1">~ReedTabl</a>();
|
||||
00033
|
||||
00035
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classReedTabl.html#a2">setOffset</a>(MY_FLOAT aValue);
|
||||
00041
|
||||
00043
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classReedTabl.html#a3">setSlope</a>(MY_FLOAT aValue);
|
||||
00049
|
||||
00051 MY_FLOAT <a class="code" href="classReedTabl.html#a4">lastOut</a>() <font class="keyword">const</font>;
|
||||
00052
|
||||
00054
|
||||
00058 MY_FLOAT <a class="code" href="classReedTabl.html#a5">tick</a>(MY_FLOAT input);
|
||||
00059
|
||||
00061 MY_FLOAT *<a class="code" href="classReedTabl.html#a5">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00062
|
||||
00063 <font class="keyword">protected</font>:
|
||||
00064 MY_FLOAT offSet;
|
||||
00065 MY_FLOAT slope;
|
||||
00066 MY_FLOAT lastOutput;
|
||||
00067
|
||||
00068 };
|
||||
00069
|
||||
00070 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
70
doc/html/Resonate_8h-source.html
Normal file
@@ -0,0 +1,70 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Resonate.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00018 <font class="comment">/***************************************************/</font>
|
||||
00019
|
||||
00020 <font class="preprocessor">#if !defined(__RESONATE_H)</font>
|
||||
00021 <font class="preprocessor"></font><font class="preprocessor">#define __RESONATE_H</font>
|
||||
00022 <font class="preprocessor"></font>
|
||||
00023 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00024 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00025 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00026 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00027
|
||||
00028 <font class="keyword">class </font><a class="code" href="classResonate.html">Resonate</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00029 {
|
||||
00030 <font class="keyword">public</font>:
|
||||
00032 <a class="code" href="classResonate.html#a0">Resonate</a>();
|
||||
00033
|
||||
00035 <a class="code" href="classResonate.html#a1">~Resonate</a>();
|
||||
00036
|
||||
00038 <font class="keywordtype">void</font> <a class="code" href="classResonate.html#a2">clear</a>();
|
||||
00039
|
||||
00041 <font class="keywordtype">void</font> <a class="code" href="classResonate.html#a3">setResonance</a>(MY_FLOAT frequency, MY_FLOAT radius);
|
||||
00042
|
||||
00044 <font class="keywordtype">void</font> <a class="code" href="classResonate.html#a4">setNotch</a>(MY_FLOAT frequency, MY_FLOAT radius);
|
||||
00045
|
||||
00047 <font class="keywordtype">void</font> <a class="code" href="classResonate.html#a5">setEqualGainZeroes</a>();
|
||||
00048
|
||||
00050 <font class="keywordtype">void</font> <a class="code" href="classResonate.html#a6">keyOn</a>();
|
||||
00051
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classResonate.html#a7">keyOff</a>();
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00057
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00060
|
||||
00062 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00063
|
||||
00065 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00066
|
||||
00067 <font class="keyword">protected</font>:
|
||||
00068 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00069 <a class="code" href="classBiQuad.html">BiQuad</a> *filter;
|
||||
00070 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00071 MY_FLOAT poleFrequency;
|
||||
00072 MY_FLOAT poleRadius;
|
||||
00073 MY_FLOAT zeroFrequency;
|
||||
00074 MY_FLOAT zeroRadius;
|
||||
00075
|
||||
00076 };
|
||||
00077
|
||||
00078 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
61
doc/html/Reverb_8h-source.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Reverb.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00010 <font class="comment">/***************************************************/</font>
|
||||
00011
|
||||
00012 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00013
|
||||
00014 <font class="preprocessor">#if !defined(__REVERB_H)</font>
|
||||
00015 <font class="preprocessor"></font><font class="preprocessor">#define __REVERB_H</font>
|
||||
00016 <font class="preprocessor"></font>
|
||||
00017 <font class="keyword">class </font><a class="code" href="classReverb.html">Reverb</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00018 {
|
||||
00019 <font class="keyword">public</font>:
|
||||
00021 <a class="code" href="classReverb.html#a0">Reverb</a>();
|
||||
00022
|
||||
00024 <font class="keyword">virtual</font> <a class="code" href="classReverb.html#a1">~Reverb</a>();
|
||||
00025
|
||||
00027 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a2">clear</a>() = 0;
|
||||
00028
|
||||
00030 <font class="keywordtype">void</font> <a class="code" href="classReverb.html#a3">setEffectMix</a>(MY_FLOAT mix);
|
||||
00031
|
||||
00033 MY_FLOAT <a class="code" href="classReverb.html#a4">lastOut</a>() <font class="keyword">const</font>;
|
||||
00034
|
||||
00036 MY_FLOAT <a class="code" href="classReverb.html#a5">lastOutLeft</a>() <font class="keyword">const</font>;
|
||||
00037
|
||||
00039 MY_FLOAT <a class="code" href="classReverb.html#a6">lastOutRight</a>() <font class="keyword">const</font>;
|
||||
00040
|
||||
00042 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT input) = 0;
|
||||
00043
|
||||
00045 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classReverb.html#a7">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00046
|
||||
00047 <font class="keyword">protected</font>:
|
||||
00048
|
||||
00049 <font class="comment">// Returns true if argument value is prime.</font>
|
||||
00050 <font class="keywordtype">bool</font> isPrime(<font class="keywordtype">int</font> number);
|
||||
00051
|
||||
00052 MY_FLOAT lastOutput[2];
|
||||
00053 MY_FLOAT effectMix;
|
||||
00054
|
||||
00055 };
|
||||
00056
|
||||
00057 <font class="preprocessor">#endif // defined(__REVERB_H)</font>
|
||||
00058 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
43
doc/html/Rhodey_8h-source.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Rhodey.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00031 <font class="comment">/***************************************************/</font>
|
||||
00032
|
||||
00033 <font class="preprocessor">#if !defined(__RHODEY_H)</font>
|
||||
00034 <font class="preprocessor"></font><font class="preprocessor">#define __RHODEY_H</font>
|
||||
00035 <font class="preprocessor"></font>
|
||||
00036 <font class="preprocessor">#include "FM.h"</font>
|
||||
00037
|
||||
00038 <font class="keyword">class </font><a class="code" href="classRhodey.html">Rhodey</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00039 {
|
||||
00040 <font class="keyword">public</font>:
|
||||
00042 <a class="code" href="classRhodey.html#a0">Rhodey</a>();
|
||||
00043
|
||||
00045 <a class="code" href="classRhodey.html#a1">~Rhodey</a>();
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00052
|
||||
00054 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00055 };
|
||||
00056
|
||||
00057 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
301
doc/html/RtAudio_8h-source.html
Normal file
@@ -0,0 +1,301 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>RtAudio.h</h1><div class="fragment"><pre>00001 <font class="comment">/******************************************/</font>
|
||||
00002 <font class="comment">/*</font>
|
||||
00003 <font class="comment"> RtAudio - realtime sound I/O C++ class</font>
|
||||
00004 <font class="comment"> by Gary P. Scavone, 2001-2002.</font>
|
||||
00005 <font class="comment">*/</font>
|
||||
00006 <font class="comment">/******************************************/</font>
|
||||
00007
|
||||
00008 <font class="preprocessor">#if !defined(__RTAUDIO_H)</font>
|
||||
00009 <font class="preprocessor"></font><font class="preprocessor">#define __RTAUDIO_H</font>
|
||||
00010 <font class="preprocessor"></font>
|
||||
00011 <font class="preprocessor">#include <map></font>
|
||||
00012
|
||||
00013 <font class="preprocessor">#if defined(__LINUX_ALSA__)</font>
|
||||
00014 <font class="preprocessor"></font><font class="preprocessor"> #include <alsa/asoundlib.h></font>
|
||||
00015 <font class="preprocessor"> #include <pthread.h></font>
|
||||
00016 <font class="preprocessor"> #include <unistd.h></font>
|
||||
00017
|
||||
00018 <font class="preprocessor"> #define THREAD_TYPE</font>
|
||||
00019 <font class="preprocessor"></font> <font class="keyword">typedef</font> snd_pcm_t *AUDIO_HANDLE;
|
||||
00020 <font class="keyword">typedef</font> <font class="keywordtype">int</font> DEVICE_ID;
|
||||
00021 <font class="keyword">typedef</font> pthread_t THREAD_HANDLE;
|
||||
00022 <font class="keyword">typedef</font> pthread_mutex_t MUTEX;
|
||||
00023
|
||||
00024 <font class="preprocessor">#elif defined(__LINUX_OSS__)</font>
|
||||
00025 <font class="preprocessor"></font><font class="preprocessor"> #include <pthread.h></font>
|
||||
00026 <font class="preprocessor"> #include <unistd.h></font>
|
||||
00027
|
||||
00028 <font class="preprocessor"> #define THREAD_TYPE</font>
|
||||
00029 <font class="preprocessor"></font> <font class="keyword">typedef</font> <font class="keywordtype">int</font> AUDIO_HANDLE;
|
||||
00030 <font class="keyword">typedef</font> <font class="keywordtype">int</font> DEVICE_ID;
|
||||
00031 <font class="keyword">typedef</font> pthread_t THREAD_HANDLE;
|
||||
00032 <font class="keyword">typedef</font> pthread_mutex_t MUTEX;
|
||||
00033
|
||||
00034 <font class="preprocessor">#elif defined(__WINDOWS_DS__)</font>
|
||||
00035 <font class="preprocessor"></font><font class="preprocessor"> #include <windows.h></font>
|
||||
00036 <font class="preprocessor"> #include <process.h></font>
|
||||
00037
|
||||
00038 <font class="comment">// The following struct is used to hold the extra variables</font>
|
||||
00039 <font class="comment">// specific to the DirectSound implementation.</font>
|
||||
00040 <font class="keyword">typedef</font> <font class="keyword">struct </font>{
|
||||
00041 <font class="keywordtype">void</font> * object;
|
||||
00042 <font class="keywordtype">void</font> * buffer;
|
||||
00043 UINT bufferPointer;
|
||||
00044 } AUDIO_HANDLE;
|
||||
00045
|
||||
00046 <font class="preprocessor"> #define THREAD_TYPE __stdcall</font>
|
||||
00047 <font class="preprocessor"></font> <font class="keyword">typedef</font> LPGUID DEVICE_ID;
|
||||
00048 <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> THREAD_HANDLE;
|
||||
00049 <font class="keyword">typedef</font> CRITICAL_SECTION MUTEX;
|
||||
00050
|
||||
00051 <font class="preprocessor">#elif defined(__IRIX_AL__)</font>
|
||||
00052 <font class="preprocessor"></font><font class="preprocessor"> #include <dmedia/audio.h></font>
|
||||
00053 <font class="preprocessor"> #include <pthread.h></font>
|
||||
00054 <font class="preprocessor"> #include <unistd.h></font>
|
||||
00055
|
||||
00056 <font class="preprocessor"> #define THREAD_TYPE</font>
|
||||
00057 <font class="preprocessor"></font> <font class="keyword">typedef</font> ALport AUDIO_HANDLE;
|
||||
00058 <font class="keyword">typedef</font> <font class="keywordtype">int</font> DEVICE_ID;
|
||||
00059 <font class="keyword">typedef</font> pthread_t THREAD_HANDLE;
|
||||
00060 <font class="keyword">typedef</font> pthread_mutex_t MUTEX;
|
||||
00061
|
||||
00062 <font class="preprocessor">#endif</font>
|
||||
00063 <font class="preprocessor"></font>
|
||||
00064
|
||||
00065 <font class="comment">// *************************************************** //</font>
|
||||
00066 <font class="comment">//</font>
|
||||
00067 <font class="comment">// RtError class declaration.</font>
|
||||
00068 <font class="comment">//</font>
|
||||
00069 <font class="comment">// *************************************************** //</font>
|
||||
00070
|
||||
00071 <font class="keyword">class </font>RtError
|
||||
00072 {
|
||||
00073 <font class="keyword">public</font>:
|
||||
00074 <font class="keyword">enum</font> TYPE {
|
||||
00075 WARNING,
|
||||
00076 DEBUG_WARNING,
|
||||
00077 UNSPECIFIED,
|
||||
00078 NO_DEVICES_FOUND,
|
||||
00079 INVALID_DEVICE,
|
||||
00080 INVALID_STREAM,
|
||||
00081 MEMORY_ERROR,
|
||||
00082 INVALID_PARAMETER,
|
||||
00083 DRIVER_ERROR,
|
||||
00084 SYSTEM_ERROR,
|
||||
00085 THREAD_ERROR
|
||||
00086 };
|
||||
00087
|
||||
00088 <font class="keyword">protected</font>:
|
||||
00089 <font class="keywordtype">char</font> error_message[256];
|
||||
00090 TYPE type;
|
||||
00091
|
||||
00092 <font class="keyword">public</font>:
|
||||
00094 RtError(<font class="keyword">const</font> <font class="keywordtype">char</font> *p, TYPE tipe = RtError::UNSPECIFIED);
|
||||
00095
|
||||
00097 <font class="keyword">virtual</font> ~RtError(<font class="keywordtype">void</font>);
|
||||
00098
|
||||
00100 <font class="keyword">virtual</font> <font class="keywordtype">void</font> printMessage(<font class="keywordtype">void</font>);
|
||||
00101
|
||||
00103 <font class="keyword">virtual</font> <font class="keyword">const</font> TYPE& getType(<font class="keywordtype">void</font>)<font class="keyword"> </font>{ <font class="keywordflow">return</font> type; }
|
||||
00104
|
||||
00106 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *getMessage(<font class="keywordtype">void</font>)<font class="keyword"> </font>{ <font class="keywordflow">return</font> error_message; }
|
||||
00107 };
|
||||
00108
|
||||
00109
|
||||
00110 <font class="comment">// *************************************************** //</font>
|
||||
00111 <font class="comment">//</font>
|
||||
00112 <font class="comment">// RtAudio class declaration.</font>
|
||||
00113 <font class="comment">//</font>
|
||||
00114 <font class="comment">// *************************************************** //</font>
|
||||
00115
|
||||
00116 <font class="keyword">class </font>RtAudio
|
||||
00117 {
|
||||
00118 <font class="keyword">public</font>:
|
||||
00119
|
||||
00120 <font class="comment">// Support for signed integers and floats. Audio data fed to/from</font>
|
||||
00121 <font class="comment">// the tickStream() routine is assumed to ALWAYS be in host</font>
|
||||
00122 <font class="comment">// byte order. The internal routines will automatically take care of</font>
|
||||
00123 <font class="comment">// any necessary byte-swapping between the host format and the</font>
|
||||
00124 <font class="comment">// soundcard. Thus, endian-ness is not a concern in the following</font>
|
||||
00125 <font class="comment">// format definitions.</font>
|
||||
00126 <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> RTAUDIO_FORMAT;
|
||||
00127 <font class="keyword">static</font> <font class="keyword">const</font> RTAUDIO_FORMAT RTAUDIO_SINT8;
|
||||
00128 <font class="keyword">static</font> <font class="keyword">const</font> RTAUDIO_FORMAT RTAUDIO_SINT16;
|
||||
00129 <font class="keyword">static</font> <font class="keyword">const</font> RTAUDIO_FORMAT RTAUDIO_SINT24;
|
||||
00130 <font class="keyword">static</font> <font class="keyword">const</font> RTAUDIO_FORMAT RTAUDIO_SINT32;
|
||||
00131 <font class="keyword">static</font> <font class="keyword">const</font> RTAUDIO_FORMAT RTAUDIO_FLOAT32;
|
||||
00132 <font class="keyword">static</font> <font class="keyword">const</font> RTAUDIO_FORMAT RTAUDIO_FLOAT64;
|
||||
00133
|
||||
00134 <font class="comment">//static const int MAX_SAMPLE_RATES = 14;</font>
|
||||
00135 <font class="keyword">enum</font> { MAX_SAMPLE_RATES = 14 };
|
||||
00136
|
||||
00137 <font class="keyword">typedef</font> int (*RTAUDIO_CALLBACK)(<font class="keywordtype">char</font> *buffer, <font class="keywordtype">int</font> bufferSize, <font class="keywordtype">void</font> *userData);
|
||||
00138
|
||||
00139 <font class="keyword">typedef</font> <font class="keyword">struct </font>{
|
||||
00140 <font class="keywordtype">char</font> name[128];
|
||||
00141 DEVICE_ID id[2];
|
||||
00142 <font class="keywordtype">bool</font> probed;
|
||||
00143 <font class="keywordtype">int</font> maxOutputChannels;
|
||||
00144 <font class="keywordtype">int</font> maxInputChannels;
|
||||
00145 <font class="keywordtype">int</font> maxDuplexChannels;
|
||||
00146 <font class="keywordtype">int</font> minOutputChannels;
|
||||
00147 <font class="keywordtype">int</font> minInputChannels;
|
||||
00148 <font class="keywordtype">int</font> minDuplexChannels;
|
||||
00149 <font class="keywordtype">bool</font> hasDuplexSupport;
|
||||
00150 <font class="keywordtype">int</font> nSampleRates;
|
||||
00151 <font class="keywordtype">int</font> sampleRates[MAX_SAMPLE_RATES];
|
||||
00152 RTAUDIO_FORMAT nativeFormats;
|
||||
00153 } RTAUDIO_DEVICE;
|
||||
00154
|
||||
00156
|
||||
00163 RtAudio();
|
||||
00164
|
||||
00166
|
||||
00177 RtAudio(<font class="keywordtype">int</font> *streamId,
|
||||
00178 <font class="keywordtype">int</font> outputDevice, <font class="keywordtype">int</font> outputChannels,
|
||||
00179 <font class="keywordtype">int</font> inputDevice, <font class="keywordtype">int</font> inputChannels,
|
||||
00180 RTAUDIO_FORMAT format, <font class="keywordtype">int</font> sampleRate,
|
||||
00181 <font class="keywordtype">int</font> *bufferSize, <font class="keywordtype">int</font> numberOfBuffers);
|
||||
00182
|
||||
00184
|
||||
00188 ~RtAudio();
|
||||
00189
|
||||
00191
|
||||
00218 <font class="keywordtype">int</font> openStream(<font class="keywordtype">int</font> outputDevice, <font class="keywordtype">int</font> outputChannels,
|
||||
00219 <font class="keywordtype">int</font> inputDevice, <font class="keywordtype">int</font> inputChannels,
|
||||
00220 RTAUDIO_FORMAT format, <font class="keywordtype">int</font> sampleRate,
|
||||
00221 <font class="keywordtype">int</font> *bufferSize, <font class="keywordtype">int</font> numberOfBuffers);
|
||||
00222
|
||||
00224
|
||||
00243 <font class="keywordtype">void</font> setStreamCallback(<font class="keywordtype">int</font> streamId, RTAUDIO_CALLBACK callback, <font class="keywordtype">void</font> *userData);
|
||||
00244
|
||||
00246
|
||||
00253 <font class="keywordtype">void</font> cancelStreamCallback(<font class="keywordtype">int</font> streamId);
|
||||
00254
|
||||
00256 <font class="keywordtype">int</font> getDeviceCount(<font class="keywordtype">void</font>);
|
||||
00257
|
||||
00259
|
||||
00269 <font class="keywordtype">void</font> getDeviceInfo(<font class="keywordtype">int</font> device, RTAUDIO_DEVICE *info);
|
||||
00270
|
||||
00272
|
||||
00277 <font class="keywordtype">char</font> * <font class="keyword">const</font> getStreamBuffer(<font class="keywordtype">int</font> streamId);
|
||||
00278
|
||||
00280
|
||||
00285 <font class="keywordtype">void</font> tickStream(<font class="keywordtype">int</font> streamId);
|
||||
00286
|
||||
00288
|
||||
00292 <font class="keywordtype">void</font> closeStream(<font class="keywordtype">int</font> streamId);
|
||||
00293
|
||||
00295
|
||||
00299 <font class="keywordtype">void</font> startStream(<font class="keywordtype">int</font> streamId);
|
||||
00300
|
||||
00302
|
||||
00306 <font class="keywordtype">void</font> stopStream(<font class="keywordtype">int</font> streamId);
|
||||
00307
|
||||
00309
|
||||
00313 <font class="keywordtype">void</font> abortStream(<font class="keywordtype">int</font> streamId);
|
||||
00314
|
||||
00316
|
||||
00321 <font class="keywordtype">int</font> streamWillBlock(<font class="keywordtype">int</font> streamId);
|
||||
00322
|
||||
00323 <font class="keyword">protected</font>:
|
||||
00324
|
||||
00325 <font class="keyword">private</font>:
|
||||
00326
|
||||
00327 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> SAMPLE_RATES[MAX_SAMPLE_RATES];
|
||||
00328
|
||||
00329 <font class="keyword">enum</font> { FAILURE, SUCCESS };
|
||||
00330
|
||||
00331 <font class="keyword">enum</font> STREAM_MODE {
|
||||
00332 PLAYBACK,
|
||||
00333 RECORD,
|
||||
00334 DUPLEX,
|
||||
00335 UNINITIALIZED = -75
|
||||
00336 };
|
||||
00337
|
||||
00338 <font class="keyword">enum</font> STREAM_STATE {
|
||||
00339 STREAM_STOPPED,
|
||||
00340 STREAM_RUNNING
|
||||
00341 };
|
||||
00342
|
||||
00343 <font class="keyword">typedef</font> <font class="keyword">struct </font>{
|
||||
00344 <font class="keywordtype">int</font> device[2]; <font class="comment">// Playback and record, respectively.</font>
|
||||
00345 STREAM_MODE mode; <font class="comment">// PLAYBACK, RECORD, or DUPLEX.</font>
|
||||
00346 AUDIO_HANDLE handle[2]; <font class="comment">// Playback and record handles, respectively.</font>
|
||||
00347 STREAM_STATE state; <font class="comment">// STOPPED or RUNNING</font>
|
||||
00348 <font class="keywordtype">char</font> *userBuffer;
|
||||
00349 <font class="keywordtype">char</font> *deviceBuffer;
|
||||
00350 <font class="keywordtype">bool</font> doConvertBuffer[2]; <font class="comment">// Playback and record, respectively.</font>
|
||||
00351 <font class="keywordtype">bool</font> deInterleave[2]; <font class="comment">// Playback and record, respectively.</font>
|
||||
00352 <font class="keywordtype">bool</font> doByteSwap[2]; <font class="comment">// Playback and record, respectively.</font>
|
||||
00353 <font class="keywordtype">int</font> sampleRate;
|
||||
00354 <font class="keywordtype">int</font> bufferSize;
|
||||
00355 <font class="keywordtype">int</font> nBuffers;
|
||||
00356 <font class="keywordtype">int</font> nUserChannels[2]; <font class="comment">// Playback and record, respectively.</font>
|
||||
00357 <font class="keywordtype">int</font> nDeviceChannels[2]; <font class="comment">// Playback and record channels, respectively.</font>
|
||||
00358 RTAUDIO_FORMAT userFormat;
|
||||
00359 RTAUDIO_FORMAT deviceFormat[2]; <font class="comment">// Playback and record, respectively.</font>
|
||||
00360 <font class="keywordtype">bool</font> usingCallback;
|
||||
00361 THREAD_HANDLE thread;
|
||||
00362 MUTEX mutex;
|
||||
00363 RTAUDIO_CALLBACK callback;
|
||||
00364 <font class="keywordtype">void</font> *userData;
|
||||
00365 } RTAUDIO_STREAM;
|
||||
00366
|
||||
00367 <font class="keyword">typedef</font> <font class="keywordtype">signed</font> <font class="keywordtype">short</font> INT16;
|
||||
00368 <font class="keyword">typedef</font> <font class="keywordtype">signed</font> <font class="keywordtype">int</font> INT32;
|
||||
00369 <font class="keyword">typedef</font> <font class="keywordtype">float</font> FLOAT32;
|
||||
00370 <font class="keyword">typedef</font> <font class="keywordtype">double</font> FLOAT64;
|
||||
00371
|
||||
00372 <font class="keywordtype">char</font> message[256];
|
||||
00373 <font class="keywordtype">int</font> nDevices;
|
||||
00374 RTAUDIO_DEVICE *devices;
|
||||
00375
|
||||
00376 std::map<int, void *> streams;
|
||||
00377
|
||||
00379 <font class="keywordtype">void</font> error(RtError::TYPE type);
|
||||
00380
|
||||
00385 <font class="keywordtype">void</font> initialize(<font class="keywordtype">void</font>);
|
||||
00386
|
||||
00388 <font class="keywordtype">void</font> clearDeviceInfo(RTAUDIO_DEVICE *info);
|
||||
00389
|
||||
00397 <font class="keywordtype">void</font> probeDeviceInfo(RTAUDIO_DEVICE *info);
|
||||
00398
|
||||
00405 <font class="keywordtype">bool</font> probeDeviceOpen(<font class="keywordtype">int</font> device, RTAUDIO_STREAM *stream,
|
||||
00406 STREAM_MODE mode, <font class="keywordtype">int</font> channels,
|
||||
00407 <font class="keywordtype">int</font> sampleRate, RTAUDIO_FORMAT format,
|
||||
00408 <font class="keywordtype">int</font> *bufferSize, <font class="keywordtype">int</font> numberOfBuffers);
|
||||
00409
|
||||
00416 <font class="keywordtype">void</font> *verifyStream(<font class="keywordtype">int</font> streamId);
|
||||
00417
|
||||
00422 <font class="keywordtype">void</font> convertStreamBuffer(RTAUDIO_STREAM *stream, STREAM_MODE mode);
|
||||
00423
|
||||
00425 <font class="keywordtype">void</font> byteSwapBuffer(<font class="keywordtype">char</font> *buffer, <font class="keywordtype">int</font> samples, RTAUDIO_FORMAT format);
|
||||
00426
|
||||
00428 <font class="keywordtype">int</font> formatBytes(RTAUDIO_FORMAT format);
|
||||
00429 };
|
||||
00430
|
||||
00431 <font class="comment">// Uncomment the following definition to have extra information spewed to stderr.</font>
|
||||
00432 <font class="comment">//#define RTAUDIO_DEBUG</font>
|
||||
00433
|
||||
00434 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
70
doc/html/RtDuplex_8h-source.html
Normal file
@@ -0,0 +1,70 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>RtDuplex.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00022 <font class="comment">/***************************************************/</font>
|
||||
00023
|
||||
00024 <font class="preprocessor">#if !defined(__RTDUPLEX_H)</font>
|
||||
00025 <font class="preprocessor"></font><font class="preprocessor">#define __RTDUPLEX_H</font>
|
||||
00026 <font class="preprocessor"></font>
|
||||
00027 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00028 <font class="preprocessor">#include "RtAudio.h"</font>
|
||||
00029
|
||||
00030 <font class="keyword">class </font><a class="code" href="classRtDuplex.html">RtDuplex</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00031 {
|
||||
00032 <font class="keyword">public</font>:
|
||||
00034
|
||||
00045 <a class="code" href="classRtDuplex.html#a0">RtDuplex</a>(<font class="keywordtype">int</font> nChannels = 1, MY_FLOAT sampleRate = Stk::sampleRate(), <font class="keywordtype">int</font> device = 0, <font class="keywordtype">int</font> bufferFrames = RT_BUFFER_SIZE, <font class="keywordtype">int</font> nBuffers = 2);
|
||||
00046
|
||||
00048 <a class="code" href="classRtDuplex.html#a1">~RtDuplex</a>();
|
||||
00049
|
||||
00051
|
||||
00054 <font class="keywordtype">void</font> <a class="code" href="classRtDuplex.html#a2">start</a>(<font class="keywordtype">void</font>);
|
||||
00055
|
||||
00057
|
||||
00060 <font class="keywordtype">void</font> <a class="code" href="classRtDuplex.html#a3">stop</a>(<font class="keywordtype">void</font>);
|
||||
00061
|
||||
00063 MY_FLOAT <a class="code" href="classRtDuplex.html#a4">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00064
|
||||
00066
|
||||
00069 MY_FLOAT <a class="code" href="classRtDuplex.html#a5">tick</a>(<font class="keyword">const</font> MY_FLOAT sample);
|
||||
00070
|
||||
00072
|
||||
00075 MY_FLOAT *<a class="code" href="classRtDuplex.html#a5">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00076
|
||||
00078 <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classRtDuplex.html#a7">lastFrame</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00079
|
||||
00081
|
||||
00084 MY_FLOAT *<a class="code" href="classRtDuplex.html#a8">tickFrame</a>(MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames = 1);
|
||||
00085
|
||||
00086 <font class="keyword">protected</font>:
|
||||
00087
|
||||
00088 RtAudio *audio;
|
||||
00089 MY_FLOAT *data;
|
||||
00090 MY_FLOAT *lastOutput;
|
||||
00091 <font class="keywordtype">int</font> bufferSize;
|
||||
00092 <font class="keywordtype">bool</font> stopped;
|
||||
00093 <font class="keywordtype">int</font> stream;
|
||||
00094 <font class="keywordtype">long</font> counter;
|
||||
00095 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> channels;
|
||||
00096
|
||||
00097 };
|
||||
00098
|
||||
00099 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
61
doc/html/RtMidi_8h-source.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>RtMidi.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00030 <font class="comment">/***************************************************/</font>
|
||||
00031
|
||||
00032 <font class="preprocessor">#if !defined(__RTMIDI_H)</font>
|
||||
00033 <font class="preprocessor"></font><font class="preprocessor">#define __RTMIDI_H</font>
|
||||
00034 <font class="preprocessor"></font>
|
||||
00035 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00036
|
||||
00037 <font class="keyword">class </font><a class="code" href="classRtMidi.html">RtMidi</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00038 {
|
||||
00039 <font class="keyword">public</font>:
|
||||
00041 <a class="code" href="classRtMidi.html#a0">RtMidi</a>(<font class="keywordtype">int</font> device = 0);
|
||||
00042
|
||||
00044 <a class="code" href="classRtMidi.html#a1">~RtMidi</a>();
|
||||
00045
|
||||
00047 <font class="keywordtype">void</font> <a class="code" href="classRtMidi.html#a2">printMessage</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00048
|
||||
00050
|
||||
00053 <font class="keywordtype">int</font> <a class="code" href="classRtMidi.html#a3">nextMessage</a>(<font class="keywordtype">void</font>);
|
||||
00054
|
||||
00056 <font class="keywordtype">int</font> <a class="code" href="classRtMidi.html#a4">getType</a>() <font class="keyword">const</font>;
|
||||
00057
|
||||
00059 <font class="keywordtype">int</font> <a class="code" href="classRtMidi.html#a5">getChannel</a>() <font class="keyword">const</font>;
|
||||
00060
|
||||
00062 MY_FLOAT <a class="code" href="classRtMidi.html#a6">getByteTwo</a>() <font class="keyword">const</font>;
|
||||
00063
|
||||
00065 MY_FLOAT <a class="code" href="classRtMidi.html#a7">getByteThree</a>() <font class="keyword">const</font>;
|
||||
00066
|
||||
00068 MY_FLOAT <a class="code" href="classRtMidi.html#a8">getDeltaTime</a>() <font class="keyword">const</font>;
|
||||
00069
|
||||
00070 <font class="keyword">protected</font>:
|
||||
00071 <font class="keywordtype">int</font> messageType;
|
||||
00072 <font class="keywordtype">int</font> channel;
|
||||
00073 <font class="keywordtype">float</font> byteTwo;
|
||||
00074 <font class="keywordtype">float</font> byteThree;
|
||||
00075 MY_FLOAT deltaTime;
|
||||
00076 <font class="keywordtype">int</font> readIndex;
|
||||
00077
|
||||
00078 };
|
||||
00079
|
||||
00080 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
70
doc/html/RtWvIn_8h-source.html
Normal file
@@ -0,0 +1,70 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>RtWvIn.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00020 <font class="comment">/***************************************************/</font>
|
||||
00021
|
||||
00022 <font class="preprocessor">#if !defined(__RTWVIN_H)</font>
|
||||
00023 <font class="preprocessor"></font><font class="preprocessor">#define __RTWVIN_H</font>
|
||||
00024 <font class="preprocessor"></font>
|
||||
00025 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00026 <font class="preprocessor">#include "WvIn.h"</font>
|
||||
00027 <font class="preprocessor">#include "RtAudio.h"</font>
|
||||
00028
|
||||
00029 <font class="keyword">class </font><a class="code" href="classRtWvIn.html">RtWvIn</a> : <font class="keyword">protected</font> <a class="code" href="classWvIn.html">WvIn</a>
|
||||
00030 {
|
||||
00031 <font class="keyword">public</font>:
|
||||
00033
|
||||
00044 <a class="code" href="classRtWvIn.html#a0">RtWvIn</a>(<font class="keywordtype">int</font> nChannels = 1, MY_FLOAT sampleRate = Stk::sampleRate(), <font class="keywordtype">int</font> device = 0, <font class="keywordtype">int</font> bufferFrames = RT_BUFFER_SIZE, <font class="keywordtype">int</font> nBuffers = 2);
|
||||
00045
|
||||
00047 <a class="code" href="classRtWvIn.html#a1">~RtWvIn</a>();
|
||||
00048
|
||||
00050
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classRtWvIn.html#a2">start</a>(<font class="keywordtype">void</font>);
|
||||
00054
|
||||
00056
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classRtWvIn.html#a3">stop</a>(<font class="keywordtype">void</font>);
|
||||
00060
|
||||
00062 MY_FLOAT <a class="code" href="classWvIn.html#a15">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00063
|
||||
00065
|
||||
00068 MY_FLOAT <a class="code" href="classWvIn.html#a16">tick</a>(<font class="keywordtype">void</font>);
|
||||
00069
|
||||
00071
|
||||
00074 MY_FLOAT *<a class="code" href="classWvIn.html#a16">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00075
|
||||
00077 <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a18">lastFrame</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00078
|
||||
00080
|
||||
00083 <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(<font class="keywordtype">void</font>);
|
||||
00084
|
||||
00086
|
||||
00089 MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames);
|
||||
00090
|
||||
00091 <font class="keyword">protected</font>:
|
||||
00092
|
||||
00093 RtAudio *audio;
|
||||
00094 <font class="keywordtype">bool</font> stopped;
|
||||
00095 <font class="keywordtype">int</font> stream;
|
||||
00096 <font class="keywordtype">long</font> counter;
|
||||
00097
|
||||
00098 };
|
||||
00099
|
||||
00100 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
66
doc/html/RtWvOut_8h-source.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>RtWvOut.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00019 <font class="comment">/***************************************************/</font>
|
||||
00020
|
||||
00021 <font class="preprocessor">#if !defined(__RTWVOUT_H)</font>
|
||||
00022 <font class="preprocessor"></font><font class="preprocessor">#define __RTWVOUT_H</font>
|
||||
00023 <font class="preprocessor"></font>
|
||||
00024 <font class="preprocessor">#include "WvOut.h"</font>
|
||||
00025 <font class="preprocessor">#include "RtAudio.h"</font>
|
||||
00026
|
||||
00027 <font class="keyword">class </font><a class="code" href="classRtWvOut.html">RtWvOut</a> : <font class="keyword">protected</font> <a class="code" href="classWvOut.html">WvOut</a>
|
||||
00028 {
|
||||
00029 <font class="keyword">public</font>:
|
||||
00031
|
||||
00042 <a class="code" href="classRtWvOut.html#a0">RtWvOut</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, MY_FLOAT sampleRate = Stk::sampleRate(), <font class="keywordtype">int</font> device = 0, <font class="keywordtype">int</font> bufferFrames = RT_BUFFER_SIZE, <font class="keywordtype">int</font> nBuffers = 4 );
|
||||
00043
|
||||
00045 <a class="code" href="classRtWvOut.html#a1">~RtWvOut</a>();
|
||||
00046
|
||||
00048
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classRtWvOut.html#a2">start</a>(<font class="keywordtype">void</font>);
|
||||
00052
|
||||
00054
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classRtWvOut.html#a3">stop</a>(<font class="keywordtype">void</font>);
|
||||
00058
|
||||
00060 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> <a class="code" href="classWvOut.html#a5">getFrames</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00061
|
||||
00063 MY_FLOAT <a class="code" href="classWvOut.html#a6">getTime</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00064
|
||||
00066
|
||||
00069 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(<font class="keyword">const</font> MY_FLOAT sample);
|
||||
00070
|
||||
00072
|
||||
00075 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(<font class="keyword">const</font> MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00076
|
||||
00078
|
||||
00081 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a9">tickFrame</a>(<font class="keyword">const</font> MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames = 1);
|
||||
00082
|
||||
00083 <font class="keyword">protected</font>:
|
||||
00084
|
||||
00085 RtAudio *audio;
|
||||
00086 <font class="keywordtype">bool</font> stopped;
|
||||
00087 <font class="keywordtype">int</font> stream;
|
||||
00088 <font class="keywordtype">int</font> bufferSize;
|
||||
00089
|
||||
00090 };
|
||||
00091
|
||||
00092 <font class="preprocessor">#endif // defined(__RTWVOUT_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
103
doc/html/SKINI_8h-source.html
Normal file
@@ -0,0 +1,103 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>SKINI.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00026 <font class="comment">/***************************************************/</font>
|
||||
00027
|
||||
00028 <font class="preprocessor">#if !defined(__SKINI_H)</font>
|
||||
00029 <font class="preprocessor"></font><font class="preprocessor">#define __SKINI_H</font>
|
||||
00030 <font class="preprocessor"></font>
|
||||
00031 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00032 <font class="preprocessor">#include <stdio.h></font>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classSKINI.html">SKINI</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00038 <a class="code" href="classSKINI.html#a0">SKINI</a>();
|
||||
00039
|
||||
00041 <a class="code" href="classSKINI.html#a0">SKINI</a>(<font class="keywordtype">char</font> *fileName);
|
||||
00042
|
||||
00044 <a class="code" href="classSKINI.html#a2">~SKINI</a>();
|
||||
00045
|
||||
00047
|
||||
00050 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a3">parseThis</a>(<font class="keywordtype">char</font>* aString);
|
||||
00051
|
||||
00053
|
||||
00056 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a4">nextMessage</a>();
|
||||
00057
|
||||
00059 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a5">getType</a>() <font class="keyword">const</font>;
|
||||
00060
|
||||
00062 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a6">getChannel</a>() <font class="keyword">const</font>;
|
||||
00063
|
||||
00065 MY_FLOAT <a class="code" href="classSKINI.html#a7">getDelta</a>() <font class="keyword">const</font>;
|
||||
00066
|
||||
00068 MY_FLOAT <a class="code" href="classSKINI.html#a8">getByteTwo</a>() <font class="keyword">const</font>;
|
||||
00069
|
||||
00071 MY_FLOAT <a class="code" href="classSKINI.html#a9">getByteThree</a>() <font class="keyword">const</font>;
|
||||
00072
|
||||
00074 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a10">getByteTwoInt</a>() <font class="keyword">const</font>;
|
||||
00075
|
||||
00077 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a11">getByteThreeInt</a>() <font class="keyword">const</font>;
|
||||
00078
|
||||
00080 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a12">getRemainderString</a>();
|
||||
00081
|
||||
00083 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a13">getMessageTypeString</a>();
|
||||
00084
|
||||
00086 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a14">whatsThisType</a>(<font class="keywordtype">long</font> type);
|
||||
00087
|
||||
00089 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a15">whatsThisController</a>(<font class="keywordtype">long</font> number);
|
||||
00090
|
||||
00091 <font class="keyword">protected</font>:
|
||||
00092
|
||||
00093 FILE *myFile;
|
||||
00094 <font class="keywordtype">long</font> messageType;
|
||||
00095 <font class="keywordtype">char</font> msgTypeString[64];
|
||||
00096 <font class="keywordtype">long</font> channel;
|
||||
00097 MY_FLOAT deltaTime;
|
||||
00098 MY_FLOAT byteTwo;
|
||||
00099 MY_FLOAT byteThree;
|
||||
00100 <font class="keywordtype">long</font> byteTwoInt;
|
||||
00101 <font class="keywordtype">long</font> byteThreeInt;
|
||||
00102 <font class="keywordtype">char</font> remainderString[1024];
|
||||
00103 <font class="keywordtype">char</font> whatString[1024];
|
||||
00104 };
|
||||
00105
|
||||
00106 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">double</font> Midi2Pitch[129] = {
|
||||
00107 8.18,8.66,9.18,9.72,10.30,10.91,11.56,12.25,
|
||||
00108 12.98,13.75,14.57,15.43,16.35,17.32,18.35,19.45,
|
||||
00109 20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87,
|
||||
00110 32.70,34.65,36.71,38.89,41.20,43.65,46.25,49.00,
|
||||
00111 51.91,55.00,58.27,61.74,65.41,69.30,73.42,77.78,
|
||||
00112 82.41,87.31,92.50,98.00,103.83,110.00,116.54,123.47,
|
||||
00113 130.81,138.59,146.83,155.56,164.81,174.61,185.00,196.00,
|
||||
00114 207.65,220.00,233.08,246.94,261.63,277.18,293.66,311.13,
|
||||
00115 329.63,349.23,369.99,392.00,415.30,440.00,466.16,493.88,
|
||||
00116 523.25,554.37,587.33,622.25,659.26,698.46,739.99,783.99,
|
||||
00117 830.61,880.00,932.33,987.77,1046.50,1108.73,1174.66,1244.51,
|
||||
00118 1318.51,1396.91,1479.98,1567.98,1661.22,1760.00,1864.66,1975.53,
|
||||
00119 2093.00,2217.46,2349.32,2489.02,2637.02,2793.83,2959.96,3135.96,
|
||||
00120 3322.44,3520.00,3729.31,3951.07,4186.01,4434.92,4698.64,4978.03,
|
||||
00121 5274.04,5587.65,5919.91,6271.93,6644.88,7040.00,7458.62,7902.13,
|
||||
00122 8372.02,8869.84,9397.27,9956.06,10548.08,11175.30,11839.82,12543.85,
|
||||
00123 13289.75};
|
||||
00124
|
||||
00125 <font class="preprocessor">#endif</font>
|
||||
00126 <font class="preprocessor"></font>
|
||||
00127
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
68
doc/html/Sampler_8h-source.html
Normal file
@@ -0,0 +1,68 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Sampler.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00010 <font class="comment">/***************************************************/</font>
|
||||
00011
|
||||
00012 <font class="preprocessor">#if !defined(__SAMPLER_H)</font>
|
||||
00013 <font class="preprocessor"></font><font class="preprocessor">#define __SAMPLER_H</font>
|
||||
00014 <font class="preprocessor"></font>
|
||||
00015 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00016 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00017 <font class="preprocessor">#include "WvIn.h"</font>
|
||||
00018 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00019 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00020
|
||||
00021 <font class="keyword">class </font><a class="code" href="classSampler.html">Sampler</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00022 {
|
||||
00023 <font class="keyword">public</font>:
|
||||
00025 <a class="code" href="classSampler.html#a0">Sampler</a>();
|
||||
00026
|
||||
00028 <font class="keyword">virtual</font> <a class="code" href="classSampler.html#a1">~Sampler</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classSampler.html#a2">clear</a>();
|
||||
00032
|
||||
00034 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency) = 0;
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classSampler.html#a4">keyOn</a>();
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classSampler.html#a5">keyOff</a>();
|
||||
00041
|
||||
00043 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00044
|
||||
00046 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00047
|
||||
00049 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value) = 0;
|
||||
00050
|
||||
00051 <font class="keyword">protected</font>:
|
||||
00052 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00053 <a class="code" href="classWvIn.html">WvIn</a> *attacks[5];
|
||||
00054 <a class="code" href="classWaveLoop.html">WaveLoop</a> *loops[5];
|
||||
00055 <a class="code" href="classOnePole.html">OnePole</a> *filter;
|
||||
00056 MY_FLOAT baseFrequency;
|
||||
00057 MY_FLOAT attackRatios[5];
|
||||
00058 MY_FLOAT loopRatios[5];
|
||||
00059 MY_FLOAT attackGain;
|
||||
00060 MY_FLOAT loopGain;
|
||||
00061 <font class="keywordtype">int</font> whichOne;
|
||||
00062
|
||||
00063 };
|
||||
00064
|
||||
00065 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
75
doc/html/Saxofony_8h-source.html
Normal file
@@ -0,0 +1,75 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Saxofony.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00036 <font class="comment">/***************************************************/</font>
|
||||
00037
|
||||
00038 <font class="preprocessor">#if !defined(__SAXOFONY_H)</font>
|
||||
00039 <font class="preprocessor"></font><font class="preprocessor">#define __SAXOFONY_H</font>
|
||||
00040 <font class="preprocessor"></font>
|
||||
00041 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00042 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00043 <font class="preprocessor">#include "ReedTabl.h"</font>
|
||||
00044 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00045 <font class="preprocessor">#include "Envelope.h"</font>
|
||||
00046 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00047 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00048
|
||||
00049 <font class="keyword">class </font><a class="code" href="classSaxofony.html">Saxofony</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00050 {
|
||||
00051 <font class="keyword">public</font>:
|
||||
00053 <a class="code" href="classSaxofony.html#a0">Saxofony</a>(MY_FLOAT lowestFrequency);
|
||||
00054
|
||||
00056 <a class="code" href="classSaxofony.html#a1">~Saxofony</a>();
|
||||
00057
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classSaxofony.html#a2">clear</a>();
|
||||
00060
|
||||
00062 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00063
|
||||
00065 <font class="keywordtype">void</font> <a class="code" href="classSaxofony.html#a4">setBlowPosition</a>(MY_FLOAT aPosition);
|
||||
00066
|
||||
00068 <font class="keywordtype">void</font> <a class="code" href="classSaxofony.html#a5">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate);
|
||||
00069
|
||||
00071 <font class="keywordtype">void</font> <a class="code" href="classSaxofony.html#a6">stopBlowing</a>(MY_FLOAT rate);
|
||||
00072
|
||||
00074 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00075
|
||||
00077 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00078
|
||||
00080 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00081
|
||||
00083 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00084
|
||||
00085 <font class="keyword">protected</font>:
|
||||
00086 <a class="code" href="classDelayL.html">DelayL</a> *delays[2];
|
||||
00087 <a class="code" href="classReedTabl.html">ReedTabl</a> *reedTable;
|
||||
00088 <a class="code" href="classOneZero.html">OneZero</a> *filter;
|
||||
00089 <a class="code" href="classEnvelope.html">Envelope</a> *envelope;
|
||||
00090 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00091 <a class="code" href="classWaveLoop.html">WaveLoop</a> *vibrato;
|
||||
00092 <font class="keywordtype">long</font> length;
|
||||
00093 MY_FLOAT outputGain;
|
||||
00094 MY_FLOAT noiseGain;
|
||||
00095 MY_FLOAT vibratoGain;
|
||||
00096 MY_FLOAT position;
|
||||
00097
|
||||
00098 };
|
||||
00099
|
||||
00100 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
88
doc/html/Shakers_8h-source.html
Normal file
@@ -0,0 +1,88 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Shakers.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00053 <font class="comment">/***************************************************/</font>
|
||||
00054
|
||||
00055 <font class="preprocessor">#if !defined(__SHAKERS_H)</font>
|
||||
00056 <font class="preprocessor"></font><font class="preprocessor">#define __SHAKERS_H</font>
|
||||
00057 <font class="preprocessor"></font>
|
||||
00058 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00059
|
||||
00060 <font class="preprocessor">#define MAX_FREQS 8</font>
|
||||
00061 <font class="preprocessor"></font><font class="preprocessor">#define NUM_INSTR 24</font>
|
||||
00062 <font class="preprocessor"></font>
|
||||
00063 <font class="keyword">class </font><a class="code" href="classShakers.html">Shakers</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00064 {
|
||||
00065 <font class="keyword">public</font>:
|
||||
00067 <a class="code" href="classShakers.html#a0">Shakers</a>();
|
||||
00068
|
||||
00070 <a class="code" href="classShakers.html#a1">~Shakers</a>();
|
||||
00071
|
||||
00073
|
||||
00077 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT instrument, MY_FLOAT amplitude);
|
||||
00078
|
||||
00080 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00081
|
||||
00083 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00084
|
||||
00086 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00087
|
||||
00088 <font class="keyword">protected</font>:
|
||||
00089
|
||||
00090 <font class="keywordtype">int</font> setupName(<font class="keywordtype">char</font>* instr);
|
||||
00091 <font class="keywordtype">int</font> setupNum(<font class="keywordtype">int</font> inst);
|
||||
00092 <font class="keywordtype">int</font> setFreqAndReson(<font class="keywordtype">int</font> which, MY_FLOAT freq, MY_FLOAT reson);
|
||||
00093 <font class="keywordtype">void</font> setDecays(MY_FLOAT sndDecay, MY_FLOAT sysDecay);
|
||||
00094 <font class="keywordtype">void</font> setFinalZs(MY_FLOAT z0, MY_FLOAT z1, MY_FLOAT z2);
|
||||
00095 MY_FLOAT wuter_tick();
|
||||
00096 MY_FLOAT tbamb_tick();
|
||||
00097 MY_FLOAT ratchet_tick();
|
||||
00098
|
||||
00099 <font class="keywordtype">int</font> instType;
|
||||
00100 <font class="keywordtype">int</font> ratchetPos, lastRatchetPos;
|
||||
00101 MY_FLOAT shakeEnergy;
|
||||
00102 MY_FLOAT inputs[MAX_FREQS];
|
||||
00103 MY_FLOAT outputs[MAX_FREQS][2];
|
||||
00104 MY_FLOAT coeffs[MAX_FREQS][2];
|
||||
00105 MY_FLOAT sndLevel;
|
||||
00106 MY_FLOAT baseGain;
|
||||
00107 MY_FLOAT gains[MAX_FREQS];
|
||||
00108 <font class="keywordtype">int</font> nFreqs;
|
||||
00109 MY_FLOAT t_center_freqs[MAX_FREQS];
|
||||
00110 MY_FLOAT center_freqs[MAX_FREQS];
|
||||
00111 MY_FLOAT resons[MAX_FREQS];
|
||||
00112 MY_FLOAT freq_rand[MAX_FREQS];
|
||||
00113 <font class="keywordtype">int</font> freqalloc[MAX_FREQS];
|
||||
00114 MY_FLOAT soundDecay;
|
||||
00115 MY_FLOAT systemDecay;
|
||||
00116 MY_FLOAT nObjects;
|
||||
00117 MY_FLOAT collLikely;
|
||||
00118 MY_FLOAT totalEnergy;
|
||||
00119 MY_FLOAT ratchet,ratchetDelta;
|
||||
00120 MY_FLOAT finalZ[3];
|
||||
00121 MY_FLOAT finalZCoeffs[3];
|
||||
00122 MY_FLOAT defObjs[NUM_INSTR];
|
||||
00123 MY_FLOAT defDecays[NUM_INSTR];
|
||||
00124 MY_FLOAT decayScale[NUM_INSTR];
|
||||
00125
|
||||
00126 };
|
||||
00127
|
||||
00128 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
68
doc/html/Simple_8h-source.html
Normal file
@@ -0,0 +1,68 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Simple.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00018 <font class="comment">/***************************************************/</font>
|
||||
00019
|
||||
00020 <font class="preprocessor">#if !defined(__SIMPLE_H)</font>
|
||||
00021 <font class="preprocessor"></font><font class="preprocessor">#define __SIMPLE_H</font>
|
||||
00022 <font class="preprocessor"></font>
|
||||
00023 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00024 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00025 <font class="preprocessor">#include "WaveLoop.h"</font>
|
||||
00026 <font class="preprocessor">#include "OnePole.h"</font>
|
||||
00027 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00028 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00029
|
||||
00030 <font class="keyword">class </font><a class="code" href="classSimple.html">Simple</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00031 {
|
||||
00032 <font class="keyword">public</font>:
|
||||
00034 <a class="code" href="classSimple.html#a0">Simple</a>();
|
||||
00035
|
||||
00037 <font class="keyword">virtual</font> <a class="code" href="classSimple.html#a1">~Simple</a>();
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classSimple.html#a2">clear</a>();
|
||||
00041
|
||||
00043 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classSimple.html#a4">keyOn</a>();
|
||||
00047
|
||||
00049 <font class="keywordtype">void</font> <a class="code" href="classSimple.html#a5">keyOff</a>();
|
||||
00050
|
||||
00052 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00053
|
||||
00055 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00056
|
||||
00058 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00059
|
||||
00061 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00062
|
||||
00063 <font class="keyword">protected</font>:
|
||||
00064 <a class="code" href="classADSR.html">ADSR</a> *adsr;
|
||||
00065 <a class="code" href="classWaveLoop.html">WaveLoop</a> *loop;
|
||||
00066 <a class="code" href="classOnePole.html">OnePole</a> *filter;
|
||||
00067 <a class="code" href="classBiQuad.html">BiQuad</a> *biquad;
|
||||
00068 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00069 MY_FLOAT baseFrequency;
|
||||
00070 MY_FLOAT loopGain;
|
||||
00071
|
||||
00072 };
|
||||
00073
|
||||
00074 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
66
doc/html/Sitar_8h-source.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Sitar.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00018 <font class="comment">/***************************************************/</font>
|
||||
00019
|
||||
00020 <font class="preprocessor">#if !defined(__SITAR_H)</font>
|
||||
00021 <font class="preprocessor"></font><font class="preprocessor">#define __SITAR_H</font>
|
||||
00022 <font class="preprocessor"></font>
|
||||
00023 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00024 <font class="preprocessor">#include "DelayA.h"</font>
|
||||
00025 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00026 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00027 <font class="preprocessor">#include "ADSR.h"</font>
|
||||
00028
|
||||
00029 <font class="keyword">class </font><a class="code" href="classSitar.html">Sitar</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00030 {
|
||||
00031 <font class="keyword">public</font>:
|
||||
00033 <a class="code" href="classSitar.html#a0">Sitar</a>(MY_FLOAT lowestFrequency);
|
||||
00034
|
||||
00036 <a class="code" href="classSitar.html#a1">~Sitar</a>();
|
||||
00037
|
||||
00039 <font class="keywordtype">void</font> <a class="code" href="classSitar.html#a2">clear</a>();
|
||||
00040
|
||||
00042 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00043
|
||||
00045 <font class="keywordtype">void</font> <a class="code" href="classSitar.html#a4">pluck</a>(MY_FLOAT amplitude);
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00052
|
||||
00054 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00055
|
||||
00056 <font class="keyword">protected</font>:
|
||||
00057 <a class="code" href="classDelayA.html">DelayA</a> *delayLine;
|
||||
00058 <a class="code" href="classOneZero.html">OneZero</a> *loopFilter;
|
||||
00059 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00060 <a class="code" href="classADSR.html">ADSR</a> *envelope;
|
||||
00061 <font class="keywordtype">long</font> length;
|
||||
00062 MY_FLOAT loopGain;
|
||||
00063 MY_FLOAT amGain;
|
||||
00064 MY_FLOAT delay;
|
||||
00065 MY_FLOAT targetDelay;
|
||||
00066
|
||||
00067 };
|
||||
00068
|
||||
00069 <font class="preprocessor">#endif</font>
|
||||
00070 <font class="preprocessor"></font>
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
75
doc/html/Socket_8h-source.html
Normal file
@@ -0,0 +1,75 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Socket.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00019 <font class="comment">/***************************************************/</font>
|
||||
00020
|
||||
00021 <font class="preprocessor">#if !defined(__SOCKET_H)</font>
|
||||
00022 <font class="preprocessor"></font><font class="preprocessor">#define __SOCKET_H</font>
|
||||
00023 <font class="preprocessor"></font>
|
||||
00024 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00025
|
||||
00026 <font class="keyword">class </font><a class="code" href="classSocket.html">Socket</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00027 {
|
||||
00028 <font class="keyword">public</font>:
|
||||
00030
|
||||
00033 <a class="code" href="classSocket.html#a0">Socket</a>( <font class="keywordtype">int</font> port = 2006 );
|
||||
00034
|
||||
00036
|
||||
00039 <a class="code" href="classSocket.html#a0">Socket</a>( <font class="keywordtype">int</font> port, <font class="keyword">const</font> <font class="keywordtype">char</font> *hostname );
|
||||
00040
|
||||
00042 <a class="code" href="classSocket.html#a2">~Socket</a>();
|
||||
00043
|
||||
00045
|
||||
00053 <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a3">connect</a>( <font class="keywordtype">int</font> port, <font class="keyword">const</font> <font class="keywordtype">char</font> *hostname = <font class="stringliteral">"localhost"</font> );
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classSocket.html#a4">close</a>( <font class="keywordtype">void</font> );
|
||||
00057
|
||||
00059 <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a5">socket</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00060
|
||||
00062 <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a6">port</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00063
|
||||
00065
|
||||
00071 <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a7">accept</a>( <font class="keywordtype">void</font> );
|
||||
00072
|
||||
00074 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classSocket.html#d0">setBlocking</a>( <font class="keywordtype">int</font> socket, <font class="keywordtype">bool</font> enable );
|
||||
00075
|
||||
00077 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classSocket.html#a4">close</a>( <font class="keywordtype">int</font> socket );
|
||||
00078
|
||||
00080 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="classSocket.html#d2">isValid</a>( <font class="keywordtype">int</font> socket );
|
||||
00081
|
||||
00083 <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a8">writeBuffer</a>(<font class="keyword">const</font> <font class="keywordtype">void</font> *buffer, <font class="keywordtype">long</font> bufferSize, <font class="keywordtype">int</font> flags = 0);
|
||||
00084
|
||||
00086 <font class="keyword">static</font> <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a8">writeBuffer</a>(<font class="keywordtype">int</font> socket, <font class="keyword">const</font> <font class="keywordtype">void</font> *buffer, <font class="keywordtype">long</font> bufferSize, <font class="keywordtype">int</font> flags );
|
||||
00087
|
||||
00089 <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a9">readBuffer</a>(<font class="keywordtype">void</font> *buffer, <font class="keywordtype">long</font> bufferSize, <font class="keywordtype">int</font> flags = 0);
|
||||
00090
|
||||
00092 <font class="keyword">static</font> <font class="keywordtype">int</font> <a class="code" href="classSocket.html#a9">readBuffer</a>(<font class="keywordtype">int</font> socket, <font class="keywordtype">void</font> *buffer, <font class="keywordtype">long</font> bufferSize, <font class="keywordtype">int</font> flags );
|
||||
00093
|
||||
00094 <font class="keyword">protected</font>:
|
||||
00095
|
||||
00096 <font class="keywordtype">char</font> msg[256];
|
||||
00097 <font class="keywordtype">int</font> soket;
|
||||
00098 <font class="keywordtype">int</font> poort;
|
||||
00099 <font class="keywordtype">bool</font> server;
|
||||
00100
|
||||
00101 };
|
||||
00102
|
||||
00103 <font class="preprocessor">#endif // defined(__SOCKET_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
79
doc/html/StifKarp_8h-source.html
Normal file
@@ -0,0 +1,79 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>StifKarp.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00022 <font class="comment">/***************************************************/</font>
|
||||
00023
|
||||
00024 <font class="preprocessor">#if !defined(__StifKarp_h)</font>
|
||||
00025 <font class="preprocessor"></font><font class="preprocessor">#define __StifKarp_h</font>
|
||||
00026 <font class="preprocessor"></font>
|
||||
00027 <font class="preprocessor">#include "Instrmnt.h"</font>
|
||||
00028 <font class="preprocessor">#include "DelayL.h"</font>
|
||||
00029 <font class="preprocessor">#include "DelayA.h"</font>
|
||||
00030 <font class="preprocessor">#include "OneZero.h"</font>
|
||||
00031 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00032 <font class="preprocessor">#include "BiQuad.h"</font>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classStifKarp.html">StifKarp</a> : <font class="keyword">public</font> <a class="code" href="classInstrmnt.html">Instrmnt</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00038 <a class="code" href="classStifKarp.html#a0">StifKarp</a>(MY_FLOAT lowestFrequency);
|
||||
00039
|
||||
00041 <a class="code" href="classStifKarp.html#a1">~StifKarp</a>();
|
||||
00042
|
||||
00044 <font class="keywordtype">void</font> <a class="code" href="classStifKarp.html#a2">clear</a>();
|
||||
00045
|
||||
00047 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00048
|
||||
00050 <font class="keywordtype">void</font> <a class="code" href="classStifKarp.html#a4">setStretch</a>(MY_FLOAT stretch);
|
||||
00051
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classStifKarp.html#a5">setPickupPosition</a>(MY_FLOAT position);
|
||||
00054
|
||||
00056
|
||||
00061 <font class="keywordtype">void</font> <a class="code" href="classStifKarp.html#a6">setBaseLoopGain</a>(MY_FLOAT aGain);
|
||||
00062
|
||||
00064 <font class="keywordtype">void</font> <a class="code" href="classStifKarp.html#a7">pluck</a>(MY_FLOAT amplitude);
|
||||
00065
|
||||
00067 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00068
|
||||
00070 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a3">noteOff</a>(MY_FLOAT amplitude);
|
||||
00071
|
||||
00073 MY_FLOAT <a class="code" href="classInstrmnt.html#a6">tick</a>();
|
||||
00074
|
||||
00076 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a8">controlChange</a>(<font class="keywordtype">int</font> number, MY_FLOAT value);
|
||||
00077
|
||||
00078 <font class="keyword">protected</font>:
|
||||
00079 <a class="code" href="classDelayA.html">DelayA</a> *delayLine;
|
||||
00080 <a class="code" href="classDelayL.html">DelayL</a> *combDelay;
|
||||
00081 <a class="code" href="classOneZero.html">OneZero</a> *filter;
|
||||
00082 <a class="code" href="classNoise.html">Noise</a> *noise;
|
||||
00083 <a class="code" href="classBiQuad.html">BiQuad</a> *biQuad[4];
|
||||
00084 <font class="keywordtype">long</font> length;
|
||||
00085 MY_FLOAT loopGain;
|
||||
00086 MY_FLOAT baseLoopGain;
|
||||
00087 MY_FLOAT lastFrequency;
|
||||
00088 MY_FLOAT lastLength;
|
||||
00089 MY_FLOAT stretching;
|
||||
00090 MY_FLOAT pluckAmplitude;
|
||||
00091 MY_FLOAT pickupPosition;
|
||||
00092
|
||||
00093 };
|
||||
00094
|
||||
00095 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
151
doc/html/Stk_8h-source.html
Normal file
@@ -0,0 +1,151 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Stk.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__STK_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __STK_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="comment">// Most data in STK is passed and calculated with the following</font>
|
||||
00019 <font class="comment">// user-definable floating-point type. You can change this to "float"</font>
|
||||
00020 <font class="comment">// if you prefer or perhaps a "long double" in the future.</font>
|
||||
00021 <font class="keyword">typedef</font> <font class="keywordtype">double</font> MY_FLOAT;
|
||||
00022
|
||||
00024
|
||||
<a name="l00029"></a><a class="code" href="classStkError.html">00029</a> <font class="keyword">class </font><a class="code" href="classStkError.html">StkError</a>
|
||||
00030 {
|
||||
00031 <font class="keyword">public</font>:
|
||||
00032 <font class="keyword">enum</font> TYPE {
|
||||
00033 WARNING,
|
||||
00034 DEBUG_WARNING,
|
||||
00035 FUNCTION_ARGUMENT,
|
||||
00036 FILE_NOT_FOUND,
|
||||
00037 FILE_UNKNOWN_FORMAT,
|
||||
00038 FILE_ERROR,
|
||||
00039 PROCESS_THREAD,
|
||||
00040 PROCESS_SOCKET,
|
||||
00041 PROCESS_SOCKET_IPADDR,
|
||||
00042 AUDIO_SYSTEM,
|
||||
00043 MIDI_SYSTEM,
|
||||
00044 UNSPECIFIED
|
||||
00045 };
|
||||
00046
|
||||
00047 <font class="keyword">protected</font>:
|
||||
00048 <font class="keywordtype">char</font> message[256];
|
||||
00049 TYPE type;
|
||||
00050
|
||||
00051 <font class="keyword">public</font>:
|
||||
00053 <a class="code" href="classStkError.html#a0">StkError</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *p, TYPE tipe = StkError::UNSPECIFIED);
|
||||
00054
|
||||
00056 <font class="keyword">virtual</font> <a class="code" href="classStkError.html#a1">~StkError</a>(<font class="keywordtype">void</font>);
|
||||
00057
|
||||
00059 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classStkError.html#a2">printMessage</a>(<font class="keywordtype">void</font>);
|
||||
00060
|
||||
<a name="l00062"></a><a class="code" href="classStkError.html#a3">00062</a> <font class="keyword">virtual</font> <font class="keyword">const</font> TYPE& <a class="code" href="classStkError.html#a3">getType</a>(<font class="keywordtype">void</font>)<font class="keyword"> </font>{ <font class="keywordflow">return</font> type; }
|
||||
00063
|
||||
<a name="l00065"></a><a class="code" href="classStkError.html#a4">00065</a> <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="classStkError.html#a4">getMessage</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> message; }
|
||||
00066 };
|
||||
00067
|
||||
00068
|
||||
00069 <font class="keyword">class </font><a class="code" href="classStk.html">Stk</a>
|
||||
00070 {
|
||||
00071 <font class="keyword">public</font>:
|
||||
00072
|
||||
00073 <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> STK_FORMAT;
|
||||
<a name="l00074"></a><a class="code" href="classStk.html#p0">00074</a> <font class="keyword">static</font> <font class="keyword">const</font> STK_FORMAT STK_SINT8;
|
||||
<a name="l00075"></a><a class="code" href="classStk.html#p1">00075</a> <font class="keyword">static</font> <font class="keyword">const</font> STK_FORMAT STK_SINT16;
|
||||
<a name="l00076"></a><a class="code" href="classStk.html#p2">00076</a> <font class="keyword">static</font> <font class="keyword">const</font> STK_FORMAT STK_SINT32;
|
||||
<a name="l00077"></a><a class="code" href="classStk.html#p3">00077</a> <font class="keyword">static</font> <font class="keyword">const</font> STK_FORMAT STK_FLOAT32;
|
||||
<a name="l00078"></a><a class="code" href="classStk.html#p4">00078</a> <font class="keyword">static</font> <font class="keyword">const</font> STK_FORMAT STK_FLOAT64;
|
||||
00079
|
||||
00081 <font class="keyword">static</font> MY_FLOAT <a class="code" href="classStk.html#d0">sampleRate</a>(<font class="keywordtype">void</font>);
|
||||
00082
|
||||
00084
|
||||
00092 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate);
|
||||
00093
|
||||
00095 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classStk.html#d2">swap16</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *ptr);
|
||||
00096
|
||||
00098 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classStk.html#d3">swap32</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *ptr);
|
||||
00099
|
||||
00101 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classStk.html#d4">swap64</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *ptr);
|
||||
00102
|
||||
00104 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classStk.html#d5">sleep</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> milliseconds);
|
||||
00105
|
||||
00106 <font class="keyword">private</font>:
|
||||
00107 <font class="keyword">static</font> MY_FLOAT srate;
|
||||
00108
|
||||
00109 <font class="keyword">protected</font>:
|
||||
00110
|
||||
00112 <a class="code" href="classStk.html#b0">Stk</a>(<font class="keywordtype">void</font>);
|
||||
00113
|
||||
00115 <font class="keyword">virtual</font> <a class="code" href="classStk.html#b1">~Stk</a>(<font class="keywordtype">void</font>);
|
||||
00116
|
||||
00118 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classStk.html#e0">handleError</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *message, StkError::TYPE type );
|
||||
00119
|
||||
00120 };
|
||||
00121
|
||||
00122 <font class="comment">// Here are a few other useful typedefs.</font>
|
||||
00123 <font class="keyword">typedef</font> <font class="keywordtype">signed</font> <font class="keywordtype">short</font> SINT16;
|
||||
00124 <font class="keyword">typedef</font> <font class="keywordtype">signed</font> <font class="keywordtype">int</font> SINT32;
|
||||
00125 <font class="keyword">typedef</font> <font class="keywordtype">float</font> FLOAT32;
|
||||
00126 <font class="keyword">typedef</font> <font class="keywordtype">double</font> FLOAT64;
|
||||
00127
|
||||
00128 <font class="comment">// Boolean values</font>
|
||||
00129 <font class="preprocessor">#define FALSE 0</font>
|
||||
00130 <font class="preprocessor"></font><font class="preprocessor">#define TRUE 1</font>
|
||||
00131 <font class="preprocessor"></font>
|
||||
00132 <font class="comment">// The default sampling rate.</font>
|
||||
00133 <font class="preprocessor">#define SRATE (MY_FLOAT) 22050.0</font>
|
||||
00134 <font class="preprocessor"></font>
|
||||
00135 <font class="comment">// Real-time audio input and output buffer size. If clicks are</font>
|
||||
00136 <font class="comment">// occuring in the input and/or output sound stream, a larger buffer</font>
|
||||
00137 <font class="comment">// size may help. Larger buffer sizes, however, produce more latency.</font>
|
||||
00138
|
||||
00139 <font class="preprocessor">#define RT_BUFFER_SIZE 512</font>
|
||||
00140 <font class="preprocessor"></font>
|
||||
00141 <font class="comment">// The RAWWAVE_PATH definition is concatenated to the beginning of all</font>
|
||||
00142 <font class="comment">// references to rawwave files in the various STK core classes</font>
|
||||
00143 <font class="comment">// (ex. Clarinet.cpp). If you wish to move the rawwaves directory to</font>
|
||||
00144 <font class="comment">// a different location in your file system, you will need to set this</font>
|
||||
00145 <font class="comment">// path definition appropriately. The current definition is a</font>
|
||||
00146 <font class="comment">// relative reference that will work "out of the box" for the STK</font>
|
||||
00147 <font class="comment">// distribution.</font>
|
||||
00148 <font class="preprocessor">#define RAWWAVE_PATH "../../"</font>
|
||||
00149 <font class="preprocessor"></font>
|
||||
00150 <font class="preprocessor">#define PI (MY_FLOAT) 3.14159265359</font>
|
||||
00151 <font class="preprocessor"></font><font class="preprocessor">#define TWO_PI (MY_FLOAT) (MY_FLOAT) (2 * PI)</font>
|
||||
00152 <font class="preprocessor"></font>
|
||||
00153 <font class="preprocessor">#define ONE_OVER_128 (MY_FLOAT) 0.0078125</font>
|
||||
00154 <font class="preprocessor"></font>
|
||||
00155 <font class="preprocessor">#if defined(__WINDOWS_DS__)</font>
|
||||
00156 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_WINDOWS__</font>
|
||||
00157 <font class="preprocessor"></font><font class="preprocessor"> #define __STK_REALTIME__</font>
|
||||
00158 <font class="preprocessor"></font><font class="preprocessor">#elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__)</font>
|
||||
00159 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_LINUX__</font>
|
||||
00160 <font class="preprocessor"></font><font class="preprocessor"> #define __STK_REALTIME__</font>
|
||||
00161 <font class="preprocessor"></font><font class="preprocessor">#elif defined(__IRIX_AL__)</font>
|
||||
00162 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_IRIX__</font>
|
||||
00163 <font class="preprocessor"></font><font class="preprocessor"> #define __STK_REALTIME__</font>
|
||||
00164 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
||||
00165 <font class="preprocessor"></font>
|
||||
00166 <font class="comment">//#define _STK_DEBUG_</font>
|
||||
00167
|
||||
00168 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
49
doc/html/SubNoise_8h-source.html
Normal file
@@ -0,0 +1,49 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>SubNoise.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00011 <font class="comment">/***************************************************/</font>
|
||||
00012
|
||||
00013 <font class="preprocessor">#if !defined(__SUBNOISE_H)</font>
|
||||
00014 <font class="preprocessor"></font><font class="preprocessor">#define __SUBNOISE_H</font>
|
||||
00015 <font class="preprocessor"></font>
|
||||
00016 <font class="preprocessor">#include "Noise.h"</font>
|
||||
00017
|
||||
00018 <font class="keyword">class </font><a class="code" href="classSubNoise.html">SubNoise</a> : <font class="keyword">public</font> <a class="code" href="classNoise.html">Noise</a>
|
||||
00019 {
|
||||
00020 <font class="keyword">public</font>:
|
||||
00021
|
||||
00023 <a class="code" href="classSubNoise.html#a0">SubNoise</a>(<font class="keywordtype">int</font> subRate = 16);
|
||||
00024
|
||||
00026 <a class="code" href="classSubNoise.html#a1">~SubNoise</a>();
|
||||
00027
|
||||
00029 <font class="keywordtype">int</font> <a class="code" href="classSubNoise.html#a2">subRate</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00030
|
||||
00032 <font class="keywordtype">void</font> <a class="code" href="classSubNoise.html#a3">setRate</a>(<font class="keywordtype">int</font> subRate);
|
||||
00033
|
||||
00035 MY_FLOAT <a class="code" href="classNoise.html#a2">tick</a>();
|
||||
00036
|
||||
00037 <font class="keyword">protected</font>:
|
||||
00038 <font class="keywordtype">int</font> counter;
|
||||
00039 <font class="keywordtype">int</font> rate;
|
||||
00040
|
||||
00041 };
|
||||
00042
|
||||
00043 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
52
doc/html/Table_8h-source.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Table.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00015 <font class="comment">/***************************************************/</font>
|
||||
00016
|
||||
00017 <font class="preprocessor">#if !defined(__TABLE_H)</font>
|
||||
00018 <font class="preprocessor"></font><font class="preprocessor">#define __TABLE_H</font>
|
||||
00019 <font class="preprocessor"></font>
|
||||
00020 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00021
|
||||
00022 <font class="keyword">class </font><a class="code" href="classTable.html">Table</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00023 {
|
||||
00024 <font class="keyword">public</font>:
|
||||
00026 <a class="code" href="classTable.html#a0">Table</a>(<font class="keywordtype">char</font> *fileName);
|
||||
00027
|
||||
00029 <a class="code" href="classTable.html#a1">~Table</a>();
|
||||
00030
|
||||
00032 <font class="keywordtype">long</font> <a class="code" href="classTable.html#a2">getLength</a>() <font class="keyword">const</font>;
|
||||
00033
|
||||
00035 MY_FLOAT <a class="code" href="classTable.html#a3">lastOut</a>() <font class="keyword">const</font>;
|
||||
00036
|
||||
00038
|
||||
00042 MY_FLOAT <a class="code" href="classTable.html#a4">tick</a>(MY_FLOAT index);
|
||||
00043
|
||||
00045 MY_FLOAT *<a class="code" href="classTable.html#a4">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00046
|
||||
00047 <font class="keyword">protected</font>:
|
||||
00048 <font class="keywordtype">long</font> length;
|
||||
00049 MY_FLOAT *data;
|
||||
00050 MY_FLOAT lastOutput;
|
||||
00051
|
||||
00052 };
|
||||
00053
|
||||
00054 <font class="preprocessor">#endif // defined(__TABLE_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
91
doc/html/TcpWvIn_8h-source.html
Normal file
@@ -0,0 +1,91 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>TcpWvIn.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00027 <font class="comment">/***************************************************/</font>
|
||||
00028
|
||||
00029 <font class="preprocessor">#if !defined(__TCPWVIN_H)</font>
|
||||
00030 <font class="preprocessor"></font><font class="preprocessor">#define __TCPWVIN_H</font>
|
||||
00031 <font class="preprocessor"></font>
|
||||
00032 <font class="preprocessor">#include "WvIn.h"</font>
|
||||
00033 <font class="preprocessor">#include "Socket.h"</font>
|
||||
00034 <font class="preprocessor">#include "Thread.h"</font>
|
||||
00035
|
||||
00036 <font class="keyword">typedef</font> <font class="keyword">struct </font>{
|
||||
00037 <font class="keywordtype">bool</font> finished;
|
||||
00038 <font class="keywordtype">void</font> *object;
|
||||
00039 } thread_info;
|
||||
00040
|
||||
00041 <font class="keyword">class </font><a class="code" href="classTcpWvIn.html">TcpWvIn</a> : <font class="keyword">protected</font> <a class="code" href="classWvIn.html">WvIn</a>
|
||||
00042 {
|
||||
00043 <font class="keyword">public</font>:
|
||||
00045
|
||||
00048 <a class="code" href="classTcpWvIn.html#a0">TcpWvIn</a>( <font class="keywordtype">int</font> port = 2006 );
|
||||
00049
|
||||
00051 <a class="code" href="classTcpWvIn.html#a1">~TcpWvIn</a>();
|
||||
00052
|
||||
00054
|
||||
00057 <font class="keywordtype">void</font> <a class="code" href="classTcpWvIn.html#a2">listen</a>(<font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00058
|
||||
00060
|
||||
00064 <font class="keywordtype">bool</font> <a class="code" href="classTcpWvIn.html#a3">isConnected</a>(<font class="keywordtype">void</font>);
|
||||
00065
|
||||
00067 MY_FLOAT <a class="code" href="classWvIn.html#a15">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00068
|
||||
00070 MY_FLOAT <a class="code" href="classWvIn.html#a16">tick</a>(<font class="keywordtype">void</font>);
|
||||
00071
|
||||
00073 MY_FLOAT *<a class="code" href="classWvIn.html#a16">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00074
|
||||
00076 <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a18">lastFrame</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00077
|
||||
00079 <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(<font class="keywordtype">void</font>);
|
||||
00080
|
||||
00082 MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames);
|
||||
00083
|
||||
00084 <font class="comment">// Called by the thread routine to receive data via the socket connection</font>
|
||||
00085 <font class="comment">// and fill the socket buffer. This is not intended for general use but</font>
|
||||
00086 <font class="comment">// had to be made public for access from the thread.</font>
|
||||
00087 <font class="keywordtype">void</font> receive(<font class="keywordtype">void</font>);
|
||||
00088
|
||||
00089 <font class="keyword">protected</font>:
|
||||
00090
|
||||
00091 <font class="comment">// Initialize class variables.</font>
|
||||
00092 <font class="keywordtype">void</font> init( <font class="keywordtype">int</font> port );
|
||||
00093
|
||||
00094 <font class="comment">// Read buffered socket data into the data buffer ... will block if none available.</font>
|
||||
00095 <font class="keywordtype">int</font> readData( <font class="keywordtype">void</font> );
|
||||
00096
|
||||
00097 <a class="code" href="classSocket.html">Socket</a> *soket;
|
||||
00098 <a class="code" href="classThread.html">Thread</a> *thread;
|
||||
00099 Mutex mutex;
|
||||
00100 <font class="keywordtype">char</font> *buffer;
|
||||
00101 <font class="keywordtype">long</font> bufferBytes;
|
||||
00102 <font class="keywordtype">long</font> bytesFilled;
|
||||
00103 <font class="keywordtype">long</font> writePoint;
|
||||
00104 <font class="keywordtype">long</font> readPoint;
|
||||
00105 <font class="keywordtype">long</font> counter;
|
||||
00106 <font class="keywordtype">int</font> dataSize;
|
||||
00107 <font class="keywordtype">bool</font> connected;
|
||||
00108 <font class="keywordtype">int</font> fd;
|
||||
00109 thread_info threadInfo;
|
||||
00110
|
||||
00111 };
|
||||
00112
|
||||
00113 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
69
doc/html/TcpWvOut_8h-source.html
Normal file
@@ -0,0 +1,69 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>TcpWvOut.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00026 <font class="comment">/***************************************************/</font>
|
||||
00027
|
||||
00028 <font class="preprocessor">#if !defined(__TCPWVOUT_H)</font>
|
||||
00029 <font class="preprocessor"></font><font class="preprocessor">#define __TCPWVOUT_H</font>
|
||||
00030 <font class="preprocessor"></font>
|
||||
00031 <font class="preprocessor">#include "WvOut.h"</font>
|
||||
00032 <font class="preprocessor">#include "Socket.h"</font>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classTcpWvOut.html">TcpWvOut</a> : <font class="keyword">protected</font> <a class="code" href="classWvOut.html">WvOut</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00038 <a class="code" href="classTcpWvOut.html#a0">TcpWvOut</a>();
|
||||
00039
|
||||
00041
|
||||
00044 <a class="code" href="classTcpWvOut.html#a0">TcpWvOut</a>(<font class="keywordtype">int</font> port, <font class="keyword">const</font> <font class="keywordtype">char</font> *hostname = <font class="stringliteral">"localhost"</font>, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00045
|
||||
00047 <a class="code" href="classTcpWvOut.html#a2">~TcpWvOut</a>();
|
||||
00048
|
||||
00050
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classTcpWvOut.html#a3">connect</a>(<font class="keywordtype">int</font> port, <font class="keyword">const</font> <font class="keywordtype">char</font> *hostname = <font class="stringliteral">"localhost"</font>, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classTcpWvOut.html#a4">disconnect</a>(<font class="keywordtype">void</font>);
|
||||
00057
|
||||
00059 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> <a class="code" href="classWvOut.html#a5">getFrames</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00060
|
||||
00062 MY_FLOAT <a class="code" href="classWvOut.html#a6">getTime</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00063
|
||||
00065
|
||||
00068 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(MY_FLOAT sample);
|
||||
00069
|
||||
00071
|
||||
00074 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(<font class="keyword">const</font> MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00075
|
||||
00077
|
||||
00080 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a9">tickFrame</a>(<font class="keyword">const</font> MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames = 1);
|
||||
00081
|
||||
00082 <font class="keyword">protected</font>:
|
||||
00083
|
||||
00084 <font class="comment">// Write a buffer of length \e frames via the socket connection.</font>
|
||||
00085 <font class="keywordtype">void</font> writeData( <font class="keywordtype">long</font> frames );
|
||||
00086
|
||||
00087 <font class="keywordtype">char</font> msg[256];
|
||||
00088 <font class="keywordtype">char</font> *buffer;
|
||||
00089 <a class="code" href="classSocket.html">Socket</a> *soket;
|
||||
00090 <font class="keywordtype">int</font> dataSize;
|
||||
00091 };
|
||||
00092
|
||||
00093 <font class="preprocessor">#endif // defined(__TCPWVOUT_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
88
doc/html/Thread_8h-source.html
Normal file
@@ -0,0 +1,88 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Thread.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00012 <font class="comment">/***************************************************/</font>
|
||||
00013
|
||||
00014 <font class="preprocessor">#if !defined(__THREAD_H)</font>
|
||||
00015 <font class="preprocessor"></font><font class="preprocessor">#define __THREAD_H</font>
|
||||
00016 <font class="preprocessor"></font>
|
||||
00017 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00018
|
||||
00019 <font class="preprocessor">#if (defined(__OS_IRIX__) || defined(__OS_LINUX__))</font>
|
||||
00020 <font class="preprocessor"></font>
|
||||
00021 <font class="preprocessor"> #include <pthread.h></font>
|
||||
00022 <font class="preprocessor"> #define THREAD_TYPE</font>
|
||||
00023 <font class="preprocessor"></font> <font class="keyword">typedef</font> pthread_t THREAD_HANDLE;
|
||||
00024 <font class="keyword">typedef</font> <font class="keywordtype">void</font> * THREAD_RETURN;
|
||||
00025 <font class="keyword">typedef</font> <font class="keywordtype">void</font> * (*THREAD_FUNCTION)(<font class="keywordtype">void</font> *);
|
||||
00026 <font class="keyword">typedef</font> pthread_mutex_t MUTEX;
|
||||
00027
|
||||
00028 <font class="preprocessor">#elif defined(__OS_WINDOWS__)</font>
|
||||
00029 <font class="preprocessor"></font>
|
||||
00030 <font class="preprocessor"> #include <windows.h></font>
|
||||
00031 <font class="preprocessor"> #include <process.h></font>
|
||||
00032 <font class="preprocessor"> #define THREAD_TYPE __stdcall</font>
|
||||
00033 <font class="preprocessor"></font> <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> THREAD_HANDLE;
|
||||
00034 <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> THREAD_RETURN;
|
||||
00035 <font class="keyword">typedef</font> unsigned (__stdcall *THREAD_FUNCTION)(<font class="keywordtype">void</font> *);
|
||||
00036 <font class="keyword">typedef</font> CRITICAL_SECTION MUTEX;
|
||||
00037
|
||||
00038 <font class="preprocessor">#endif</font>
|
||||
00039 <font class="preprocessor"></font>
|
||||
00040 <font class="keyword">class </font><a class="code" href="classThread.html">Thread</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00041 {
|
||||
00042 <font class="keyword">public</font>:
|
||||
00044 <a class="code" href="classThread.html#a0">Thread</a>();
|
||||
00045
|
||||
00047 <a class="code" href="classThread.html#a1">~Thread</a>();
|
||||
00048
|
||||
00050
|
||||
00054 <font class="keywordtype">bool</font> <a class="code" href="classThread.html#a2">start</a>( THREAD_FUNCTION routine, <font class="keywordtype">void</font> * ptr = NULL );
|
||||
00055
|
||||
00057
|
||||
00063 <font class="keywordtype">bool</font> <a class="code" href="classThread.html#a3">wait</a>( <font class="keywordtype">long</font> milliseconds = -1 );
|
||||
00064
|
||||
00066 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classThread.html#d0">test</a>(<font class="keywordtype">void</font>);
|
||||
00067
|
||||
00068 <font class="keyword">protected</font>:
|
||||
00069
|
||||
00070 THREAD_HANDLE thread;
|
||||
00071
|
||||
00072 };
|
||||
00073
|
||||
00074 <font class="keyword">class </font>Mutex : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00075 {
|
||||
00076 <font class="keyword">public</font>:
|
||||
00078 Mutex();
|
||||
00079
|
||||
00081 ~Mutex();
|
||||
00082
|
||||
00084 <font class="keywordtype">void</font> lock(<font class="keywordtype">void</font>);
|
||||
00085
|
||||
00087 <font class="keywordtype">void</font> unlock(<font class="keywordtype">void</font>);
|
||||
00088
|
||||
00089 <font class="keyword">protected</font>:
|
||||
00090
|
||||
00091 MUTEX mutex;
|
||||
00092
|
||||
00093 };
|
||||
00094
|
||||
00095 <font class="preprocessor">#endif // defined(__THREAD_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
41
doc/html/TubeBell_8h-source.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>TubeBell.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00031 <font class="comment">/***************************************************/</font>
|
||||
00032
|
||||
00033 <font class="preprocessor">#if !defined(__TUBEBELL_H)</font>
|
||||
00034 <font class="preprocessor"></font><font class="preprocessor">#define __TUBEBELL_H</font>
|
||||
00035 <font class="preprocessor"></font>
|
||||
00036 <font class="preprocessor">#include "FM.h"</font>
|
||||
00037
|
||||
00038 <font class="keyword">class </font><a class="code" href="classTubeBell.html">TubeBell</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00039 {
|
||||
00040 <font class="keyword">public</font>:
|
||||
00042 <a class="code" href="classTubeBell.html#a0">TubeBell</a>();
|
||||
00043
|
||||
00045 <a class="code" href="classTubeBell.html#a1">~TubeBell</a>();
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00049
|
||||
00051 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00052 };
|
||||
00053
|
||||
00054 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
60
doc/html/TwoPole_8h-source.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>TwoPole.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__TWOPOLE_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __TWOPOLE_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classTwoPole.html">TwoPole</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
00023
|
||||
00025 <a class="code" href="classTwoPole.html#a0">TwoPole</a>();
|
||||
00026
|
||||
00028 <a class="code" href="classTwoPole.html#a1">~TwoPole</a>();
|
||||
00029
|
||||
00031 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00032
|
||||
00034 <font class="keywordtype">void</font> <a class="code" href="classTwoPole.html#a3">setB0</a>(MY_FLOAT b0);
|
||||
00035
|
||||
00037 <font class="keywordtype">void</font> <a class="code" href="classTwoPole.html#a4">setA1</a>(MY_FLOAT a1);
|
||||
00038
|
||||
00040 <font class="keywordtype">void</font> <a class="code" href="classTwoPole.html#a5">setA2</a>(MY_FLOAT a2);
|
||||
00041
|
||||
00043
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classTwoPole.html#a6">setResonance</a>(MY_FLOAT frequency, MY_FLOAT radius, <font class="keywordtype">bool</font> normalize = FALSE);
|
||||
00057
|
||||
00059
|
||||
00063 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00064
|
||||
00066 MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00067
|
||||
00069 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00070
|
||||
00072 MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00073
|
||||
00075 MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00076 };
|
||||
00077
|
||||
00078 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
59
doc/html/TwoZero_8h-source.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>TwoZero.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00013 <font class="comment">/***************************************************/</font>
|
||||
00014
|
||||
00015 <font class="preprocessor">#if !defined(__TWOZERO_H)</font>
|
||||
00016 <font class="preprocessor"></font><font class="preprocessor">#define __TWOZERO_H</font>
|
||||
00017 <font class="preprocessor"></font>
|
||||
00018 <font class="preprocessor">#include "Filter.h"</font>
|
||||
00019
|
||||
00020 <font class="keyword">class </font><a class="code" href="classTwoZero.html">TwoZero</a> : <font class="keyword">protected</font> <a class="code" href="classFilter.html">Filter</a>
|
||||
00021 {
|
||||
00022 <font class="keyword">public</font>:
|
||||
00024 <a class="code" href="classTwoZero.html#a0">TwoZero</a>();
|
||||
00025
|
||||
00027 <a class="code" href="classTwoZero.html#a1">~TwoZero</a>();
|
||||
00028
|
||||
00030 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a3">clear</a>(<font class="keywordtype">void</font>);
|
||||
00031
|
||||
00033 <font class="keywordtype">void</font> <a class="code" href="classTwoZero.html#a3">setB0</a>(MY_FLOAT b0);
|
||||
00034
|
||||
00036 <font class="keywordtype">void</font> <a class="code" href="classTwoZero.html#a4">setB1</a>(MY_FLOAT b1);
|
||||
00037
|
||||
00039 <font class="keywordtype">void</font> <a class="code" href="classTwoZero.html#a5">setB2</a>(MY_FLOAT b2);
|
||||
00040
|
||||
00042
|
||||
00052 <font class="keywordtype">void</font> <a class="code" href="classTwoZero.html#a6">setNotch</a>(MY_FLOAT frequency, MY_FLOAT radius);
|
||||
00053
|
||||
00055
|
||||
00059 <font class="keywordtype">void</font> <a class="code" href="classFilter.html#a7">setGain</a>(MY_FLOAT theGain);
|
||||
00060
|
||||
00062 MY_FLOAT <a class="code" href="classFilter.html#a8">getGain</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00063
|
||||
00065 MY_FLOAT <a class="code" href="classFilter.html#a9">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00066
|
||||
00068 MY_FLOAT <a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT sample);
|
||||
00069
|
||||
00071 MY_FLOAT *<a class="code" href="classFilter.html#a10">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00072 };
|
||||
00073
|
||||
00074 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
59
doc/html/WaveLoop_8h-source.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>WaveLoop.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00019 <font class="comment">/***************************************************/</font>
|
||||
00020
|
||||
00021 <font class="preprocessor">#if !defined(__WAVELOOP_H)</font>
|
||||
00022 <font class="preprocessor"></font><font class="preprocessor">#define __WAVELOOP_H</font>
|
||||
00023 <font class="preprocessor"></font>
|
||||
00024 <font class="preprocessor">#include "WvIn.h"</font>
|
||||
00025 <font class="preprocessor">#include <stdio.h></font>
|
||||
00026
|
||||
00027 <font class="keyword">class </font><a class="code" href="classWaveLoop.html">WaveLoop</a> : <font class="keyword">public</font> <a class="code" href="classWvIn.html">WvIn</a>
|
||||
00028 {
|
||||
00029 <font class="keyword">public</font>:
|
||||
00031 <a class="code" href="classWaveLoop.html#a0">WaveLoop</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName, <font class="keywordtype">bool</font> raw = FALSE );
|
||||
00032
|
||||
00034 <font class="keyword">virtual</font> <a class="code" href="classWaveLoop.html#a1">~WaveLoop</a>();
|
||||
00035
|
||||
00037
|
||||
00043 <font class="keywordtype">void</font> <a class="code" href="classWaveLoop.html#a2">setFrequency</a>(MY_FLOAT aFrequency);
|
||||
00044
|
||||
00046 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a13">addTime</a>(MY_FLOAT aTime);
|
||||
00047
|
||||
00049
|
||||
00054 <font class="keywordtype">void</font> <a class="code" href="classWaveLoop.html#a4">addPhase</a>(MY_FLOAT anAngle);
|
||||
00055
|
||||
00057
|
||||
00062 <font class="keywordtype">void</font> <a class="code" href="classWaveLoop.html#a5">addPhaseOffset</a>(MY_FLOAT anAngle);
|
||||
00063
|
||||
00065 <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(<font class="keywordtype">void</font>);
|
||||
00066
|
||||
00067 <font class="keyword">protected</font>:
|
||||
00068
|
||||
00069 <font class="comment">// Read file data.</font>
|
||||
00070 <font class="keywordtype">void</font> readData(<font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> index);
|
||||
00071
|
||||
00072 MY_FLOAT phaseOffset;
|
||||
00073
|
||||
00074 };
|
||||
00075
|
||||
00076 <font class="preprocessor">#endif // defined(__WAVELOOP_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
43
doc/html/Wurley_8h-source.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Wurley.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00031 <font class="comment">/***************************************************/</font>
|
||||
00032
|
||||
00033 <font class="preprocessor">#if !defined(__WURLEY_H)</font>
|
||||
00034 <font class="preprocessor"></font><font class="preprocessor">#define __WURLEY_H</font>
|
||||
00035 <font class="preprocessor"></font>
|
||||
00036 <font class="preprocessor">#include "FM.h"</font>
|
||||
00037
|
||||
00038 <font class="keyword">class </font><a class="code" href="classWurley.html">Wurley</a> : <font class="keyword">public</font> <a class="code" href="classFM.html">FM</a>
|
||||
00039 {
|
||||
00040 <font class="keyword">public</font>:
|
||||
00042 <a class="code" href="classWurley.html#a0">Wurley</a>();
|
||||
00043
|
||||
00045 <a class="code" href="classWurley.html#a1">~Wurley</a>();
|
||||
00046
|
||||
00048 <font class="keywordtype">void</font> <a class="code" href="classFM.html#a4">setFrequency</a>(MY_FLOAT frequency);
|
||||
00049
|
||||
00051 <font class="keywordtype">void</font> <a class="code" href="classInstrmnt.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude);
|
||||
00052
|
||||
00054 MY_FLOAT <a class="code" href="classFM.html#a14">tick</a>();
|
||||
00055 };
|
||||
00056
|
||||
00057 <font class="preprocessor">#endif</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
136
doc/html/WvIn_8h-source.html
Normal file
@@ -0,0 +1,136 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>WvIn.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00037 <font class="comment">/***************************************************/</font>
|
||||
00038
|
||||
00039 <font class="preprocessor">#if !defined(__WVIN_H)</font>
|
||||
00040 <font class="preprocessor"></font><font class="preprocessor">#define __WVIN_H</font>
|
||||
00041 <font class="preprocessor"></font>
|
||||
00042 <font class="comment">// Files larger than CHUNK_THRESHOLD will be copied into memory</font>
|
||||
00043 <font class="comment">// in CHUNK_SIZE increments, rather than completely loaded into</font>
|
||||
00044 <font class="comment">// a buffer at once.</font>
|
||||
00045
|
||||
00046 <font class="preprocessor">#define CHUNK_THRESHOLD 5000000 // 5 Mb</font>
|
||||
00047 <font class="preprocessor"></font><font class="preprocessor">#define CHUNK_SIZE 1024 // sample frames</font>
|
||||
00048 <font class="preprocessor"></font>
|
||||
00049 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00050 <font class="preprocessor">#include <stdio.h></font>
|
||||
00051
|
||||
00052 <font class="keyword">class </font><a class="code" href="classWvIn.html">WvIn</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00053 {
|
||||
00054 <font class="keyword">public</font>:
|
||||
00056 <a class="code" href="classWvIn.html#a0">WvIn</a>();
|
||||
00057
|
||||
00059
|
||||
00063 <a class="code" href="classWvIn.html#a0">WvIn</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName, <font class="keywordtype">bool</font> raw = FALSE );
|
||||
00064
|
||||
00066 <font class="keyword">virtual</font> <a class="code" href="classWvIn.html#a2">~WvIn</a>();
|
||||
00067
|
||||
00069
|
||||
00073 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a3">openFile</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName, <font class="keywordtype">bool</font> raw = FALSE );
|
||||
00074
|
||||
00076 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a4">closeFile</a>(<font class="keywordtype">void</font>);
|
||||
00077
|
||||
00079 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a5">reset</a>(<font class="keywordtype">void</font>);
|
||||
00080
|
||||
00082
|
||||
00088 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a6">normalize</a>(<font class="keywordtype">void</font>);
|
||||
00089
|
||||
00091
|
||||
00097 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a6">normalize</a>(MY_FLOAT peak);
|
||||
00098
|
||||
00100 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> <a class="code" href="classWvIn.html#a8">getSize</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00101
|
||||
00103 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> <a class="code" href="classWvIn.html#a9">getChannels</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00104
|
||||
00106
|
||||
00111 MY_FLOAT <a class="code" href="classWvIn.html#a10">getFileRate</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00112
|
||||
00114 <font class="keywordtype">bool</font> <a class="code" href="classWvIn.html#a11">isFinished</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00115
|
||||
00117
|
||||
00120 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a12">setRate</a>(MY_FLOAT aRate);
|
||||
00121
|
||||
00123 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a13">addTime</a>(MY_FLOAT aTime);
|
||||
00124
|
||||
00126
|
||||
00132 <font class="keywordtype">void</font> <a class="code" href="classWvIn.html#a14">setInterpolate</a>(<font class="keywordtype">bool</font> doInterpolate);
|
||||
00133
|
||||
00135 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classWvIn.html#a15">lastOut</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00136
|
||||
00138
|
||||
00141 <font class="keyword">virtual</font> MY_FLOAT <a class="code" href="classWvIn.html#a16">tick</a>(<font class="keywordtype">void</font>);
|
||||
00142
|
||||
00144
|
||||
00147 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classWvIn.html#a16">tick</a>(MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00148
|
||||
00150 <font class="keyword">virtual</font> <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a18">lastFrame</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>;
|
||||
00151
|
||||
00153
|
||||
00156 <font class="keyword">virtual</font> <font class="keyword">const</font> MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(<font class="keywordtype">void</font>);
|
||||
00157
|
||||
00159
|
||||
00162 <font class="keyword">virtual</font> MY_FLOAT *<a class="code" href="classWvIn.html#a19">tickFrame</a>(MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames);
|
||||
00163
|
||||
00164 <font class="keyword">protected</font>:
|
||||
00165
|
||||
00166 <font class="comment">// Initialize class variables.</font>
|
||||
00167 <font class="keywordtype">void</font> init( <font class="keywordtype">void</font> );
|
||||
00168
|
||||
00169 <font class="comment">// Read file data.</font>
|
||||
00170 <font class="keyword">virtual</font> <font class="keywordtype">void</font> readData(<font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> index);
|
||||
00171
|
||||
00172 <font class="comment">// Get STK RAW file information.</font>
|
||||
00173 <font class="keywordtype">bool</font> getRawInfo( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00174
|
||||
00175 <font class="comment">// Get WAV file header information.</font>
|
||||
00176 <font class="keywordtype">bool</font> getWavInfo( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00177
|
||||
00178 <font class="comment">// Get SND (AU) file header information.</font>
|
||||
00179 <font class="keywordtype">bool</font> getSndInfo( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00180
|
||||
00181 <font class="comment">// Get AIFF file header information.</font>
|
||||
00182 <font class="keywordtype">bool</font> getAifInfo( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00183
|
||||
00184 <font class="comment">// Get MAT-file header information.</font>
|
||||
00185 <font class="keywordtype">bool</font> getMatInfo( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00186
|
||||
00187 <font class="keywordtype">char</font> msg[256];
|
||||
00188 FILE *fd;
|
||||
00189 MY_FLOAT *data;
|
||||
00190 MY_FLOAT *lastOutput;
|
||||
00191 <font class="keywordtype">bool</font> chunking;
|
||||
00192 <font class="keywordtype">bool</font> finished;
|
||||
00193 <font class="keywordtype">bool</font> interpolate;
|
||||
00194 <font class="keywordtype">bool</font> byteswap;
|
||||
00195 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> fileSize;
|
||||
00196 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> bufferSize;
|
||||
00197 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> dataOffset;
|
||||
00198 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> channels;
|
||||
00199 <font class="keywordtype">long</font> chunkPointer;
|
||||
00200 STK_FORMAT dataType;
|
||||
00201 MY_FLOAT fileRate;
|
||||
00202 MY_FLOAT gain;
|
||||
00203 MY_FLOAT time;
|
||||
00204 MY_FLOAT rate;
|
||||
00205 };
|
||||
00206
|
||||
00207 <font class="preprocessor">#endif // defined(__WVIN_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
117
doc/html/WvOut_8h-source.html
Normal file
@@ -0,0 +1,117 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>WvOut.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00034 <font class="comment">/***************************************************/</font>
|
||||
00035
|
||||
00036 <font class="preprocessor">#if !defined(__WVOUT_H)</font>
|
||||
00037 <font class="preprocessor"></font><font class="preprocessor">#define __WVOUT_H</font>
|
||||
00038 <font class="preprocessor"></font>
|
||||
00039 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00040 <font class="preprocessor">#include <stdio.h></font>
|
||||
00041
|
||||
00042 <font class="preprocessor">#define BUFFER_SIZE 1024 // sample frames</font>
|
||||
00043 <font class="preprocessor"></font>
|
||||
00044 <font class="keyword">class </font><a class="code" href="classWvOut.html">WvOut</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00045 {
|
||||
00046 <font class="keyword">public</font>:
|
||||
00047
|
||||
00048 <font class="keyword">typedef</font> <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> FILE_TYPE;
|
||||
00049
|
||||
<a name="l00050"></a><a class="code" href="classWvOut.html#p0">00050</a> <font class="keyword">static</font> <font class="keyword">const</font> FILE_TYPE WVOUT_RAW;
|
||||
<a name="l00051"></a><a class="code" href="classWvOut.html#p1">00051</a> <font class="keyword">static</font> <font class="keyword">const</font> FILE_TYPE WVOUT_WAV;
|
||||
<a name="l00052"></a><a class="code" href="classWvOut.html#p2">00052</a> <font class="keyword">static</font> <font class="keyword">const</font> FILE_TYPE WVOUT_SND;
|
||||
<a name="l00053"></a><a class="code" href="classWvOut.html#p3">00053</a> <font class="keyword">static</font> <font class="keyword">const</font> FILE_TYPE WVOUT_AIF;
|
||||
<a name="l00054"></a><a class="code" href="classWvOut.html#p4">00054</a> <font class="keyword">static</font> <font class="keyword">const</font> FILE_TYPE WVOUT_MAT;
|
||||
00055
|
||||
00057 <a class="code" href="classWvOut.html#a0">WvOut</a>();
|
||||
00058
|
||||
00060
|
||||
00063 <a class="code" href="classWvOut.html#a0">WvOut</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, FILE_TYPE type = WVOUT_WAV, Stk::STK_FORMAT format = STK_SINT16 );
|
||||
00064
|
||||
00066 <font class="keyword">virtual</font> <a class="code" href="classWvOut.html#a2">~WvOut</a>();
|
||||
00067
|
||||
00069
|
||||
00072 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a3">openFile</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1,
|
||||
00073 WvOut::FILE_TYPE type = WVOUT_WAV, Stk::STK_FORMAT format = STK_SINT16 );
|
||||
00074
|
||||
00076 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a4">closeFile</a>( <font class="keywordtype">void</font> );
|
||||
00077
|
||||
00079 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> <a class="code" href="classWvOut.html#a5">getFrames</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00080
|
||||
00082 MY_FLOAT <a class="code" href="classWvOut.html#a6">getTime</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00083
|
||||
00085
|
||||
00088 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(<font class="keyword">const</font> MY_FLOAT sample);
|
||||
00089
|
||||
00091
|
||||
00094 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(<font class="keyword">const</font> MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00095
|
||||
00097
|
||||
00100 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a9">tickFrame</a>(<font class="keyword">const</font> MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames = 1);
|
||||
00101
|
||||
00102 <font class="keyword">protected</font>:
|
||||
00103
|
||||
00104 <font class="comment">// Initialize class variables.</font>
|
||||
00105 <font class="keywordtype">void</font> init( <font class="keywordtype">void</font> );
|
||||
00106
|
||||
00107 <font class="comment">// Write data to output file;</font>
|
||||
00108 <font class="keyword">virtual</font> <font class="keywordtype">void</font> writeData( <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> frames );
|
||||
00109
|
||||
00110 <font class="comment">// Write STK RAW file header.</font>
|
||||
00111 <font class="keywordtype">bool</font> setRawFile( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00112
|
||||
00113 <font class="comment">// Write WAV file header.</font>
|
||||
00114 <font class="keywordtype">bool</font> setWavFile( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00115
|
||||
00116 <font class="comment">// Close WAV file, updating the header.</font>
|
||||
00117 <font class="keywordtype">void</font> closeWavFile( <font class="keywordtype">void</font> );
|
||||
00118
|
||||
00119 <font class="comment">// Write SND (AU) file header.</font>
|
||||
00120 <font class="keywordtype">bool</font> setSndFile( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00121
|
||||
00122 <font class="comment">// Close SND file, updating the header.</font>
|
||||
00123 <font class="keywordtype">void</font> closeSndFile( <font class="keywordtype">void</font> );
|
||||
00124
|
||||
00125 <font class="comment">// Write AIFF file header.</font>
|
||||
00126 <font class="keywordtype">bool</font> setAifFile( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00127
|
||||
00128 <font class="comment">// Close AIFF file, updating the header.</font>
|
||||
00129 <font class="keywordtype">void</font> closeAifFile( <font class="keywordtype">void</font> );
|
||||
00130
|
||||
00131 <font class="comment">// Write MAT-file header.</font>
|
||||
00132 <font class="keywordtype">bool</font> setMatFile( <font class="keyword">const</font> <font class="keywordtype">char</font> *fileName );
|
||||
00133
|
||||
00134 <font class="comment">// Close MAT-file, updating the header.</font>
|
||||
00135 <font class="keywordtype">void</font> closeMatFile( <font class="keywordtype">void</font> );
|
||||
00136
|
||||
00137 <font class="keywordtype">char</font> msg[256];
|
||||
00138 FILE *fd;
|
||||
00139 MY_FLOAT *data;
|
||||
00140 FILE_TYPE fileType;
|
||||
00141 STK_FORMAT dataType;
|
||||
00142 <font class="keywordtype">bool</font> byteswap;
|
||||
00143 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> channels;
|
||||
00144 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> counter;
|
||||
00145 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> totalCount;
|
||||
00146
|
||||
00147 };
|
||||
00148
|
||||
00149 <font class="preprocessor">#endif // defined(__WVOUT_H)</font>
|
||||
</font></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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
95
doc/html/annotated.html
Normal file
@@ -0,0 +1,95 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>STK Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<ul>
|
||||
<li><a class="el" href="classADSR.html">ADSR</a> (STK ADSR envelope class)
|
||||
<li><a class="el" href="classBandedWG.html">BandedWG</a> (Banded waveguide modeling class)
|
||||
<li><a class="el" href="classBeeThree.html">BeeThree</a> (STK Hammond-oid organ <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classBiQuad.html">BiQuad</a> (STK biquad (two-pole, two-zero) filter class)
|
||||
<li><a class="el" href="classBlowBotl.html">BlowBotl</a> (STK blown bottle instrument class)
|
||||
<li><a class="el" href="classBlowHole.html">BlowHole</a> (STK clarinet physical model with one register hole and one tonehole)
|
||||
<li><a class="el" href="classBowed.html">Bowed</a> (STK bowed string instrument class)
|
||||
<li><a class="el" href="classBowTabl.html">BowTabl</a> (STK bowed string table class)
|
||||
<li><a class="el" href="classBrass.html">Brass</a> (STK simple brass instrument class)
|
||||
<li><a class="el" href="classChorus.html">Chorus</a> (STK chorus effect class)
|
||||
<li><a class="el" href="classClarinet.html">Clarinet</a> (STK clarinet physical model class)
|
||||
<li><a class="el" href="classDelay.html">Delay</a> (STK non-interpolating delay line class)
|
||||
<li><a class="el" href="classDelayA.html">DelayA</a> (STK allpass interpolating delay line class)
|
||||
<li><a class="el" href="classDelayL.html">DelayL</a> (STK linear interpolating delay line class)
|
||||
<li><a class="el" href="classDrummer.html">Drummer</a> (STK drum sample player class)
|
||||
<li><a class="el" href="classEcho.html">Echo</a> (STK echo effect class)
|
||||
<li><a class="el" href="classEnvelope.html">Envelope</a> (STK envelope base class)
|
||||
<li><a class="el" href="classFilter.html">Filter</a> (STK filter class)
|
||||
<li><a class="el" href="classFlute.html">Flute</a> (STK flute physical model class)
|
||||
<li><a class="el" href="classFM.html">FM</a> (STK abstract FM synthesis base class)
|
||||
<li><a class="el" href="classFMVoices.html">FMVoices</a> (STK singing <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classFormSwep.html">FormSwep</a> (STK sweepable formant filter class)
|
||||
<li><a class="el" href="classHevyMetl.html">HevyMetl</a> (STK heavy metal <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classInstrmnt.html">Instrmnt</a> (STK instrument abstract base class)
|
||||
<li><a class="el" href="classJCRev.html">JCRev</a> (John Chowning's reverberator class)
|
||||
<li><a class="el" href="classJetTabl.html">JetTabl</a> (STK jet table class)
|
||||
<li><a class="el" href="classMandolin.html">Mandolin</a> (STK mandolin instrument model class)
|
||||
<li><a class="el" href="classMesh2D.html">Mesh2D</a> (Two-dimensional rectilinear waveguide mesh class)
|
||||
<li><a class="el" href="classMessager.html">Messager</a> (STK input control message parser)
|
||||
<li><a class="el" href="classModal.html">Modal</a> (STK resonance model instrument)
|
||||
<li><a class="el" href="classModalBar.html">ModalBar</a> (STK resonant bar instrument class)
|
||||
<li><a class="el" href="classModulate.html">Modulate</a> (STK periodic/random modulator)
|
||||
<li><a class="el" href="classMoog.html">Moog</a> (STK moog-like swept filter sampling synthesis class)
|
||||
<li><a class="el" href="classNoise.html">Noise</a> (STK noise generator)
|
||||
<li><a class="el" href="classNRev.html">NRev</a> (CCRMA's NRev reverberator class)
|
||||
<li><a class="el" href="classOnePole.html">OnePole</a> (STK one-pole filter class)
|
||||
<li><a class="el" href="classOneZero.html">OneZero</a> (STK one-zero filter class)
|
||||
<li><a class="el" href="classPercFlut.html">PercFlut</a> (STK percussive flute <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classPitShift.html">PitShift</a> (STK simple pitch shifter effect class)
|
||||
<li><a class="el" href="classPlucked.html">Plucked</a> (STK plucked string model class)
|
||||
<li><a class="el" href="classPluckTwo.html">PluckTwo</a> (STK enhanced plucked string model class)
|
||||
<li><a class="el" href="classPoleZero.html">PoleZero</a> (STK one-pole, one-zero filter class)
|
||||
<li><a class="el" href="classPRCRev.html">PRCRev</a> (Perry's simple reverberator class)
|
||||
<li><a class="el" href="classReedTabl.html">ReedTabl</a> (STK reed table class)
|
||||
<li><a class="el" href="classResonate.html">Resonate</a> (STK noise driven formant filter)
|
||||
<li><a class="el" href="classReverb.html">Reverb</a> (STK abstract reverberator parent class)
|
||||
<li><a class="el" href="classRhodey.html">Rhodey</a> (STK Fender Rhodes electric piano <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classRtDuplex.html">RtDuplex</a> (STK realtime audio input/output class)
|
||||
<li><a class="el" href="classRtMidi.html">RtMidi</a> (STK realtime MIDI class)
|
||||
<li><a class="el" href="classRtWvIn.html">RtWvIn</a> (STK realtime audio input class)
|
||||
<li><a class="el" href="classRtWvOut.html">RtWvOut</a> (STK realtime audio output class)
|
||||
<li><a class="el" href="classSampler.html">Sampler</a> (STK sampling synthesis abstract base class)
|
||||
<li><a class="el" href="classSaxofony.html">Saxofony</a> (STK faux conical bore reed instrument class)
|
||||
<li><a class="el" href="classShakers.html">Shakers</a> (PhISEM and PhOLIES class)
|
||||
<li><a class="el" href="classSimple.html">Simple</a> (STK wavetable/noise instrument)
|
||||
<li><a class="el" href="classSitar.html">Sitar</a> (STK sitar string model class)
|
||||
<li><a class="el" href="classSKINI.html">SKINI</a> (STK SKINI parsing class)
|
||||
<li><a class="el" href="classSocket.html">Socket</a> (STK TCP socket client/server class)
|
||||
<li><a class="el" href="classStifKarp.html">StifKarp</a> (STK plucked stiff string instrument)
|
||||
<li><a class="el" href="classStk.html">Stk</a> (STK base class)
|
||||
<li><a class="el" href="classStkError.html">StkError</a> (STK error handling class)
|
||||
<li><a class="el" href="classSubNoise.html">SubNoise</a> (STK sub-sampled noise generator)
|
||||
<li><a class="el" href="classTable.html">Table</a> (STK table lookup class)
|
||||
<li><a class="el" href="classTcpWvIn.html">TcpWvIn</a> (STK internet streaming input class)
|
||||
<li><a class="el" href="classTcpWvOut.html">TcpWvOut</a> (STK internet streaming output class)
|
||||
<li><a class="el" href="classThread.html">Thread</a> (STK thread class)
|
||||
<li><a class="el" href="classTubeBell.html">TubeBell</a> (STK tubular bell (orchestral chime) <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classTwoPole.html">TwoPole</a> (STK two-pole filter class)
|
||||
<li><a class="el" href="classTwoZero.html">TwoZero</a> (STK two-zero filter class)
|
||||
<li><a class="el" href="classWaveLoop.html">WaveLoop</a> (STK waveform oscillator class)
|
||||
<li><a class="el" href="classWurley.html">Wurley</a> (STK Wurlitzer electric piano <a class="el" href="classFM.html">FM</a> synthesis instrument)
|
||||
<li><a class="el" href="classWvIn.html">WvIn</a> (STK audio data input base class)
|
||||
<li><a class="el" href="classWvOut.html">WvOut</a> (STK audio data output base class)
|
||||
</ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/ccrma.gif
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
58
doc/html/classADSR-members.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>ADSR Member List</h1>This is the complete list of members for <a class="el" href="classADSR.html">ADSR</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classADSR.html#a0">ADSR</a>(void)
|
||||
<li><a class="el" href="classEnvelope.html#a0">Envelope</a>(void)
|
||||
<li><a class="el" href="classADSR.html#a13">getState</a>(void) const
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classADSR.html#a3">keyOff</a>(void)
|
||||
<code> [virtual]</code><li><a class="el" href="classADSR.html#a2">keyOn</a>(void)
|
||||
<code> [virtual]</code><li><a class="el" href="classEnvelope.html#a11">lastOut</a>(void) const
|
||||
<li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classADSR.html#a11">setAllTimes</a>(MY_FLOAT aTime, MY_FLOAT dTime, MY_FLOAT sLevel, MY_FLOAT rTime)
|
||||
<li><a class="el" href="classADSR.html#a4">setAttackRate</a>(MY_FLOAT aRate)
|
||||
<li><a class="el" href="classADSR.html#a8">setAttackTime</a>(MY_FLOAT aTime)
|
||||
<li><a class="el" href="classADSR.html#a5">setDecayRate</a>(MY_FLOAT aRate)
|
||||
<li><a class="el" href="classADSR.html#a9">setDecayTime</a>(MY_FLOAT aTime)
|
||||
<li><a class="el" href="classEnvelope.html#a4">setRate</a>(MY_FLOAT aRate)
|
||||
<li><a class="el" href="classADSR.html#a7">setReleaseRate</a>(MY_FLOAT aRate)
|
||||
<li><a class="el" href="classADSR.html#a10">setReleaseTime</a>(MY_FLOAT aTime)
|
||||
<li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classADSR.html#a6">setSustainLevel</a>(MY_FLOAT aLevel)
|
||||
<li><a class="el" href="classADSR.html#a12">setTarget</a>(MY_FLOAT aTarget)
|
||||
<code> [virtual]</code><li><a class="el" href="classEnvelope.html#a5">setTime</a>(MY_FLOAT aTime)
|
||||
<li><a class="el" href="classADSR.html#a14">setValue</a>(MY_FLOAT aValue)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classADSR.html#a15">tick</a>(void)
|
||||
<code> [virtual]</code><li><a class="el" href="classADSR.html#a16">tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classADSR.html#a1">~ADSR</a>(void)
|
||||
<li><a class="el" href="classEnvelope.html#a1">~Envelope</a>(void)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classADSR.gif
Normal file
|
After Width: | Height: | Size: 646 B |
105
doc/html/classADSR.html
Normal file
@@ -0,0 +1,105 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>ADSR Class Reference</h1>STK ADSR envelope class.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="ADSR_8h-source.html">ADSR.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for ADSR::
|
||||
<p><center><img src="classADSR.gif" usemap="#ADSR_map" border="0"></center>
|
||||
<map name="ADSR_map">
|
||||
<area href="classEnvelope.html" alt="Envelope" shape="rect" coords="0,56,65,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,65,24">
|
||||
</map>
|
||||
<a href="classADSR-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>enum </td><td valign=bottom>{ <br>
|
||||
<b>ATTACK</b>,
|
||||
<b>DECAY</b>,
|
||||
<b>SUSTAIN</b>,
|
||||
<b>RELEASE</b>,
|
||||
<br>
|
||||
<b>DONE</b>
|
||||
<br>
|
||||
}</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em><a class="el" href="classEnvelope.html">Envelope</a> states.</em></font><br><br></td></tr>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="ADSR::ADSR"></a>
|
||||
</td><td valign=bottom><a class="el" href="classADSR.html#a0">ADSR</a> (void)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Default constructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="ADSR::~ADSR"></a>
|
||||
</td><td valign=bottom><a class="el" href="classADSR.html#a1">~ADSR</a> (void)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="ADSR::keyOn"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a2">keyOn</a> (void)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set target = 1, state = <em>ADSR::ATTACK</em>.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="ADSR::keyOff"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a3">keyOff</a> (void)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set target = 0, state = <em>ADSR::RELEASE</em>.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="ADSR::setAttackRate"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a4">setAttackRate</a> (MY_FLOAT aRate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the attack rate.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="ADSR::setDecayRate"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a5">setDecayRate</a> (MY_FLOAT aRate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the decay rate.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="ADSR::setSustainLevel"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a6">setSustainLevel</a> (MY_FLOAT aLevel)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the sustain level.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="ADSR::setReleaseRate"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a7">setReleaseRate</a> (MY_FLOAT aRate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the release rate.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="ADSR::setAttackTime"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a8">setAttackTime</a> (MY_FLOAT aTime)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the attack rate based on a time duration.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a9" doxytag="ADSR::setDecayTime"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a9">setDecayTime</a> (MY_FLOAT aTime)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the decay rate based on a time duration.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a10" doxytag="ADSR::setReleaseTime"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a10">setReleaseTime</a> (MY_FLOAT aTime)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the release rate based on a time duration.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a11" doxytag="ADSR::setAllTimes"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a11">setAllTimes</a> (MY_FLOAT aTime, MY_FLOAT dTime, MY_FLOAT sLevel, MY_FLOAT rTime)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set sustain level and attack, decay, and release state rates based on time durations.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a12" doxytag="ADSR::setTarget"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a12">setTarget</a> (MY_FLOAT aTarget)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the target value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a13" doxytag="ADSR::getState"></a>
|
||||
int </td><td valign=bottom><a class="el" href="classADSR.html#a13">getState</a> (void) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return the current envelope <em>state</em> (ATTACK, DECAY, SUSTAIN, RELEASE, DONE).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a14" doxytag="ADSR::setValue"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classADSR.html#a14">setValue</a> (MY_FLOAT aValue)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set to state = ADSR::SUSTAIN with current and target values of <em>aValue</em>.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a15" doxytag="ADSR::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classADSR.html#a15">tick</a> (void)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return one envelope output value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a16" doxytag="ADSR::tick"></a>
|
||||
MY_FLOAT* </td><td valign=bottom><a class="el" href="classADSR.html#a16">tick</a> (MY_FLOAT *vector, unsigned int vectorSize)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return <em>vectorSize</em> envelope outputs in <em>vector</em>.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK ADSR envelope class.
|
||||
<p>
|
||||
This <a class="el" href="classEnvelope.html">Envelope</a> subclass implements a traditional ADSR (Attack, Decay, Sustain, Release) envelope. It responds to simple keyOn and keyOff messages, keeping track of its state. The <em>state</em> = ADSR::DONE after the envelope value reaches 0.0 in the ADSR::RELEASE state.
|
||||
<p>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="ADSR_8h-source.html">ADSR.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
53
doc/html/classBandedWG-members.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BandedWG Member List</h1>This is the complete list of members for <a class="el" href="classBandedWG.html">BandedWG</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBandedWG.html#a0">BandedWG</a>()
|
||||
<li><a class="el" href="classBandedWG.html#a2">clear</a>()
|
||||
<li><a class="el" href="classBandedWG.html#a12">controlChange</a>(int number, MY_FLOAT value)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classInstrmnt.html#a0">Instrmnt</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a5">lastOut</a>() const
|
||||
<li><a class="el" href="classBandedWG.html#a10">noteOff</a>(MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBandedWG.html#a9">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBandedWG.html#a8">pluck</a>(MY_FLOAT amp)
|
||||
<li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classBandedWG.html#a5">setFrequency</a>(MY_FLOAT frequency)
|
||||
<code> [virtual]</code><li><a class="el" href="classBandedWG.html#a4">setPreset</a>(int preset)
|
||||
<li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classBandedWG.html#a3">setStrikePosition</a>(MY_FLOAT position)
|
||||
<li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classBandedWG.html#a6">startBowing</a>(MY_FLOAT amplitude, MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classBandedWG.html#a7">stopBowing</a>(MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBandedWG.html#a11">tick</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a7">Instrmnt::tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBandedWG.html#a1">~BandedWG</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a1">~Instrmnt</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBandedWG.gif
Normal file
|
After Width: | Height: | Size: 695 B |
86
doc/html/classBandedWG.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BandedWG Class Reference</h1>Banded waveguide modeling class.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="BandedWG_8h-source.html">BandedWG.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for BandedWG::
|
||||
<p><center><img src="classBandedWG.gif" usemap="#BandedWG_map" border="0"></center>
|
||||
<map name="BandedWG_map">
|
||||
<area href="classInstrmnt.html" alt="Instrmnt" shape="rect" coords="0,56,75,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,75,24">
|
||||
</map>
|
||||
<a href="classBandedWG-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="BandedWG::BandedWG"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBandedWG.html#a0">BandedWG</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class constructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="BandedWG::~BandedWG"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBandedWG.html#a1">~BandedWG</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="BandedWG::clear"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a2">clear</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Reset and clear all internal state.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="BandedWG::setStrikePosition"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a3">setStrikePosition</a> (MY_FLOAT position)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set strike position (0.0 - 1.0).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="BandedWG::setPreset"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a4">setPreset</a> (int preset)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Select a preset.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="BandedWG::setFrequency"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a5">setFrequency</a> (MY_FLOAT frequency)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set instrument parameters for a particular frequency.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="BandedWG::startBowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a6">startBowing</a> (MY_FLOAT amplitude, MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Apply bow velocity/pressure to instrument with given amplitude and rate of increase.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="BandedWG::stopBowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a7">stopBowing</a> (MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Decrease bow velocity/breath pressure with given rate of decrease.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="BandedWG::pluck"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a8">pluck</a> (MY_FLOAT amp)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Pluck the instrument with given amplitude.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a9" doxytag="BandedWG::noteOn"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a9">noteOn</a> (MY_FLOAT frequency, MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Start a note with the given frequency and amplitude.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a10" doxytag="BandedWG::noteOff"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a10">noteOff</a> (MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Stop a note with the given amplitude (speed of decay).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a11" doxytag="BandedWG::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBandedWG.html#a11">tick</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Compute one output sample.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a12" doxytag="BandedWG::controlChange"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBandedWG.html#a12">controlChange</a> (int number, MY_FLOAT value)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Perform the control change specified by <em>number</em> and <em>value</em> (0.0 - 128.0).</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
Banded waveguide modeling class.
|
||||
<p>
|
||||
This class uses banded waveguide techniques to model a variety of sounds, including bowed bars, glasses, and bowls. For more information, see Essl, G. and Cook, P. "Banded Waveguides: Towards Physical Modelling of Bar Percussion Instruments", Proceedings of the 1999 International Computer Music Conference.
|
||||
<p>
|
||||
Control Change Numbers: <ul>
|
||||
<li>Bow Pressure = 2<li>Bow Motion = 4<li>Strike Position = 8 (not implemented)<li>Vibrato Frequency = 11<li>Gain = 1<li>Bow Velocity = 128<li>Set Striking = 64<li>Instrument Presets = 16<ul>
|
||||
<li>Uniform Bar = 0<li>Tuned Bar = 1<li>Glass Harmonica = 2<li>Tibetan Bowl = 3</ul>
|
||||
</ul>
|
||||
by Georg Essl, 1999 - 2002. Modified for <a class="el" href="classStk.html">Stk</a> 4.0 by Gary Scavone.
|
||||
<p>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="BandedWG_8h-source.html">BandedWG.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
59
doc/html/classBeeThree-members.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BeeThree Member List</h1>This is the complete list of members for <a class="el" href="classBeeThree.html">BeeThree</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBeeThree.html#a0">BeeThree</a>()
|
||||
<li><a class="el" href="classFM.html#a2">clear</a>()
|
||||
<li><a class="el" href="classFM.html#a15">controlChange</a>(int number, MY_FLOAT value)
|
||||
<code> [virtual]</code><li><a class="el" href="classFM.html#a0">FM</a>(int operators=4)
|
||||
<li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classInstrmnt.html#a0">Instrmnt</a>()
|
||||
<li><a class="el" href="classFM.html#a12">keyOff</a>()
|
||||
<li><a class="el" href="classFM.html#a11">keyOn</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a5">lastOut</a>() const
|
||||
<li><a class="el" href="classFM.html#a3">loadWaves</a>(const char **filenames)
|
||||
<li><a class="el" href="classFM.html#a13">noteOff</a>(MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBeeThree.html#a2">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classFM.html#a9">setControl1</a>(MY_FLOAT cVal)
|
||||
<li><a class="el" href="classFM.html#a10">setControl2</a>(MY_FLOAT cVal)
|
||||
<li><a class="el" href="classFM.html#a4">setFrequency</a>(MY_FLOAT frequency)
|
||||
<code> [virtual]</code><li><a class="el" href="classFM.html#a6">setGain</a>(int waveIndex, MY_FLOAT gain)
|
||||
<li><a class="el" href="classFM.html#a8">setModulationDepth</a>(MY_FLOAT mDepth)
|
||||
<li><a class="el" href="classFM.html#a7">setModulationSpeed</a>(MY_FLOAT mSpeed)
|
||||
<li><a class="el" href="classFM.html#a5">setRatio</a>(int waveIndex, MY_FLOAT ratio)
|
||||
<li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBeeThree.html#a3">tick</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a7">Instrmnt::tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBeeThree.html#a1">~BeeThree</a>()
|
||||
<li><a class="el" href="classFM.html#a1">~FM</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a1">~Instrmnt</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBeeThree.gif
Normal file
|
After Width: | Height: | Size: 815 B |
67
doc/html/classBeeThree.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BeeThree Class Reference</h1>STK Hammond-oid organ <a class="el" href="classFM.html">FM</a> synthesis instrument.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="BeeThree_8h-source.html">BeeThree.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for BeeThree::
|
||||
<p><center><img src="classBeeThree.gif" usemap="#BeeThree_map" border="0"></center>
|
||||
<map name="BeeThree_map">
|
||||
<area href="classFM.html" alt="FM" shape="rect" coords="0,112,67,136">
|
||||
<area href="classInstrmnt.html" alt="Instrmnt" shape="rect" coords="0,56,67,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,67,24">
|
||||
</map>
|
||||
<a href="classBeeThree-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="BeeThree::BeeThree"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBeeThree.html#a0">BeeThree</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class constructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="BeeThree::~BeeThree"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBeeThree.html#a1">~BeeThree</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="BeeThree::noteOn"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBeeThree.html#a2">noteOn</a> (MY_FLOAT frequency, MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Start a note with the given frequency and amplitude.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="BeeThree::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBeeThree.html#a3">tick</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Compute one output sample.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK Hammond-oid organ <a class="el" href="classFM.html">FM</a> synthesis instrument.
|
||||
<p>
|
||||
This class implements a simple 4 operator topology, also referred to as algorithm 8 of the TX81Z.
|
||||
<p>
|
||||
<div class="fragment"><pre> Algorithm 8 is :
|
||||
1 --.
|
||||
2 -\|
|
||||
+-> Out
|
||||
3 -/|
|
||||
4 --</pre></div>
|
||||
<p>
|
||||
Control Change Numbers: <ul>
|
||||
<li>Operator 4 (feedback) Gain = 2<li>Operator 3 Gain = 4<li>LFO Speed = 11<li>LFO Depth = 1<li><a class="el" href="classADSR.html">ADSR</a> 2 & 4 Target = 128</ul>
|
||||
The basic Chowning/Stanford <a class="el" href="classFM.html">FM</a> patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
|
||||
<p>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="BeeThree_8h-source.html">BeeThree.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
58
doc/html/classBiQuad-members.html
Normal file
@@ -0,0 +1,58 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BiQuad Member List</h1>This is the complete list of members for <a class="el" href="classBiQuad.html">BiQuad</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBiQuad.html#a0">BiQuad</a>()
|
||||
<li><a class="el" href="classBiQuad.html#a2">clear</a>(void)
|
||||
<li><a class="el" href="classFilter.html#a0">Filter</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classFilter.html#a1">Filter</a>(int nb, MY_FLOAT *bCoefficients, int na, MY_FLOAT *aCoefficients)
|
||||
<code> [protected]</code><li><a class="el" href="classBiQuad.html#a12">getGain</a>(void) const
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classBiQuad.html#a13">lastOut</a>(void) const
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [protected, static]</code><li><a class="el" href="classBiQuad.html#a6">setA1</a>(MY_FLOAT a1)
|
||||
<li><a class="el" href="classBiQuad.html#a7">setA2</a>(MY_FLOAT a2)
|
||||
<li><a class="el" href="classBiQuad.html#a3">setB0</a>(MY_FLOAT b0)
|
||||
<li><a class="el" href="classBiQuad.html#a4">setB1</a>(MY_FLOAT b1)
|
||||
<li><a class="el" href="classBiQuad.html#a5">setB2</a>(MY_FLOAT b2)
|
||||
<li><a class="el" href="classFilter.html#a4">setCoefficients</a>(int nb, MY_FLOAT *bCoefficients, int na, MY_FLOAT *aCoefficients)
|
||||
<code> [protected]</code><li><a class="el" href="classFilter.html#a6">setDenominator</a>(int na, MY_FLOAT *aCoefficients)
|
||||
<code> [protected]</code><li><a class="el" href="classBiQuad.html#a10">setEqualGainZeroes</a>()
|
||||
<li><a class="el" href="classBiQuad.html#a11">setGain</a>(MY_FLOAT theGain)
|
||||
<code> [virtual]</code><li><a class="el" href="classBiQuad.html#a9">setNotch</a>(MY_FLOAT frequency, MY_FLOAT radius)
|
||||
<li><a class="el" href="classFilter.html#a5">setNumerator</a>(int nb, MY_FLOAT *bCoefficients)
|
||||
<code> [protected]</code><li><a class="el" href="classBiQuad.html#a8">setResonance</a>(MY_FLOAT frequency, MY_FLOAT radius, bool normalize=FALSE)
|
||||
<li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [protected, static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [protected, static]</code><li><a class="el" href="classBiQuad.html#a14">tick</a>(MY_FLOAT sample)
|
||||
<code> [virtual]</code><li><a class="el" href="classBiQuad.html#a15">tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBiQuad.html#a1">~BiQuad</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classFilter.html#a2">~Filter</a>(void)
|
||||
<code> [protected, virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBiQuad.gif
Normal file
|
After Width: | Height: | Size: 859 B |
233
doc/html/classBiQuad.html
Normal file
@@ -0,0 +1,233 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BiQuad Class Reference</h1>STK biquad (two-pole, two-zero) filter class.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="BiQuad_8h-source.html">BiQuad.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for BiQuad::
|
||||
<p><center><img src="classBiQuad.gif" usemap="#BiQuad_map" border="0"></center>
|
||||
<map name="BiQuad_map">
|
||||
<area href="classFilter.html" alt="Filter" shape="rect" coords="0,56,72,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,72,24">
|
||||
<area href="classFormSwep.html" alt="FormSwep" shape="rect" coords="0,168,72,192">
|
||||
</map>
|
||||
<a href="classBiQuad-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="BiQuad::BiQuad"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBiQuad.html#a0">BiQuad</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Default constructor creates a second-order pass-through filter.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="BiQuad::~BiQuad"></a>
|
||||
virtual </td><td valign=bottom><a class="el" href="classBiQuad.html#a1">~BiQuad</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="BiQuad::clear"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBiQuad.html#a2">clear</a> (void)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Clears all internal states of the filter.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="BiQuad::setB0"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBiQuad.html#a3">setB0</a> (MY_FLOAT b0)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the b[0] coefficient value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="BiQuad::setB1"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBiQuad.html#a4">setB1</a> (MY_FLOAT b1)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the b[1] coefficient value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="BiQuad::setB2"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBiQuad.html#a5">setB2</a> (MY_FLOAT b2)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the b[2] coefficient value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="BiQuad::setA1"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBiQuad.html#a6">setA1</a> (MY_FLOAT a1)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the a[1] coefficient value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="BiQuad::setA2"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBiQuad.html#a7">setA2</a> (MY_FLOAT a2)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the a[2] coefficient value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBiQuad.html#a8">setResonance</a> (MY_FLOAT frequency, MY_FLOAT radius, bool normalize=FALSE)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Sets the filter coefficients for a resonance at <em>frequency</em> (in Hz).</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBiQuad.html#a9">setNotch</a> (MY_FLOAT frequency, MY_FLOAT radius)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the filter coefficients for a notch at <em>frequency</em> (in Hz).</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBiQuad.html#a10">setEqualGainZeroes</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Sets the filter zeroes for equal resonance gain.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBiQuad.html#a11">setGain</a> (MY_FLOAT theGain)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the filter gain.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a12" doxytag="BiQuad::getGain"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBiQuad.html#a12">getGain</a> (void) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return the current filter gain.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a13" doxytag="BiQuad::lastOut"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBiQuad.html#a13">lastOut</a> (void) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return the last computed output value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a14" doxytag="BiQuad::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBiQuad.html#a14">tick</a> (MY_FLOAT sample)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Input one sample to the filter and return one output.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a15" doxytag="BiQuad::tick"></a>
|
||||
MY_FLOAT* </td><td valign=bottom><a class="el" href="classBiQuad.html#a15">tick</a> (MY_FLOAT *vector, unsigned int vectorSize)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Input <em>vectorSize</em> samples to the filter and return an equal number of outputs in <em>vector</em>.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK biquad (two-pole, two-zero) filter class.
|
||||
<p>
|
||||
This protected <a class="el" href="classFilter.html">Filter</a> subclass implements a two-pole, two-zero digital filter. A method is provided for creating a resonance in the frequency response while maintaining a constant filter gain.
|
||||
<p>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr><h2>Member Function Documentation</h2>
|
||||
<a name="a8" doxytag="BiQuad::setResonance"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
void BiQuad::setResonance (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
MY_FLOAT <em>frequency</em>,
|
||||
</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><b>
|
||||
MY_FLOAT <em>radius</em>,
|
||||
</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><b>
|
||||
bool <em>normalize</em> = FALSE )
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Sets the filter coefficients for a resonance at <em>frequency</em> (in Hz).
|
||||
<p>
|
||||
This method determines the filter coefficients corresponding to two complex-conjugate poles with the given <em>frequency</em> (in Hz) and <em>radius</em> from the z-plane origin. If <em>normalize</em> is true, the filter zeros are placed at z = 1, z = -1, and the coefficients are then normalized to produce a constant unity peak gain (independent of the filter <em>gain</em> parameter). The resulting filter frequency response has a resonance at the given <em>frequency</em>. The closer the poles are to the unit-circle (<em>radius</em> close to one), the narrower the resulting resonance width. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="BiQuad::setNotch"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
void BiQuad::setNotch (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
MY_FLOAT <em>frequency</em>,
|
||||
</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><b>
|
||||
MY_FLOAT <em>radius</em> )
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Set the filter coefficients for a notch at <em>frequency</em> (in Hz).
|
||||
<p>
|
||||
This method determines the filter coefficients corresponding to two complex-conjugate zeros with the given <em>frequency</em> (in Hz) and <em>radius</em> from the z-plane origin. No filter normalization is attempted. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a10" doxytag="BiQuad::setEqualGainZeroes"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
void BiQuad::setEqualGainZeroes (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
)
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Sets the filter zeroes for equal resonance gain.
|
||||
<p>
|
||||
When using the filter as a resonator, zeroes places at z = 1, z = -1 will result in a constant gain at resonance of 1 / (1 - R), where R is the pole radius setting. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a11" doxytag="BiQuad::setGain"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
void BiQuad::setGain (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
MY_FLOAT <em>theGain</em> )<code> [virtual]</code>
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Set the filter gain.
|
||||
<p>
|
||||
The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.
|
||||
<p>
|
||||
Reimplemented from <a class="el" href="classFilter.html#a7">Filter</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="BiQuad_8h-source.html">BiQuad.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
50
doc/html/classBlowBotl-members.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BlowBotl Member List</h1>This is the complete list of members for <a class="el" href="classBlowBotl.html">BlowBotl</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBlowBotl.html#a0">BlowBotl</a>()
|
||||
<li><a class="el" href="classBlowBotl.html#a2">clear</a>()
|
||||
<li><a class="el" href="classBlowBotl.html#a9">controlChange</a>(int number, MY_FLOAT value)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classInstrmnt.html#a0">Instrmnt</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a5">lastOut</a>() const
|
||||
<li><a class="el" href="classBlowBotl.html#a7">noteOff</a>(MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBlowBotl.html#a6">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classBlowBotl.html#a3">setFrequency</a>(MY_FLOAT frequency)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classBlowBotl.html#a4">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classBlowBotl.html#a5">stopBlowing</a>(MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBlowBotl.html#a8">tick</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a7">Instrmnt::tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBlowBotl.html#a1">~BlowBotl</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a1">~Instrmnt</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBlowBotl.gif
Normal file
|
After Width: | Height: | Size: 639 B |
75
doc/html/classBlowBotl.html
Normal file
@@ -0,0 +1,75 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BlowBotl Class Reference</h1>STK blown bottle instrument class.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="BlowBotl_8h-source.html">BlowBotl.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for BlowBotl::
|
||||
<p><center><img src="classBlowBotl.gif" usemap="#BlowBotl_map" border="0"></center>
|
||||
<map name="BlowBotl_map">
|
||||
<area href="classInstrmnt.html" alt="Instrmnt" shape="rect" coords="0,56,60,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,60,24">
|
||||
</map>
|
||||
<a href="classBlowBotl-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="BlowBotl::BlowBotl"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBlowBotl.html#a0">BlowBotl</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class constructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="BlowBotl::~BlowBotl"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBlowBotl.html#a1">~BlowBotl</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="BlowBotl::clear"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a2">clear</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Reset and clear all internal state.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="BlowBotl::setFrequency"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a3">setFrequency</a> (MY_FLOAT frequency)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set instrument parameters for a particular frequency.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="BlowBotl::startBlowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a4">startBlowing</a> (MY_FLOAT amplitude, MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Apply breath velocity to instrument with given amplitude and rate of increase.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="BlowBotl::stopBlowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a5">stopBlowing</a> (MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Decrease breath velocity with given rate of decrease.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="BlowBotl::noteOn"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a6">noteOn</a> (MY_FLOAT frequency, MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Start a note with the given frequency and amplitude.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="BlowBotl::noteOff"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a7">noteOff</a> (MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Stop a note with the given amplitude (speed of decay).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="BlowBotl::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBlowBotl.html#a8">tick</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Compute one output sample.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a9" doxytag="BlowBotl::controlChange"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowBotl.html#a9">controlChange</a> (int number, MY_FLOAT value)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Perform the control change specified by <em>number</em> and <em>value</em> (0.0 - 128.0).</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK blown bottle instrument class.
|
||||
<p>
|
||||
This class implements a helmholtz resonator (biquad filter) with a polynomial jet excitation (a la Cook).
|
||||
<p>
|
||||
Control Change Numbers: <ul>
|
||||
<li><a class="el" href="classNoise.html">Noise</a> Gain = 4<li>Vibrato Frequency = 11<li>Vibrato Gain = 1<li>Volume = 128</ul>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="BlowBotl_8h-source.html">BlowBotl.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
52
doc/html/classBlowHole-members.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BlowHole Member List</h1>This is the complete list of members for <a class="el" href="classBlowHole.html">BlowHole</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBlowHole.html#a0">BlowHole</a>(MY_FLOAT lowestFrequency)
|
||||
<li><a class="el" href="classBlowHole.html#a2">clear</a>()
|
||||
<li><a class="el" href="classBlowHole.html#a11">controlChange</a>(int number, MY_FLOAT value)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classInstrmnt.html#a0">Instrmnt</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a5">lastOut</a>() const
|
||||
<li><a class="el" href="classBlowHole.html#a9">noteOff</a>(MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBlowHole.html#a8">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classBlowHole.html#a3">setFrequency</a>(MY_FLOAT frequency)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classBlowHole.html#a4">setTonehole</a>(MY_FLOAT newValue)
|
||||
<li><a class="el" href="classBlowHole.html#a5">setVent</a>(MY_FLOAT newValue)
|
||||
<li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classBlowHole.html#a6">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classBlowHole.html#a7">stopBlowing</a>(MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBlowHole.html#a10">tick</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a7">Instrmnt::tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBlowHole.html#a1">~BlowHole</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a1">~Instrmnt</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBlowHole.gif
Normal file
|
After Width: | Height: | Size: 655 B |
85
doc/html/classBlowHole.html
Normal file
@@ -0,0 +1,85 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BlowHole Class Reference</h1>STK clarinet physical model with one register hole and one tonehole.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="BlowHole_8h-source.html">BlowHole.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for BlowHole::
|
||||
<p><center><img src="classBlowHole.gif" usemap="#BlowHole_map" border="0"></center>
|
||||
<map name="BlowHole_map">
|
||||
<area href="classInstrmnt.html" alt="Instrmnt" shape="rect" coords="0,56,65,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,65,24">
|
||||
</map>
|
||||
<a href="classBlowHole-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="BlowHole::BlowHole"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBlowHole.html#a0">BlowHole</a> (MY_FLOAT lowestFrequency)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class constructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="BlowHole::~BlowHole"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBlowHole.html#a1">~BlowHole</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="BlowHole::clear"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a2">clear</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Reset and clear all internal state.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="BlowHole::setFrequency"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a3">setFrequency</a> (MY_FLOAT frequency)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set instrument parameters for a particular frequency.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="BlowHole::setTonehole"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a4">setTonehole</a> (MY_FLOAT newValue)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the tonehole state (0.0 = closed, 1.0 = fully open).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="BlowHole::setVent"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a5">setVent</a> (MY_FLOAT newValue)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the register hole state (0.0 = closed, 1.0 = fully open).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="BlowHole::startBlowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a6">startBlowing</a> (MY_FLOAT amplitude, MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Apply breath pressure to instrument with given amplitude and rate of increase.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="BlowHole::stopBlowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a7">stopBlowing</a> (MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Decrease breath pressure with given rate of decrease.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="BlowHole::noteOn"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a8">noteOn</a> (MY_FLOAT frequency, MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Start a note with the given frequency and amplitude.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a9" doxytag="BlowHole::noteOff"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a9">noteOff</a> (MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Stop a note with the given amplitude (speed of decay).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a10" doxytag="BlowHole::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBlowHole.html#a10">tick</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Compute one output sample.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a11" doxytag="BlowHole::controlChange"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBlowHole.html#a11">controlChange</a> (int number, MY_FLOAT value)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Perform the control change specified by <em>number</em> and <em>value</em> (0.0 - 128.0).</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK clarinet physical model with one register hole and one tonehole.
|
||||
<p>
|
||||
This class is based on the clarinet model, with the addition of a two-port register hole and a three-port dynamic tonehole implementation, as discussed by Scavone and Cook (1998).
|
||||
<p>
|
||||
In this implementation, the distances between the reed/register hole and tonehole/bell are fixed. As a result, both the tonehole and register hole will have variable influence on the playing frequency, which is dependent on the length of the air column. In addition, the highest playing freqeuency is limited by these fixed lengths.
|
||||
<p>
|
||||
This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.
|
||||
<p>
|
||||
Control Change Numbers: <ul>
|
||||
<li>Reed Stiffness = 2<li><a class="el" href="classNoise.html">Noise</a> Gain = 4<li>Tonehole State = 11<li>Register State = 1<li>Breath Pressure = 128</ul>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="BlowHole_8h-source.html">BlowHole.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
43
doc/html/classBowTabl-members.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BowTabl Member List</h1>This is the complete list of members for <a class="el" href="classBowTabl.html">BowTabl</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBowTabl.html#a0">BowTabl</a>()
|
||||
<li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classBowTabl.html#a4">lastOut</a>(void) const
|
||||
<li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classBowTabl.html#a2">setOffset</a>(MY_FLOAT aValue)
|
||||
<li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classBowTabl.html#a3">setSlope</a>(MY_FLOAT aValue)
|
||||
<li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBowTabl.html#a5">tick</a>(const MY_FLOAT input)
|
||||
<li><a class="el" href="classBowTabl.html#a6">tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<li><a class="el" href="classBowTabl.html#a1">~BowTabl</a>()
|
||||
<li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBowTabl.gif
Normal file
|
After Width: | Height: | Size: 438 B |
154
doc/html/classBowTabl.html
Normal file
@@ -0,0 +1,154 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>BowTabl Class Reference</h1>STK bowed string table class.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="BowTabl_8h-source.html">BowTabl.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for BowTabl::
|
||||
<p><center><img src="classBowTabl.gif" usemap="#BowTabl_map" border="0"></center>
|
||||
<map name="BowTabl_map">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,60,24">
|
||||
</map>
|
||||
<a href="classBowTabl-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="BowTabl::BowTabl"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBowTabl.html#a0">BowTabl</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Default constructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="BowTabl::~BowTabl"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBowTabl.html#a1">~BowTabl</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBowTabl.html#a2">setOffset</a> (MY_FLOAT aValue)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the table offset value.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classBowTabl.html#a3">setSlope</a> (MY_FLOAT aValue)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set the table slope value.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="BowTabl::lastOut"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBowTabl.html#a4">lastOut</a> (void) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return the last output value.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>MY_FLOAT </td><td valign=bottom><a class="el" href="classBowTabl.html#a5">tick</a> (const MY_FLOAT input)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Return the function value for <em>input</em>.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="BowTabl::tick"></a>
|
||||
MY_FLOAT* </td><td valign=bottom><a class="el" href="classBowTabl.html#a6">tick</a> (MY_FLOAT *vector, unsigned int vectorSize)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Take <em>vectorSize</em> inputs and return the corresponding function values in <em>vector</em>.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK bowed string table class.
|
||||
<p>
|
||||
This class implements a simple bowed string non-linear function, as described by Smith (1986).
|
||||
<p>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr><h2>Member Function Documentation</h2>
|
||||
<a name="a2" doxytag="BowTabl::setOffset"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
void BowTabl::setOffset (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
MY_FLOAT <em>aValue</em> )
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Set the table offset value.
|
||||
<p>
|
||||
The table offset is a bias which controls the symmetry of the friction. If you want the friction to vary with direction, use a non-zero value for the offset. The default value is zero. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a3" doxytag="BowTabl::setSlope"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
void BowTabl::setSlope (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
MY_FLOAT <em>aValue</em> )
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Set the table slope value.
|
||||
<p>
|
||||
The table slope controls the width of the friction pulse, which is related to bow force. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a5" doxytag="BowTabl::tick"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td nowrap valign="top"><b>
|
||||
MY_FLOAT BowTabl::tick (
|
||||
</b></td>
|
||||
<td valign="bottom"><b>
|
||||
const MY_FLOAT <em>input</em> )
|
||||
</b></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Return the function value for <em>input</em>.
|
||||
<p>
|
||||
The function input represents differential string-to-bow velocity. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="BowTabl_8h-source.html">BowTabl.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
51
doc/html/classBowed-members.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Bowed Member List</h1>This is the complete list of members for <a class="el" href="classBowed.html">Bowed</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBowed.html#a0">Bowed</a>(MY_FLOAT lowestFrequency)
|
||||
<li><a class="el" href="classBowed.html#a2">clear</a>()
|
||||
<li><a class="el" href="classBowed.html#a10">controlChange</a>(int number, MY_FLOAT value)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classInstrmnt.html#a0">Instrmnt</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a5">lastOut</a>() const
|
||||
<li><a class="el" href="classBowed.html#a8">noteOff</a>(MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBowed.html#a7">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classBowed.html#a3">setFrequency</a>(MY_FLOAT frequency)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classBowed.html#a4">setVibrato</a>(MY_FLOAT gain)
|
||||
<li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classBowed.html#a5">startBowing</a>(MY_FLOAT amplitude, MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classBowed.html#a6">stopBowing</a>(MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBowed.html#a9">tick</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a7">Instrmnt::tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBowed.html#a1">~Bowed</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a1">~Instrmnt</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
BIN
doc/html/classBowed.gif
Normal file
|
After Width: | Height: | Size: 609 B |
80
doc/html/classBowed.html
Normal file
@@ -0,0 +1,80 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Bowed Class Reference</h1>STK bowed string instrument class.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="Bowed_8h-source.html">Bowed.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for Bowed::
|
||||
<p><center><img src="classBowed.gif" usemap="#Bowed_map" border="0"></center>
|
||||
<map name="Bowed_map">
|
||||
<area href="classInstrmnt.html" alt="Instrmnt" shape="rect" coords="0,56,55,80">
|
||||
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,55,24">
|
||||
</map>
|
||||
<a href="classBowed-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="Bowed::Bowed"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBowed.html#a0">Bowed</a> (MY_FLOAT lowestFrequency)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class constructor, taking the lowest desired playing frequency.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="Bowed::~Bowed"></a>
|
||||
</td><td valign=bottom><a class="el" href="classBowed.html#a1">~Bowed</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="Bowed::clear"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a2">clear</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Reset and clear all internal state.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="Bowed::setFrequency"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a3">setFrequency</a> (MY_FLOAT frequency)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set instrument parameters for a particular frequency.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="Bowed::setVibrato"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a4">setVibrato</a> (MY_FLOAT gain)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set vibrato gain.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="Bowed::startBowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a5">startBowing</a> (MY_FLOAT amplitude, MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Apply breath pressure to instrument with given amplitude and rate of increase.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="Bowed::stopBowing"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a6">stopBowing</a> (MY_FLOAT rate)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Decrease breath pressure with given rate of decrease.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="Bowed::noteOn"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a7">noteOn</a> (MY_FLOAT frequency, MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Start a note with the given frequency and amplitude.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="Bowed::noteOff"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a8">noteOff</a> (MY_FLOAT amplitude)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Stop a note with the given amplitude (speed of decay).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a9" doxytag="Bowed::tick"></a>
|
||||
MY_FLOAT </td><td valign=bottom><a class="el" href="classBowed.html#a9">tick</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Compute one output sample.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a10" doxytag="Bowed::controlChange"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classBowed.html#a10">controlChange</a> (int number, MY_FLOAT value)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Perform the control change specified by <em>number</em> and <em>value</em> (0.0 - 128.0).</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STK bowed string instrument class.
|
||||
<p>
|
||||
This class implements a bowed string model, a la Smith (1986), after McIntyre, Schumacher, Woodhouse (1983).
|
||||
<p>
|
||||
This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.
|
||||
<p>
|
||||
Control Change Numbers: <ul>
|
||||
<li>Bow Pressure = 2<li>Bow Position = 4<li>Vibrato Frequency = 11<li>Vibrato Gain = 1<li>Volume = 128</ul>
|
||||
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
||||
<p>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="Bowed_8h-source.html">Bowed.h</a></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
51
doc/html/classBrass-members.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>Brass Member List</h1>This is the complete list of members for <a class="el" href="classBrass.html">Brass</a>, including all inherited members.<ul>
|
||||
<li><a class="el" href="classBrass.html#a0">Brass</a>(MY_FLOAT lowestFrequency)
|
||||
<li><a class="el" href="classBrass.html#a2">clear</a>()
|
||||
<li><a class="el" href="classBrass.html#a10">controlChange</a>(int number, MY_FLOAT value)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#e0">handleError</a>(const char *message, StkError::TYPE type)
|
||||
<code> [protected, static]</code><li><a class="el" href="classInstrmnt.html#a0">Instrmnt</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a5">lastOut</a>() const
|
||||
<li><a class="el" href="classBrass.html#a8">noteOff</a>(MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classBrass.html#a7">noteOn</a>(MY_FLOAT frequency, MY_FLOAT amplitude)
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#d0">sampleRate</a>(void)
|
||||
<code> [static]</code><li><a class="el" href="classBrass.html#a3">setFrequency</a>(MY_FLOAT frequency)
|
||||
<code> [virtual]</code><li><a class="el" href="classBrass.html#a4">setLip</a>(MY_FLOAT frequency)
|
||||
<li><a class="el" href="classStk.html#d1">setSampleRate</a>(MY_FLOAT newRate)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d5">sleep</a>(unsigned long milliseconds)
|
||||
<code> [static]</code><li><a class="el" href="classBrass.html#a5">startBlowing</a>(MY_FLOAT amplitude, MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#b0">Stk</a>(void)
|
||||
<code> [protected]</code><li><a class="el" href="classStk.html#p3">STK_FLOAT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p4">STK_FLOAT64</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p1">STK_SINT16</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p2">STK_SINT32</a>
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#p0">STK_SINT8</a>
|
||||
<code> [static]</code><li><a class="el" href="classBrass.html#a6">stopBlowing</a>(MY_FLOAT rate)
|
||||
<li><a class="el" href="classStk.html#d2">swap16</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d3">swap32</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classStk.html#d4">swap64</a>(unsigned char *ptr)
|
||||
<code> [static]</code><li><a class="el" href="classBrass.html#a9">tick</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classInstrmnt.html#a7">Instrmnt::tick</a>(MY_FLOAT *vector, unsigned int vectorSize)
|
||||
<code> [virtual]</code><li><a class="el" href="classBrass.html#a1">~Brass</a>()
|
||||
<li><a class="el" href="classInstrmnt.html#a1">~Instrmnt</a>()
|
||||
<code> [virtual]</code><li><a class="el" href="classStk.html#b1">~Stk</a>(void)
|
||||
<code> [protected, virtual]</code></ul>
|
||||
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||