Debian Codegraph @

opcodes/vps.xml

raw symbols SCIP
1
2 <refentry id="vps">
3 <indexterm id="IndexVps"><primary>vps</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers: Phase Shaping</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>vps</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>vps</refname>
11 <refpurpose>
12 Shapes a phase signal according to a two-dimensional vector.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Vector phase shaping modifies a phase input value by mapping an
20 input, in the range [0, 1) according to a non-linear function
21 consisting of two piecewise linear segments joined at an
22 inflection point. This is defined by the vector [kd, kv],
23 where kd is in the range [0, 1) and kv can have any value.
24 </para>
25 </refsect1>
26
27 <refsect1>
28 <title>Syntax</title>
29 <synopsis>avp <command>vps</command> aph,kd,kv</synopsis>
30 </refsect1>
31
32 <refsect1>
33 <title>Performance</title>
34 <para>
35 <emphasis>avp</emphasis> -- output phase.
36 </para>
37 <para>
38 <emphasis>aph</emphasis> -- input phase (as produced by phasor).
39 </para>
40 <para>
41 <emphasis>kd</emphasis> -- horizontal vector component.
42 </para>
43 <para>
44 <emphasis>aph</emphasis> -- vertical vector component.
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title>Examples</title>
50 <para>
51 Here is an example of the use of the <emphasis>vps</emphasis> opcode. It uses the file <ulink url="examples/vps.csd"><citetitle>vps.csd</citetitle></ulink>.
52 <example>
53 <title>Example of the <emphasis>vps</emphasis> opcode.</title>
54 <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>
55 <xi:include href="examples-xml/vps.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
56 </example>
57 </para>
58 </refsect1>
59
60 <refsect1>
61 <title>See also</title>
62 <para><link linkend="SigmodWavshape"><citetitle>Phase Distortion</citetitle></link></para>
63 </refsect1>
64
65 <refsect1>
66 <title>Credits</title>
67 <para>
68 <simplelist>
69 <member>Author: Victor Lazzarini</member>
70 <member>July 2020</member>
71 </simplelist>
72 </para>
73 </refsect1>
74 </refentry>