mirror of
https://github.com/thestk/stk
synced 2026-04-19 22:16:54 +00:00
Release 4.1 tarball
This commit is contained in:
committed by
Stephen Sinclair
parent
71e5c027fb
commit
f25eb5c3d7
@@ -1,12 +1,12 @@
|
||||
<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>
|
||||
<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="links.html">Links</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>
|
||||
@@ -58,7 +58,7 @@
|
||||
00068
|
||||
00069 <font class="keyword">class </font><a class="code" href="classStk.html">Stk</a>
|
||||
00070 {
|
||||
00071 <font class="keyword">public</font>:
|
||||
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;
|
||||
@@ -66,7 +66,7 @@
|
||||
<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
|
||||
00080
|
||||
00081 <font class="keyword">static</font> MY_FLOAT <a class="code" href="classStk.html#d0">sampleRate</a>(<font class="keywordtype">void</font>);
|
||||
00082
|
||||
00084
|
||||
@@ -80,10 +80,10 @@
|
||||
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>:
|
||||
00106 <font class="keyword">private</font>:
|
||||
00107 <font class="keyword">static</font> MY_FLOAT srate;
|
||||
00108
|
||||
00109 <font class="keyword">protected</font>:
|
||||
00109 <font class="keyword">protected</font>:
|
||||
00110
|
||||
00112 <a class="code" href="classStk.html#b0">Stk</a>(<font class="keywordtype">void</font>);
|
||||
00113
|
||||
@@ -117,35 +117,41 @@
|
||||
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>
|
||||
00146 <font class="comment">// relative reference that will work for the programs in the STK</font>
|
||||
00147 <font class="comment">// projects directory. The path can also be specified to configure and</font>
|
||||
00148 <font class="comment">// set via the Makefiles.</font>
|
||||
00149 <font class="preprocessor">#if !defined(RAWWAVE_PATH)</font>
|
||||
00150 <font class="preprocessor"></font><font class="preprocessor"> #define RAWWAVE_PATH "../../rawwaves/"</font>
|
||||
00151 <font class="preprocessor"></font><font class="preprocessor">#endif</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>
|
||||
00153 <font class="preprocessor">#define PI (MY_FLOAT) 3.14159265359</font>
|
||||
00154 <font class="preprocessor"></font><font class="preprocessor">#define TWO_PI (MY_FLOAT) (MY_FLOAT) (2 * PI)</font>
|
||||
00155 <font class="preprocessor"></font>
|
||||
00156 <font class="preprocessor">#define ONE_OVER_128 (MY_FLOAT) 0.0078125</font>
|
||||
00157 <font class="preprocessor"></font>
|
||||
00158 <font class="preprocessor">#if defined(__WINDOWS_DS__)</font>
|
||||
00159 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_WINDOWS__</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>
|
||||
00161 <font class="preprocessor"></font><font class="preprocessor">#elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__)</font>
|
||||
00162 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_LINUX__</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>
|
||||
00164 <font class="preprocessor"></font><font class="preprocessor">#elif defined(__IRIX_AL__)</font>
|
||||
00165 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_IRIX__</font>
|
||||
00166 <font class="preprocessor"></font><font class="preprocessor"> #define __STK_REALTIME__</font>
|
||||
00167 <font class="preprocessor"></font><font class="preprocessor">#elif defined(__MACOSX_CORE__)</font>
|
||||
00168 <font class="preprocessor"></font><font class="preprocessor"> #define __OS_MACOSX__</font>
|
||||
00169 <font class="preprocessor"></font><font class="preprocessor"> #define __STK_REALTIME__</font>
|
||||
00170 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
|
||||
00171 <font class="preprocessor"></font>
|
||||
00172 <font class="comment">//#define _STK_DEBUG_</font>
|
||||
00173
|
||||
00174 <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>
|
||||
|
||||
Reference in New Issue
Block a user