Files
stk/doc/html/WaveLoop_8h-source.html
2013-09-29 23:38:16 +02:00

60 lines
3.3 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"> &nbsp; <img src="ccrma.gif"> &nbsp; <img src="mcgill.gif"><P>
<a class="qindex" href="index.html">Home</a> &nbsp; <a class="qindex" href="information.html">Information</a> &nbsp; <a class="qindex" href="classes.html">Classes</a> &nbsp; <a class="qindex" href="download.html">Download</a> &nbsp; <a class="qindex" href="usage.html">Usage</a> &nbsp; <a class="qindex" href="maillist.html">Mail List</a> &nbsp; <a class="qindex" href="system.html">Requirements</a> &nbsp; <a class="qindex" href="links.html">Links</a> &nbsp; <a class="qindex" href="tutorial.html">Tutorial</a></CENTER>
<HR>
<!-- Generated by Doxygen 1.3.4 -->
<h1>WaveLoop.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
00019 <span class="comment">/***************************************************/</span>
00020
00021 <span class="preprocessor">#if !defined(__WAVELOOP_H)</span>
00022 <span class="preprocessor"></span><span class="preprocessor">#define __WAVELOOP_H</span>
00023 <span class="preprocessor"></span>
00024 <span class="preprocessor">#include "WvIn.h"</span>
00025 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
00026
<a name="l00027"></a><a class="code" href="classWaveLoop.html">00027</a> <span class="keyword">class </span><a class="code" href="classWaveLoop.html">WaveLoop</a> : <span class="keyword">public</span> <a class="code" href="classWvIn.html">WvIn</a>
00028 {
00029 <span class="keyword">public</span>:
00031 <a class="code" href="classWaveLoop.html#a0">WaveLoop</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *fileName, <span class="keywordtype">bool</span> raw = FALSE );
00032
00034 <span class="keyword">virtual</span> <a class="code" href="classWaveLoop.html#a1">~WaveLoop</a>();
00035
00037
00043 <span class="keywordtype">void</span> <a class="code" href="classWaveLoop.html#a2">setFrequency</a>(MY_FLOAT aFrequency);
00044
00046 <span class="keywordtype">void</span> <a class="code" href="classWaveLoop.html#a3">addTime</a>(MY_FLOAT aTime);
00047
00049
00054 <span class="keywordtype">void</span> <a class="code" href="classWaveLoop.html#a4">addPhase</a>(MY_FLOAT anAngle);
00055
00057
00062 <span class="keywordtype">void</span> <a class="code" href="classWaveLoop.html#a5">addPhaseOffset</a>(MY_FLOAT anAngle);
00063
00065 <span class="keyword">const</span> MY_FLOAT *<a class="code" href="classWaveLoop.html#a6">tickFrame</a>(<span class="keywordtype">void</span>);
00066
00067 <span class="keyword">protected</span>:
00068
00069 <span class="comment">// Read file data.</span>
00070 <span class="keywordtype">void</span> readData(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> index);
00071
00072 MY_FLOAT phaseOffset;
00073
00074 };
00075
00076 <span class="preprocessor">#endif // defined(__WAVELOOP_H)</span>
</pre></div><HR>
<table>
<tr><td><A HREF="http://www-ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
<tr><td>&copy;1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
</table>
</BODY>
</HTML>