mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
50 lines
2.7 KiB
HTML
50 lines
2.7 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"> <img src="mcgill.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.3.4 -->
|
|
<h1>SubNoise.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00011 <span class="comment">/***************************************************/</span>
|
|
00012
|
|
00013 <span class="preprocessor">#if !defined(__SUBNOISE_H)</span>
|
|
00014 <span class="preprocessor"></span><span class="preprocessor">#define __SUBNOISE_H</span>
|
|
00015 <span class="preprocessor"></span>
|
|
00016 <span class="preprocessor">#include "Noise.h"</span>
|
|
00017
|
|
<a name="l00018"></a><a class="code" href="classSubNoise.html">00018</a> <span class="keyword">class </span><a class="code" href="classSubNoise.html">SubNoise</a> : <span class="keyword">public</span> <a class="code" href="classNoise.html">Noise</a>
|
|
00019 {
|
|
00020 <span class="keyword">public</span>:
|
|
00021
|
|
00023 <a class="code" href="classSubNoise.html#a0">SubNoise</a>(<span class="keywordtype">int</span> <a class="code" href="classSubNoise.html#a2">subRate</a> = 16);
|
|
00024
|
|
00026 <a class="code" href="classSubNoise.html#a1">~SubNoise</a>();
|
|
00027
|
|
00029 <span class="keywordtype">int</span> <a class="code" href="classSubNoise.html#a2">subRate</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
|
00030
|
|
00032 <span class="keywordtype">void</span> <a class="code" href="classSubNoise.html#a3">setRate</a>(<span class="keywordtype">int</span> subRate);
|
|
00033
|
|
00035 MY_FLOAT <a class="code" href="classSubNoise.html#a4">tick</a>();
|
|
00036
|
|
00037 <span class="keyword">protected</span>:
|
|
00038 <span class="keywordtype">int</span> counter;
|
|
00039 <span class="keywordtype">int</span> rate;
|
|
00040
|
|
00041 };
|
|
00042
|
|
00043 <span class="preprocessor">#endif</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>©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|