Debian Codegraph @

opcodes/lag.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="lag">
3 <indexterm id="Indexlag"><primary>lag</primary></indexterm>
4 <!--Make sure the category below is a valid one! See categories.py-->
5 <refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>lag</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>lag</refname>
12 <refpurpose>
13 Exponential Lag
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in scugens.</para>
20 <para>
21 Exponential lag with 60dB lag time. Port of Supercollider's Lag. This is essentially a one
22 pole filter except that instead of supplying the coefficient directly, it is calculated
23 from a 60 dB lag time. This is the time required for the filter to converge to within
24 0.01% of a value. This is useful for smoothing out control signals.
25 </para>
26 </refsect1>
27
28 <refsect1>
29 <title>Syntax</title>
30 <!-- Please keep this below ~70 characters by using backslashes to avoid overflow in the pdf version-->
31 <synopsis>aout <command>lag</command> ain, klagtime [, initialvalue]</synopsis>
32
33 <synopsis>kout <command>lag</command> kin, klagtime [, initialvalue]</synopsis>
34
35 </refsect1>
36
37 <refsect1>
38 <title>Initialization</title>
39 <para>
40 <emphasis>initialvalue</emphasis> If given, sets the internal state. It defaults to the
41 first value passed
42 </para>
43 </refsect1>
44
45 <refsect1>
46 <title>Performance</title>
47 <!-- First list all input and output performance parameters-->
48 <para>
49 <emphasis>ain</emphasis> -- input signal
50 </para>
51 <para>
52 <emphasis>klagtime</emphasis> -- 60 dB lag time in seconds.
53 </para>
54 <para>
55 <emphasis>kladown</emphasis> -- 60 dB lag time in seconds for the downgoing signal.
56 </para>
57
58 </refsect1>
59 <refsect1>
60 <!--To add examples, create the csd file in the examples directory, then run:-->
61 <!--python csd2docbook.py -f newopcodename.csd-->
62 <!--to generate the xml highlighted version used below-->
63 <title>Examples</title>
64 <para>
65 Here is an example of the lag opcode. It uses the file <ulink url="examples/lag.csd"><citetitle>lag.csd</citetitle></ulink>.
66 <example>
67 <title>Example of the lag opcode.</title>
68 <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>
69 <xi:include href="examples-xml/lag.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
70 </example>
71 </para>
72 </refsect1>
73
74 <refsect1>
75 <title>See also</title>
76 <para><link linkend="SigmodStandard"><citetitle>Standard Filters: Control signal filters</citetitle></link></para>
77 </refsect1>
78
79 <refsect1>
80 <!-- And put your name and other relevant information here-->
81 <title>Credits</title>
82 <para>By: &nameeduardo; 2017</para>
83 </refsect1>
84
85 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
86 <!--Add the entity to manual.xml-->
87 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
88 <!--And you're set! Maybe delete the comments as well...-->
89
90 </refentry>