Sophie

Sophie

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

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>pvs2tab</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="pvswarp.html" title="pvswarp" />
    <link rel="next" href="pyassign.html" title="pyassign Opcodes" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">pvs2tab</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="pvswarp.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="pyassign.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="pvs2tab">
      <a id="pvs2tab"></a>
      <div class="titlepage"></div>
      <a id="IndexPvs2tab" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">pvs2tab</span>
        </h2>
        <p>pvs2tab — 
     Copies spectral data to t-variables.
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="idp39440424"></a>
        <h2>Description</h2>
        <p>
       Copies a pvs frame to a t-variable. Currently only AMP+FREQ and AMP+PHASE formats allowed. This opcode requires the t-type to be defined, which means it only works in the new bison/flex-based parser.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="idp39441240"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">kframe <span class="command"><strong>pvs2tab</strong></span> tvar, fsig</pre>
      </div>
      <div class="refsect1" title="Performance">
        <a id="idp39451648"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>kframe</em></span> -- current copied frame number. It can be used to detect when a new frame has been copied.
    </p>
        <p>
      <span class="emphasis"><em>tvar</em></span> -- t-variable containing the output. It is produced at every k-period, but may not contain a new frame, pvs frames are produced at their own frame rate that is independent of kr. Generally, this vector needs to be big enough to contain the frame samples, i.e. N+2 (N is the dft size). If smaller, only a portion of the frame will be copied; if bigger, unused points will exist at higher indexes.
    </p>
        <p>
      <span class="emphasis"><em>fsig</em></span> -- input fsig to be copied.
    </p>
        <p>
      <span class="emphasis"><em>iwinsize</em></span> -- size of the analysis window, defaults to <span class="emphasis"><em>isize</em></span>.
    </p>
      </div>
      <div class="refsect1" title="Examples">
        <a id="idp39454480"></a>
        <h2>Examples</h2>
        <p>
      </p>
        <div class="example">
          <a id="idp39491264"></a>
          <p class="title">
            <strong>Example 682. Example</strong>
          </p>
          <div class="example-contents">
            <pre class="programlisting">
t1 init 1026
a1 inch 1
fsig1   pvsanal a1, 1024,256,1024, 1
kframe  <span class="opc">pvs2tab</span>t1, fsig1</pre>
          </div>
        </div>
        <p><br class="example-break" />
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="idp39492464"></a>
        <h2>Credits</h2>
        <p>
      </p>
        <table border="0" summary="Simple list" class="simplelist">
          <tr>
            <td>Author: Victor Lazzarini</td>
          </tr>
          <tr>
            <td>October 2011 </td>
          </tr>
        </table>
        <p>
    </p>
        <p>New plugin in version 5</p>
        <p>October 2011.</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="pvswarp.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="pyassign.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">pvswarp </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> pyassign Opcodes</td>
        </tr>
      </table>
    </div>
  </body>
</html>