Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 5fcfcb7517038d1f44ab4e478e6e61fa > files > 2504

csound-doc-6.10.0-1.mga7.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>mvchpf</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <link rel="stylesheet" type="text/css" href="syntax-highlighting.css" />
    <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" />
    <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="mute.html" title="mute" />
    <link rel="next" href="mvclpf1.html" title="mvclpf1" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">mvchpf</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="mute.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="mvclpf1.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry">
      <a id="mvchpf"></a>
      <div class="titlepage"></div>
      <a id="IndexMvchpf" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">mvchpf</span>
        </h2>
        <p>mvchpf — 
      Moog voltage-controlled highpass filter emulation. 
    </p>
      </div>
      <div class="refsect1">
        <a id="idm281472911731672"></a>
        <h2>Description</h2>
        <p>
Mvchpf is an digital implementation of the 4th-order (24 dB/oct)  Moog
high-pass filter, originally written by Fons Andriaensen. According to the author,
mvchpf "...is based on the voltage controlled highpass filter by Robert Moog.
again with some attention to the nonlinear effects."

    </p>
      </div>
      <div class="refsect1">
        <a id="idm281472911730184"></a>
        <h2>Syntax</h2>
        <pre class="synopsis">asig <span class="command"><strong>mvchpf</strong></span> ain, xcf[, istor]</pre>
      </div>
      <div class="refsect1">
        <a id="idm281472911664648"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>istor</em></span> --initial disposition of internal
      data space. Since filtering incorporates a feedback loop of
      previous output, the initial status of the storage space used is
      significant.  A zero value will clear the space; a non-zero
      value will allow previous information to remain. The default
      value is 0.
    </p>
      </div>
      <div class="refsect1">
        <a id="idm281472911662712"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>ain</em></span> -- input signal.
    </p>
        <p>
      <span class="emphasis"><em>xcf</em></span> -- filter
      cutoff frequency. The useful range is around six octaves below
      and above middle C (pch 8.00).
    </p>
      </div>
      <div class="refsect1">
        <a id="idm281472911660200"></a>
        <h2>Examples</h2>
        <p>
      Here is an example of the mvchpf opcode. It uses the file <a class="ulink" href="examples/mvchpf.csd" target="_top"><em class="citetitle">mvchpf.csd</em></a>.
      </p>
        <div class="example">
          <a id="idm281472911658344"></a>
          <p class="title">
            <strong>Example 588. Example of the mvchpf opcode.</strong>
          </p>
          <div class="example-contents">
            <p>See the sections <a class="link" href="UsingRealTime.html" title="Real-Time Audio"><em class="citetitle">Real-time Audio</em></a> and <a class="link" href="CommandFlags.html" title="Csound command line"><em class="citetitle">Command Line Flags</em></a> for more information on using command line flags.</p>
            <div class="refsect1">
              <a id="idm281472735050616"></a>
              <pre class="programlisting">
<span class="nt">&lt;CsoundSynthesizer&gt;</span>
<span class="nt">&lt;CsOptions&gt;</span>
-odac 
<span class="nt">&lt;/CsOptions&gt;</span>
<span class="nt">&lt;CsInstruments&gt;</span>
<span class="vg">0dbfs</span> <span class="o">=</span> <span class="mi">1</span>

<span class="kd">instr</span> <span class="nf">1</span>
 k<span class="n">env</span> <span class="nb">linen</span> <span class="nb">p4</span><span class="p">,</span><span class="mf">0.1</span><span class="p">,</span><span class="nb">p3</span><span class="p">,</span><span class="mf">0.1</span>
 a<span class="n">in</span> <span class="nb">rand</span> k<span class="n">env</span> 
 k<span class="n">fr</span> <span class="nb">expon</span> <span class="mi">220</span><span class="p">,</span> <span class="nb">p3</span><span class="p">,</span> <span class="mi">1760</span>
 a<span class="n">sig</span> <span class="nb">mvchpf</span> a<span class="n">in</span><span class="p">,</span>k<span class="n">fr</span>
   <span class="nb">out</span> a<span class="n">sig</span>
<span class="kd">endin</span>

<span class="nt">&lt;/CsInstruments&gt;</span>
<span class="nt">&lt;CsScore&gt;</span>
<span class="nb">i</span><span class="mi">1</span> <span class="mi">0</span> <span class="mi">5</span> <span class="mf">0.9</span>
<span class="nt">&lt;/CsScore&gt;</span>
<span class="nt">&lt;/CsoundSynthesizer&gt;</span>
</pre>
            </div>
          </div>
        </div>
        <p><br class="example-break" />
    </p>
      </div>
      <div class="refsect1">
        <a id="idm281472911654152"></a>
        <h2>Credits</h2>
        <p>
      </p>
        <table border="0" summary="Simple list" class="simplelist">
          <tr>
            <td>Author: Fons Andriaensen, </td>
          </tr>
          <tr>
            <td> ported to Csound by Victor Lazzarini</td>
          </tr>
          <tr>
            <td>January 2016</td>
          </tr>
        </table>
        <p>
    </p>
        <p>New in version 6.07</p>
        <p>January 2016.</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="mute.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="mvclpf1.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">mute </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> mvclpf1</td>
        </tr>
      </table>
    </div>
  </body>
</html>