Sophie

Sophie

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

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>maxabs</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="max.html" title="max" />
    <link rel="next" href="maxabsaccum.html" title="maxabsaccum" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">maxabs</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="max.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="maxabsaccum.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="maxabs">
      <a id="maxabs"></a>
      <div class="titlepage"></div>
      <a id="IndexMaxabs" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">maxabs</span>
        </h2>
        <p>maxabs — 
      Produces a signal that is the maximum of the absolute values of any number of input signals.
          </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3011246"></a>
        <h2>Description</h2>
        <p>
      The <span class="emphasis"><em>maxabs</em></span> opcode takes any number of a-rate or k-rate signals as input (all of the same rate), and outputs a signal at the same rate that is the maximum of all of the inputs.  It is identical to the <span class="emphasis"><em>max</em></span> opcode except that it takes the absolute value of each input before comparing them.  Therefore, the output is always non-negative.  For a-rate signals, the inputs are compared one sample at a time (i.e. <span class="emphasis"><em>maxabs</em></span> does not scan an entire ksmps period of a signal for its local maximum as the <span class="emphasis"><em>max_k</em></span> opcode does).
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3012252"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">amax <span class="command"><strong>maxabs</strong></span> ain1 [, ain2] [, ain3] [, ain4] [...]</pre>
        <pre class="synopsis">kmax <span class="command"><strong>maxabs</strong></span> kin1 [, kin2] [, kin3] [, kin4] [...]</pre>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3012283"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>ain1, ain2, ...</em></span> --  a-rate signals to be compared.
    </p>
        <p>
      <span class="emphasis"><em>kin1, kin2, ...</em></span> --  k-rate signals to be compared.
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3012305"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="minabs.html" title="minabs"><em class="citetitle">minabs</em></a>, 
      <a class="link" href="max.html" title="max"><em class="citetitle">max</em></a>, 
      <a class="link" href="min.html" title="min"><em class="citetitle">min</em></a>, 
      <a class="link" href="maxaccum.html" title="maxaccum"><em class="citetitle">maxaccum</em></a>, 
      <a class="link" href="minaccum.html" title="minaccum"><em class="citetitle">minaccum</em></a>, 
      <a class="link" href="maxabsaccum.html" title="maxabsaccum"><em class="citetitle">maxabsaccum</em></a>, 
      <a class="link" href="minabsaccum.html" title="minabsaccum"><em class="citetitle">minabsaccum</em></a>, 
      <a class="link" href="max_k.html" title="max_k"><em class="citetitle">max_k</em></a>
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3012377"></a>
        <h2>Credits</h2>
        <p>
      </p>
        <table border="0" summary="Simple list" class="simplelist">
          <tr>
            <td>Author: Anthony Kozar</td>
          </tr>
          <tr>
            <td>March 2006</td>
          </tr>
        </table>
        <p>
    </p>
        <p>New in Csound version 5.01</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="max.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="maxabsaccum.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">max </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> maxabsaccum</td>
        </tr>
      </table>
    </div>
  </body>
</html>