Sophie

Sophie

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

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>vtablewi</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="vtablea.html" title="vtablea" />
    <link rel="next" href="vtablewk.html" title="vtablewk" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">vtablewi</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="vtablea.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="vtablewk.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="vtablewi">
      <a id="vtablewi"></a>
      <div class="titlepage"></div>
      <a id="IndexVtablewi" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">vtablewi</span>
        </h2>
        <p>vtablewi — 
     Write vectors (to tables -or arrays of vectors).
      
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3359786"></a>
        <h2>Description</h2>
        <p>
	This opcode writes vectors to tables at init time.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3359797"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>vtablewi</strong></span>  indx, ifn, ixmode, inarg1 [, inarg2, inarg3 , .... , inargN ]</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="id3360012"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>indx</em></span> - Index into f-table, either a positive number range matching the table length (ixmode = 0) or a 0 to 1 range (ixmode != 0).
     </p>
        <p> 
      <span class="emphasis"><em>ifn</em></span> - table number
      </p>
        <p>
     <span class="emphasis"><em>ixmode</em></span> -  index data mode. The default value is 0.
      </p>
        <p>            == 0 index is treated as a raw table location,</p>
        <p>            == 1 index is normalized (0 to 1).</p>
        <p>
      <span class="emphasis"><em>inarg1...inargN</em></span> - output vector elements
    </p>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3360057"></a>
        <h2>Performance</h2>
        <p>
      This opcode is useful in all cases in which one needs to write sets of values associated to unique indexes (for example, multi-channel samples, STFT bin frames, spectral formants, p-field based scores etc.). The number of elements of each vector (length of the vector) is determined by the number of optional arguments on the right (inarg1 , inarg2, inarg3, ....  inargN).
    </p>
        <p>
      Notice that no wrap nor limit mode is implemented.  So, if  an index attempt to access to a zone not allocated by the table, Csound will probably crash. However this drawback can be easily avoided by using wrap or limit opcodes applied to indexes before using <span class="emphasis"><em>vtablewi</em></span>, in order to correct eventual out-of-range values.
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3360663"></a>
        <h2>Credits</h2>
        <p>Written by Gabriel Maldonado.</p>
        <p>New in Csound 5 (Previously available only on CsoundAV)</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="vtablea.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="vtablewk.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">vtablea </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> vtablewk</td>
        </tr>
      </table>
    </div>
  </body>
</html>