Sophie

Sophie

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

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>xscans</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="xscansmap.html" title="xscansmap" />
    <link rel="next" href="xscanu.html" title="xscanu" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">xscans</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="xscansmap.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="xscanu.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="xscans">
      <a id="xscans"></a>
      <div class="titlepage"></div>
      <a id="IndexXscans" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">xscans</span>
        </h2>
        <p>xscans — 
      Fast scanned synthesis waveform and the wavetable generator.
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3375671"></a>
        <h2>Description</h2>
        <p>
      Experimental version of <a class="link" href="scans.html" title="scans"><em class="citetitle">scans</em></a>.  Allows much larger matrices and is faster and smaller but removes some (unused?) flexibility.  If liked, it will replace the older opcode as it is syntax compatible but extended.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3375699"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">ares <span class="command"><strong>xscans</strong></span> kamp, kfreq, ifntraj, id [, iorder]</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="id3375717"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>ifntraj</em></span> --  table containing the scanning trajectory. This is a series of numbers that contains addresses of masses. The order of these addresses is used as the scan path. It should not contain values greater than the number of masses, or negative numbers. See the <a class="link" href="SiggenScanTop.html" title="Scanned Synthesis"><em class="citetitle">introduction to the scanned synthesis section</em></a>.
    </p>
        <p>
      <span class="emphasis"><em>id</em></span> -- If positive, the ID of the opcode. This will be used to point the scanning opcode to the proper waveform maker. If this value is negative, the absolute of this value is the wavetable on which to write the waveshape. That wavetable can be used later from an other opcode to generate sound. The initial contents of this table will be destroyed.
    </p>
        <p>
      <span class="emphasis"><em>iorder</em></span> (optional, default=0) -- order of interpolation used internally. It can take any value in the range 1 to 4, and defaults to 4, which is quartic interpolation. The setting of 2 is quadratic and 1 is linear. The higher numbers are slower, but not necessarily better. 
    </p>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3376537"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>kamp</em></span>  -- output amplitude. Note that the resulting amplitude is also dependent on instantaneous value in the wavetable. This number is effectively the scaling factor of the wavetable.
    </p>
        <p>
      <span class="emphasis"><em>kfreq</em></span> -- frequency of the scan rate
    </p>
      </div>
      <div class="refsect1" title="Matrix Format">
        <a id="id3376561"></a>
        <h2>Matrix Format</h2>
        <p>
      The new matrix format is a list of connections, one per line linking point x to point y.   There is no weight given to the link; it is assumed to be unity.  The list is preceded by the line &lt;MATRIX&gt; and ends with a &lt;/MATRIX&gt; line
    </p>
        <p>
      For example, a circular string of 8 would be coded as

      </p>
        <div class="informalexample">
          <pre class="programlisting">
&lt;MATRIX&gt;
0 1
1 0
1 2
2 1
2 3
3 2
3 4
4 3
4 5
5 4
5 6
6 5
6 7
7 6
0 7
&lt;/MATRIX&gt;
        </pre>
        </div>
        <p>
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3376594"></a>
        <h2>Credits</h2>
        <p>Written by John ffitch.</p>
        <p>New in version 4.20</p>
      </div>
      <div class="refsect1" title="Examples">
        <a id="id3376608"></a>
        <h2>Examples</h2>
        <p>
      For an example, see the documentation on <a class="link" href="scans.html" title="scans"><em class="citetitle">scans</em></a>.
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3376627"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="scans.html" title="scans"><em class="citetitle">scans</em></a>, 
      <a class="link" href="xscanu.html" title="xscanu"><em class="citetitle">xscanu</em></a>
    </p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="xscansmap.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="xscanu.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">xscansmap </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> xscanu</td>
        </tr>
      </table>
    </div>
  </body>
</html>