Sophie

Sophie

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

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>upsamp</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="unirand.html" title="unirand" />
    <link rel="next" href="urandom.html" title="urandom" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">upsamp</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="unirand.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="urandom.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="upsamp">
      <a id="upsamp"></a>
      <div class="titlepage"></div>
      <a id="IndexUpsamp" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">upsamp</span>
        </h2>
        <p>upsamp — 
      Modify a signal by up-sampling.
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3306541"></a>
        <h2>Description</h2>
        <p>
      Modify a signal by up-sampling.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3306551"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">ares <span class="command"><strong>upsamp</strong></span> ksig</pre>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3306569"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>upsamp</em></span> converts a control signal to an audio signal. It does it by simple repetition of the kval. <span class="emphasis"><em>upsamp</em></span> is a slightly more efficient form of the assignment, <span class="emphasis"><em>asig</em></span> = <span class="emphasis"><em>ksig</em></span>.
    </p>
      </div>
      <div class="refsect1" title="Examples">
        <a id="id3307431"></a>
        <h2>Examples</h2>
        <p>
      </p>
        <div class="informalexample">
          <pre class="programlisting">
asrc  <span class="opc">buzz</span>      10000, 440, 20, 1     <span class="comment">; band-limited pulse train</span>
adif  <span class="opc">diff</span>      asrc                  <span class="comment">; emphasize the highs</span>
anew  <span class="opc">balance</span>   adif, asrc            <span class="comment">;   but retain the power</span>
agate <span class="opc">reson</span>     asrc, 0, 440          <span class="comment">; use a lowpass of the original</span>
asamp <span class="opc">samphold</span>  anew, agate           <span class="comment">;   to gate the new audiosig</span>
aout  <span class="opc">tone</span>      asamp, 100            <span class="comment">; smooth out the rough edges</span></pre>
        </div>
        <p>
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3307523"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="diff.html" title="diff"><em class="citetitle">diff</em></a>,
      <a class="link" href="downsamp.html" title="downsamp"><em class="citetitle">downsamp</em></a>,
      <a class="link" href="integ.html" title="integ"><em class="citetitle">integ</em></a>,
      <a class="link" href="interp.html" title="interp"><em class="citetitle">interp</em></a>,
      <a class="link" href="samphold.html" title="samphold"><em class="citetitle">samphold</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="unirand.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="urandom.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">unirand </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> urandom</td>
        </tr>
      </table>
    </div>
  </body>
</html>