Files
stk/doc/html/classDelayL.html
2013-09-29 23:33:56 +02:00

96 lines
5.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"> &nbsp; <img src="ccrma.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="tutorial.html">Tutorial</a></CENTER>
<HR>
<!-- Generated by Doxygen 1.2.8.1 -->
<h1>DelayL Class Reference</h1>STK linear interpolating delay line class.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DelayL_8h-source.html">DelayL.h</a>&gt;</code>
<p>
<p>Inheritance diagram for DelayL::
<p><center><img src="classDelayL.gif" usemap="#DelayL_map" border="0"></center>
<map name="DelayL_map">
<area href="classDelay.html" alt="Delay" shape="rect" coords="0,112,52,136">
<area href="classFilter.html" alt="Filter" shape="rect" coords="0,56,52,80">
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,52,24">
</map>
<a href="classDelayL-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="a0" doxytag="DelayL::DelayL"></a>
&nbsp;</td><td valign=bottom><a class="el" href="classDelayL.html#a0">DelayL</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="DelayL::DelayL"></a>
&nbsp;</td><td valign=bottom><a class="el" href="classDelayL.html#a1">DelayL</a> (MY_FLOAT theDelay, long maxDelay)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Overloaded constructor which specifies the current and maximum delay-line lengths.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="DelayL::~DelayL"></a>
&nbsp;</td><td valign=bottom><a class="el" href="classDelayL.html#a2">~DelayL</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classDelayL.html#a3">setDelay</a> (MY_FLOAT theDelay)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the delay-line length.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="DelayL::getDelay"></a>
MY_FLOAT&nbsp;</td><td valign=bottom><a class="el" href="classDelayL.html#a4">getDelay</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return the current delay-line length.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="DelayL::tick"></a>
MY_FLOAT&nbsp;</td><td valign=bottom><a class="el" href="classDelayL.html#a5">tick</a> (MY_FLOAT sample)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Input one sample to the delay-line and return one output.</em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
STK linear interpolating delay line class.
<p>
This <a class="el" href="classDelay.html">Delay</a> subclass implements a fractional- length digital delay-line using first-order linear interpolation. A fixed maximum length of 4095 and a delay of zero is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.
<p>
Linear interpolation is an efficient technique for achieving fractional delay lengths, though it does introduce high-frequency signal attenuation to varying degrees depending on the fractional delay setting. The use of higher order Lagrange interpolators can typically improve (minimize) this attenuation characteristic.
<p>
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
<p>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="DelayL::setDelay"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void DelayL::setDelay (
</b></td>
<td valign="bottom"><b>
MY_FLOAT <em>theDelay</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the delay-line length.
<p>
The valid range for <em>theDelay</em> is from 0 to the maximum delay-line length. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DelayL_8h-source.html">DelayL.h</a></ul>
<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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
</table>
</BODY>
</HTML>