Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 6ed14ebfd686aa32f7956e552aa2e21d > files > 2959

csound-manual-5.13.0-5.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>vco2ift</title>
    <link rel="stylesheet" href="csound.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.75.2" />
    <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" />
    <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" />
    <link rel="prev" href="vco2ft.html" title="vco2ft" />
    <link rel="next" href="vco2init.html" title="vco2init" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">vco2ift</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="vco2ft.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="vco2init.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="vco2ift">
      <a id="vco2ift"></a>
      <div class="titlepage"></div>
      <a id="IndexVco2ift" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">vco2ift</span>
        </h2>
        <p>vco2ift — 
      Returns a table number at i-time for a given oscillator frequency and wavform.
          </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3322380"></a>
        <h2>Description</h2>
        <p>
      <span class="emphasis"><em>vco2ift</em></span> is the same as <a class="link" href="vco2ft.html" title="vco2ft"><em class="citetitle">vco2ft</em></a>, but works at i-time. It is suitable for use with opcodes that expect an i-rate table number (for example, <a class="link" href="oscili.html" title="oscili"><em class="citetitle">oscili</em></a>).
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3322609"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">ifn <span class="command"><strong>vco2ift</strong></span> icps, iwave [, inyx]</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="id3322627"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>ifn</em></span> -- the ftable number.
    </p>
        <p>
      <span class="emphasis"><em>icps</em></span> --  frequency in Hz. Zero and negative values are allowed. However, if the absolute value exceeds <a class="link" href="sr.html" title="sr"><em class="citetitle">sr</em></a>/2 (or <span class="emphasis"><em>sr</em></span> * <span class="emphasis"><em>inyx</em></span>), the selected table will contain silence.
    </p>
        <p>
      <span class="emphasis"><em>iwave</em></span> -- the waveform for which table number is to be selected. Allowed values are:
        </p>
        <div class="itemizedlist">
          <ul class="itemizedlist" type="disc">
            <li class="listitem">
              <p>0: sawtooth</p>
            </li>
            <li class="listitem">
              <p>1: 4 * x * (1 - x)   (integrated sawtooth)</p>
            </li>
            <li class="listitem">
              <p>2: pulse (not normalized)</p>
            </li>
            <li class="listitem">
              <p>3: square wave</p>
            </li>
            <li class="listitem">
              <p>4: triangle</p>
            </li>
          </ul>
        </div>
        <p>
    </p>
        <p>
      Additionally, negative <span class="emphasis"><em>iwave</em></span> values select user defined waveforms (see also <a class="link" href="vco2init.html" title="vco2init"><em class="citetitle">vco2init</em></a>).
    </p>
        <p>
      <span class="emphasis"><em>inyx</em></span> (optional, default=0.5) -- bandwidth of the generated waveform, as percentage (0 to 1) of the sample rate. The expected range is 0 to 0.5 (i.e. up to <a class="link" href="sr.html" title="sr"><em class="citetitle">sr</em></a>/2), other values are limited to the allowed range.
    </p>
        <p>
      Setting <span class="emphasis"><em>inyx</em></span> to 0.25 (<span class="emphasis"><em>sr</em></span>/4), or 0.3333 (<span class="emphasis"><em>sr</em></span>/3) can produce a <span class="quote">“<span class="quote">fatter</span>”</span> sound in some cases, although it is more likely to reduce quality.
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3323409"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="vco2ft.html" title="vco2ft"><em class="citetitle">vco2ft</em></a>,
      <a class="link" href="vco2init.html" title="vco2init"><em class="citetitle">vco2init</em></a>, and
      <a class="link" href="vco2.html" title="vco2"><em class="citetitle">vco2</em></a>.
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3323443"></a>
        <h2>Credits</h2>
        <p>Author: Istvan Varga</p>
        <p>New in version 4.22</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="vco2ft.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="OpcodesTop.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="vco2init.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">vco2ft </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> vco2init</td>
        </tr>
      </table>
    </div>
  </body>
</html>