mirror of
https://github.com/thestk/stk
synced 2026-01-13 21:11:53 +00:00
72 lines
4.6 KiB
HTML
72 lines
4.6 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>FMVoices Class Reference</h1>STK singing <a class="el" href="classFM.html">FM</a> synthesis instrument.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="FMVoices_8h-source.html">FMVoices.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for FMVoices::
|
|
<p><center><img src="classFMVoices.gif" usemap="#FMVoices_map" border="0"></center>
|
|
<map name="FMVoices_map">
|
|
<area href="classFM.html" alt="FM" shape="rect" coords="0,112,70,136">
|
|
<area href="classInstrmnt.html" alt="Instrmnt" shape="rect" coords="0,56,70,80">
|
|
<area href="classStk.html" alt="Stk" shape="rect" coords="0,0,70,24">
|
|
</map>
|
|
<a href="classFMVoices-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="FMVoices::FMVoices"></a>
|
|
</td><td valign=bottom><a class="el" href="classFMVoices.html#a0">FMVoices</a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Class constructor.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a1" doxytag="FMVoices::~FMVoices"></a>
|
|
</td><td valign=bottom><a class="el" href="classFMVoices.html#a1">~FMVoices</a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Class destructor.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a2" doxytag="FMVoices::setFrequency"></a>
|
|
virtual void </td><td valign=bottom><a class="el" href="classFMVoices.html#a2">setFrequency</a> (MY_FLOAT frequency)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Set instrument parameters for a particular frequency.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a3" doxytag="FMVoices::noteOn"></a>
|
|
void </td><td valign=bottom><a class="el" href="classFMVoices.html#a3">noteOn</a> (MY_FLOAT frequency, MY_FLOAT amplitude)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Start a note with the given frequency and amplitude.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a4" doxytag="FMVoices::tick"></a>
|
|
MY_FLOAT </td><td valign=bottom><a class="el" href="classFMVoices.html#a4">tick</a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Compute one output sample.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a5" doxytag="FMVoices::controlChange"></a>
|
|
virtual void </td><td valign=bottom><a class="el" href="classFMVoices.html#a5">controlChange</a> (int number, MY_FLOAT value)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Perform the control change specified by <em>number</em> and <em>value</em> (0.0 - 128.0).</em></font><br><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
STK singing <a class="el" href="classFM.html">FM</a> synthesis instrument.
|
|
<p>
|
|
This class implements 3 carriers and a common modulator, also referred to as algorithm 6 of the TX81Z.
|
|
<p>
|
|
<div class="fragment"><pre> Algorithm 6 is :
|
|
/->1 -\
|
|
4-|-->2 - +-> Out
|
|
\->3 -/</pre></div>
|
|
<p>
|
|
Control Change Numbers: <ul>
|
|
<li>Vowel = 2<li>Spectral Tilt = 4<li>LFO Speed = 11<li>LFO Depth = 1<li><a class="el" href="classADSR.html">ADSR</a> 2 & 4 Target = 128</ul>
|
|
The basic Chowning/Stanford <a class="el" href="classFM.html">FM</a> patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
|
|
<p>
|
|
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
|
|
<p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="FMVoices_8h-source.html">FMVoices.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>©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|