mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
60 lines
3.2 KiB
HTML
60 lines
3.2 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>The Synthesis ToolKit in C++ (STK)</TITLE>
|
|
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF">
|
|
<CENTER>
|
|
<img src="princeton.gif"> <img src="ccrma.gif"><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>
|