Files
stk/doc/html/classSubNoise.html
2013-09-29 23:40:35 +02:00

58 lines
3.8 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.4.4 -->
<h1>SubNoise Class Reference</h1><!-- doxytag: class="SubNoise" --><!-- doxytag: inherits="Noise" --><code>#include &lt;<a class="el" href="SubNoise_8h-source.html">SubNoise.h</a>&gt;</code>
<p>
<p>Inheritance diagram for SubNoise:
<p><center><img src="classSubNoise.png" usemap="#SubNoise_map" border="0" alt=""></center>
<map name="SubNoise_map">
<area href="classNoise.html" alt="Noise" shape="rect" coords="0,112,69,136">
<area href="classGenerator.html" alt="Generator" shape="rect" coords="0,56,69,80">
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,69,24">
</map>
<a href="classSubNoise-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
STK sub-sampled noise generator.
<p>
Generates a new random number every "rate" ticks using the C rand() function. The quality of the rand() function varies from one OS to another.<p>
by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="SubNoise::SubNoise" ref="a0" args="(int subRate=16)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSubNoise.html#a0">SubNoise</a> (int subRate=16)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor sets sub-sample rate to 16. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1"></a><!-- doxytag: member="SubNoise::~SubNoise" ref="a1" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSubNoise.html#a1">~SubNoise</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class destructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2"></a><!-- doxytag: member="SubNoise::subRate" ref="a2" args="(void) const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSubNoise.html#a2">subRate</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current sub-sampling rate. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3"></a><!-- doxytag: member="SubNoise::setRate" ref="a3" args="(int subRate)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSubNoise.html#a3">setRate</a> (int subRate)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the sub-sampling rate. <br></td></tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SubNoise_8h-source.html">SubNoise.h</a></ul>
<HR>
<table>
<tr><td><A HREF="http://ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
<tr><td>&copy;1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
</table>
</BODY>
</HTML>