Debian Codegraph @

opcodes/lineto.xml

raw symbols SCIP
1
2 <refentry id="lineto">
3 <indexterm id="IndexLineto"><primary>lineto</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>lineto</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>lineto</refname>
11 <refpurpose>
12 Generate glissandos starting from a control signal.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Generate glissandos starting from a control signal.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>kres <command>lineto</command> ksig, ktime</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 <emphasis>kres</emphasis> -- Output signal.
32 </para>
33
34 <para>
35 <emphasis>ksig</emphasis> -- Input signal.
36 </para>
37
38 <para>
39 <emphasis>ktime</emphasis> -- Time length of glissando in seconds.
40 </para>
41
42 <para>
43 <emphasis>lineto</emphasis> adds glissando (i.e. straight lines) to a stepped input signal (for example, produced by <link linkend="randh"><citetitle>randh</citetitle></link> or <link linkend="lpshold"><citetitle>lpshold</citetitle></link>). It generates a straight line starting from previous step value, reaching the new step value in <emphasis>ktime</emphasis> seconds. When the new step value is reached, such value is held until a new step occurs. Be sure that <emphasis>ktime</emphasis> argument value is smaller than the time elapsed between two consecutive steps of the original signal, otherwise discontinuities will occur in output signal.
44 </para>
45
46 <para>
47 When used together with the output of <link linkend="lpshold"><citetitle>lpshold</citetitle></link> it emulates the glissando effect of old analog sequencers.
48 </para>
49 <note><para>No new value for <emphasis>ksig</emphasis> or <emphasis>ktime</emphasis> will have effect until the previous <emphasis>ktime</emphasis> has elapsed.</para></note>
50 </refsect1>
51
52 <refsect1>
53 <title>Examples</title>
54 <para>
55 Here is an example of the lineto opcode. It uses the file <ulink url="examples/lineto.csd"><citetitle>lineto.csd</citetitle></ulink>.
56 <example>
57 <title>Example of the lineto opcode.</title>
58 <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>
59 <xi:include href="examples-xml/lineto.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
60 </example>
61 </para>
62 </refsect1>
63
64 <refsect1>
65 <title>See also</title>
66 <para><link linkend="SigmodStandard"><citetitle>Standard Filters: Control signal filters</citetitle></link></para>
67 </refsect1>
68
69 <refsect1>
70 <title>Credits</title>
71 <para>Author: &namegabriel;</para>
72 <para>New in Version 4.13</para>
73 </refsect1>
74 </refentry>