<?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>mincer</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="minaccum.html" title="minaccum" /> <link rel="next" href="mirror.html" title="mirror" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">mincer</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="minaccum.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="mirror.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry" title="mincer"> <a id="mincer"></a> <div class="titlepage"></div> <a id="IndexMincer" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">mincer</span> </h2> <p>mincer — Phase-locked vocoder processing. </p> </div> <div class="refsect1" title="Description"> <a id="id3032212"></a> <h2>Description</h2> <p> <span class="emphasis"><em>mincer</em></span> implements phase-locked vocoder processing using function tables containing sampled-sound sources, with <a class="link" href="GEN01.html" title="GEN01"><em class="citetitle">GEN01</em></a>, and <span class="emphasis"><em>mincer</em></span> will accept deferred allocation tables. </p> <p> This opcode allows for time and frequency-independent scaling. Time is controlled by a time index (in seconds) to the function table position and can be moved forward and backward at any chosen speed, as well as stopped at a given position ("frozen"). The quality of the effect is generally improved with phase locking switched on. </p> <p> <span class="emphasis"><em>mincer</em></span> will also scale pitch, independently of frequency, using a transposition factor (k-rate). </p> </div> <div class="refsect1" title="Syntax"> <a id="id3032263"></a> <h2>Syntax</h2> <pre class="synopsis">asig <span class="command"><strong>mincer</strong></span> atimpt, kamp, kpitch, klock, ktab[,ifftsize,idecim] </pre> </div> <div class="refsect1" title="Initialization"> <a id="id3032283"></a> <h2>Initialization</h2> <p> <span class="emphasis"><em>ifftsize</em></span> -- FFT size (power-of-two), defaults to 2048. </p> <p> <span class="emphasis"><em>idecim</em></span> -- decimation, defaults to 4 (meaning hopsize = fftsize/4) </p> </div> <div class="refsect1" title="Performance"> <a id="id3032309"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>atimpt</em></span> -- time position of current audio sample in secs. Table reading wraps around the ends of the function table. </p> <p> <span class="emphasis"><em>kamp</em></span> -- amplitude scaling </p> <p> <span class="emphasis"><em>kpitch</em></span> -- grain pitch scaling (1=normal pitch, < 1 lower, > 1 higher; negative, backwards) </p> <p> <span class="emphasis"><em>klock</em></span> -- 0 or 1, to switch phase-locking on/off </p> <p> <span class="emphasis"><em>ktab</em></span> -- source signal function table. Deferred-allocation tables (see <a class="link" href="GEN01.html" title="GEN01"><em class="citetitle">GEN01</em></a>) are accepted, but the opcode expects a mono source. Tables can be switched at k-rate. </p> </div> <div class="refsect1" title="Examples"> <a id="id3032373"></a> <h2>Examples</h2> <p> </p> <div class="example"> <a id="id3032380"></a> <p class="title"> <b>Example 374. Example</b> </p> <div class="example-contents"> <pre class="programlisting"> idur = p3 ilock = p4 itab = 1 ipitch = 1 itimescale = 0.5 iamp = 0.5 atime line 0,idur,idur*itimescale a1 mincer atime,iamp,ipitch,itab,ilock out a1 </pre> </div> </div> <p><br class="example-break" /> </p> </div> <div class="refsect1" title="Credits"> <a id="id3032402"></a> <h2>Credits</h2> <p> </p> <table border="0" summary="Simple list" class="simplelist"> <tr> <td>Author: Victor Lazzarini</td> </tr> <tr> <td>February 2010</td> </tr> </table> <p> </p> <p>New plugin in version 5.13</p> <p>February 2005.</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="minaccum.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="mirror.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">minaccum </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> mirror</td> </tr> </table> </div> </body> </html>