Debian Codegraph @

opcodes/pvswarp.xml

raw symbols SCIP
1
2 <refentry id="pvswarp">
3 <indexterm id="Indexpvswarp"><primary>pvswarp</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>pvswarp</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>pvswarp</refname>
11 <refpurpose>
12 Warp the spectral envelope of a PVS signal
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Warp the spectral envelope of a PVS signal by means of shifting and scaling.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>fsig <command>pvswarp</command> fsigin, kscal, kshift[, klowest, kmeth, kgain, kcoefs]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 <emphasis>fsig</emphasis> -- output pv stream
32 </para>
33
34 <para>
35 <emphasis>fsigin</emphasis> -- input pv stream
36 </para>
37
38 <para>
39 <emphasis>kscal</emphasis> -- spectral envelope scaling ratio. Values > 1 stretch the envelope and &lt; 1 compress it.
40 </para>
41
42 <para>
43 <emphasis>kshift</emphasis> -- spectral envelope shift (in Hz), values > 0 shift the envelope linearly upwards and values &lt; 0 shift it downwards.
44 </para>
45
46 <para>
47 <emphasis>klowest</emphasis> -- lowest frequency shifted (affects only kshift, defaults to 0).
48 </para>
49
50 <para>
51 <emphasis>kmethod</emphasis> -- spectral envelope extraction method
52 1: liftered cepstrum method; 2: true envelope method
53 (defaults to 1).
54 </para>
55
56 <para>
57 <emphasis>kgain</emphasis> -- amplitude scaling (defaults to 1).
58 </para>
59
60 <para>
61 <emphasis>kcoefs</emphasis> -- number of cepstrum coefs used in formant preservation (defaults to 80).
62 </para>
63
64 <warning>
65 <para>
66 It is unsafe to use the same f-variable for both input and output of pvs opcodes. Using the same one might lead to undefined behavior on some opcodes. Use a different one on the left and right sides of the opcode.
67 </para>
68 </warning>
69 </refsect1>
70
71 <refsect1>
72 <title>Examples</title>
73 <para>
74 Here is an example of the pvswarp opcode. It uses the file <ulink url="examples/pvswarp.csd"><citetitle>pvswarp.csd</citetitle></ulink>.
75 <example>
76 <title>Example of the pvswarp opcode.</title>
77 <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>
78 <xi:include href="examples-xml/pvswarp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
79 </example>
80 </para>
81 <para>Used with vocal sounds, it will shift the formants and result in a changed vowel timbre, similar to the effect of a singer inhaling helium (the 'donald duck' effect).</para>
82 </refsect1>
83
84 <refsect1>
85 <title>See also</title>
86 <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para>
87 </refsect1>
88
89 <refsect1>
90 <title>Credits</title>
91 <para>
92 <simplelist>
93 <member>Author: &namevictor;</member>
94 <member>November 2004 </member>
95 </simplelist>
96 </para>
97
98 <para>New plugin in version 5</para>
99 <para>November 2004.</para>
100 </refsect1>
101 </refentry>