Debian Codegraph @

opcodes/lpsholdp.xml

raw symbols SCIP
1
2 <refentry id="lpsholdp">
3 <indexterm id="Indexlpsholdp"><primary>lpsholdp</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Linear and Exponential Generators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>lpsholdp</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>lpsholdp</refname>
13 <refpurpose>
14 Control signals based on held segments.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Generate control signal consisiting of held segments delimited
22 by two or more specified points. The entire envelope can be looped
23 at time-variant rate. Each segment coordinate can also be varied
24 at k-rate.
25 </para>
26 </refsect1>
27 <refsect1>
28 <title>Syntax</title>
29 <synopsis>ksig <command>lpsholdp</command> kphase, kvalue0, ktime0 [, kvalue1] [, ktime1] \
30 [, kvalue2] [, ktime2] [...]</synopsis>
31 </refsect1>
32
33 <refsect1>
34 <title>Performance</title>
35 <para>
36 <emphasis>ksig</emphasis> - output signal
37 </para>
38 <para>
39 <emphasis>kphase</emphasis> -- point of the sequence read, expressed as a fraction of a cycle (0 to 1)
40 </para>
41 <para>
42 <emphasis>kvalue0...kvalueN</emphasis> -- Values of points
43 </para>
44 <para>
45 <emphasis>ktime0...ktimeN</emphasis> -- Times between points; expressed in fractions of a cycle (see below). The final time designates a ramp between the final value and the first value.
46 </para>
47 <para>
48 <emphasis>lpsholdp</emphasis> opcode is similar to
49 <link linkend="lpshold"><citetitle>lpshold</citetitle></link>; the only difference is that, instead
50 of frequency, a time-variant phase is required. If you use a
51 phasor to get the phase value, you will have a behaviour identical
52 to <emphasis>lpshold</emphasis>, but interesting results can be achieved
53 when using phases having non-linear motions, making <emphasis>lpsholdp</emphasis> more
54 powerful and general than <emphasis>lpshold</emphasis>.
55 </para>
56
57 </refsect1>
58
59 <refsect1>
60 <title>Examples</title>
61 <para>
62 Here is an example of the lpsholdp opcode. It uses the file <ulink url="examples/lpsholdp.csd"><citetitle>lpsholdp.csd</citetitle></ulink>.
63
64 <example>
65 <title>Example of the lpsholdp opcode.</title>
66 <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>
67 <xi:include href="examples-xml/lpsholdp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
68 </example>
69 </para>
70 </refsect1>
71
72 <refsect1>
73 <title>See also</title>
74 <para><link linkend="SiggenLineexp"><citetitle>Linear and Exponential Generators</citetitle></link></para>
75 </refsect1>
76
77 <refsect1>
78 <title>Credits</title>
79 <para>Written by &namegabriel;.</para>
80 <para>New in Csound 5 (Previously available only on CsoundAV)</para>
81 </refsect1>
82 </refentry>
83
84