Debian Codegraph @

opcodes/pvsynth.xml

raw symbols SCIP
1
2 <refentry id="pvsynth">
3 <indexterm id="IndexPvsynth"><primary>pvsynth</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>pvsynth</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>pvsynth</refname>
11 <refpurpose>
12 Resynthesise using a FFT overlap-add.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Resynthesise phase vocoder data (f-signal) using a FFT overlap-add.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>pvsynth</command> fsrc, [iinit]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 <emphasis>ares</emphasis> -- output audio signal
32 </para>
33
34 <para>
35 <emphasis>fsrc</emphasis> -- input signal
36 </para>
37
38 <para>
39 <emphasis>iinit</emphasis> -- not yet implemented.
40 </para>
41 </refsect1>
42
43 <refsect1>
44 <title>Examples</title>
45 <para>
46 <example>
47 <title>Example (using score-supplied f-table, assuming fsig <emphasis>fftsize = 1024</emphasis>)</title>
48 <programlisting>
49 <emphasis role="comment">; score f-table using cubic spline to define shaped peaks</emphasis>
50 <emphasis role="stamnt">f</emphasis>1 0 513 8 0 2 1 3 0 4 1 6 0 10 1 12 0 16 1 32 0 1 0 436 0
51
52 asig <emphasis role="opc">buzz</emphasis> 20000, 199, 50, 1 <emphasis role="comment">; pulsewave source</emphasis>
53 fsig <emphasis role="opc">pvsanal</emphasis> asig, 1024, 256, 1024, 0 <emphasis role="comment">; create fsig</emphasis>
54 kmod <emphasis role="opc">linseg</emphasis> 0, p3/2, 1, p3/2, 0 <emphasis role="comment">; simple control sig</emphasis>
55
56 fsigout <emphasis role="opc">pvsmaska</emphasis> fsig, 2, kmod <emphasis role="comment">; apply weird eq to fsig</emphasis>
57 aout <emphasis role="opc">pvsynth</emphasis> fsigout <emphasis role="comment">; resynthesize,</emphasis>
58 <emphasis role="opc">dispfft</emphasis> aout, 0.1, 1024 <emphasis role="comment">; and view the effect</emphasis></programlisting>
59 </example>
60 </para>
61
62 <para>
63 Here is an example of the pvsynth opcode. It uses the file <ulink url="examples/pvsynth.csd"><citetitle>pvsynth.csd</citetitle></ulink>.
64
65 <example>
66 <title>Example of the pvsynth opcode.</title>
67 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
68 <xi:include href="examples-xml/pvsynth.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
69 </example>
70 </para>
71 </refsect1>
72
73 <refsect1>
74 <title>See also</title>
75 <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para>
76 </refsect1>
77
78 <refsect1>
79 <title>Credits</title>
80 <para>
81 <simplelist>
82 <member>Author: &namerichard;</member>
83 <member>August 2001 </member>
84 </simplelist>
85 </para>
86
87 <para>New in version 4.13</para>
88 <para>February 2004. Thanks to a note from Francisco Vila, updated the example.</para>
89 </refsect1>
90 </refentry>