Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > b707d9a4ee443103660a75ccb6e51334 > files > 2885

csound-doc-5.19.01-10.mga5.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>vtabwa</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.76.1" />
    <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="vtabwk.html" title="vtabwk" />
    <link rel="next" href="vwrap.html" title="vwrap" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">vtabwa</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="vtabwk.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="vwrap.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="vtabwa">
      <a id="vtabwa"></a>
      <div class="titlepage"></div>
      <a id="IndexVtabwa" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">vtabwa</span>
        </h2>
        <p>vtabwa — 
      Write vectors (to tables -or arrays of vectors).
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="idp53627080"></a>
        <h2>Description</h2>
        <p>
      This opcode writes vectors to tables at a-rate.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="idp53621456"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>vtabwa</strong></span>  andx, ifn, ainarg1 [, ainarg2, ainarg3 , .... , ainargN ]</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="idp53622512"></a>
        <h2>Initialization</h2>
        <p><span class="emphasis"><em>ifn</em></span> - table number</p>
      </div>
      <div class="refsect1" title="Performance">
        <a id="idp53623264"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>andx</em></span> - Index into f-table, a positive number range matching the table length
    </p>
        <p>
      <span class="emphasis"><em>ainarg1...ainargN</em></span> - input vector elements
    </p>
        <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 (<span class="emphasis"><em>ainarg1</em></span>, <span class="emphasis"><em>ainarg2</em></span>, <span class="emphasis"><em>ainarg3</em></span>, ....  <span class="emphasis"><em>ainargN</em></span>).
    </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>vtabwa</em></span>, in order to correct eventual out-of-range values.
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="idp53649504"></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="vtabwk.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="vwrap.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">vtabwk </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> vwrap</td>
        </tr>
      </table>
    </div>
  </body>
</html>