Debian Codegraph @

opcodes/mincer.xml

raw symbols SCIP
1 <refentry id="mincer">
2 <indexterm id="IndexMincer"><primary>mincer</primary></indexterm>
3 <refentryinfo><title>Spectral Processing:Other</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>mincer</refentrytitle>
6 </refmeta>
7
8
9
10 <refnamediv>
11 <refname>mincer</refname>
12 <refpurpose>
13 Phase-locked vocoder processing.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 <emphasis>mincer</emphasis> implements phase-locked vocoder processing using function tables
21 containing sampled-sound sources, with <link linkend="GEN01"><citetitle>GEN01</citetitle></link>, and
22 <emphasis>mincer</emphasis> will accept deferred allocation tables.
23 </para>
24 <para>
25 This opcode allows for time and frequency-independent scaling. Time is controlled by a time index (in seconds)
26 to the function table position and can be moved forward and backward at any chosen speed, as well as stopped at a
27 given position ("frozen"). The quality of the effect is generally improved with phase locking switched on.
28 </para>
29 <para>
30 <emphasis>mincer</emphasis> will also scale pitch, independently of frequency, using a transposition factor (k-rate).
31 </para>
32 </refsect1>
33
34 <refsect1>
35 <title>Syntax</title>
36 <synopsis>asig <command>mincer</command> atimpt, kamp, kpitch, ktab, klock[,ifftsize,idecim]
37 </synopsis>
38 </refsect1>
39
40 <refsect1>
41 <title>Initialization</title>
42 <para>
43 <emphasis>ifftsize</emphasis> -- FFT size (power-of-two), defaults to 2048.
44 </para>
45 <para>
46 <emphasis>idecim</emphasis> -- decimation, defaults to 4 (meaning hopsize = fftsize/4)
47 </para>
48
49
50 </refsect1>
51
52 <refsect1>
53 <title>Performance</title>
54 <para>
55 <emphasis>atimpt</emphasis> -- time position of current audio sample in secs. Table reading wraps around the ends of the function table.
56 </para>
57 <para>
58 <emphasis>kamp</emphasis> -- amplitude scaling
59 </para>
60 <para>
61 <emphasis>kpitch</emphasis> -- grain pitch scaling (1=normal pitch, &lt; 1 lower, > 1 higher; negative, backwards)
62 </para>
63
64 <para>
65 <emphasis>klock</emphasis> -- 0 or 1, to switch phase-locking on/off
66 </para>
67 <para>
68 <emphasis>ktab</emphasis> -- source signal function table. Deferred-allocation tables (see
69 <link linkend="GEN01"><citetitle>GEN01</citetitle></link>) are accepted, but the opcode
70 expects a mono source. Tables can be switched at k-rate.
71 </para>
72 </refsect1>
73
74 <refsect1>
75 <title>Examples</title>
76 <para>
77 Here is an example of the mincer opcode. It uses the file <ulink url="examples/mincer.csd"><citetitle>mincer.csd</citetitle></ulink>
78 <example>
79 <title>Example of the mincer opcode.</title>
80 <xi:include href="examples-xml/mincer.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
81 </example>
82 </para>
83 </refsect1>
84
85 <refsect1>
86 <title>See Also</title>
87 <para>
88 <link linkend="SiggenStft"><citetitle>Short-time Fourier Transform (STFT) Resynthesis</citetitle></link>
89 </para>
90 </refsect1>
91
92 <refsect1>
93 <title>Credits</title>
94 <para>
95 <simplelist>
96 <member>Author: &namevictor;</member>
97 <member>February 2010</member>
98 </simplelist>
99 </para>
100 <para>New plugin in version 5.13</para>
101 <para>February 2005.</para>
102 </refsect1>
103 </refentry>