| 1 |
|
| 2 |
<refentry id="sc_lagud"> |
| 3 |
<indexterm id="IndexSc_lagud"><primary>sc_lagud</primary></indexterm> |
| 4 |
|
| 5 |
<refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo> |
| 6 |
<refmeta> |
| 7 |
<refentrytitle>sc_lagud</refentrytitle> |
| 8 |
</refmeta> |
| 9 |
|
| 10 |
<refnamediv> |
| 11 |
<refname>sc_lagud</refname> |
| 12 |
<refpurpose> |
| 13 |
Exponential Lag (Deprecated) |
| 14 |
</refpurpose> |
| 15 |
</refnamediv> |
| 16 |
|
| 17 |
<refsect1> |
| 18 |
<title>Description</title> |
| 19 |
<para>Plugin opcode in scugens.</para> |
| 20 |
<para> |
| 21 |
Exponential lag with a smoothing time for up- and down signals. DEPRECATED (renamed as |
| 22 |
<link linkend="lagud"><citetitle>lagud</citetitle></link>) |
| 23 |
</para> |
| 24 |
</refsect1> |
| 25 |
|
| 26 |
<refsect1> |
| 27 |
<title>Syntax</title> |
| 28 |
|
| 29 |
<synopsis>aout <command>sc_lagud</command> ain, klagup, klagdown [, initialvalue]</synopsis> |
| 30 |
<synopsis>kout <command>sc_lagud</command> kin, klagup, klagdown [, initialvalue]</synopsis> |
| 31 |
|
| 32 |
</refsect1> |
| 33 |
|
| 34 |
<refsect1> |
| 35 |
<title>Initialization</title> |
| 36 |
<para> |
| 37 |
<emphasis>initialvalue</emphasis> If given, sets the internal state. Defaults to the first value passed |
| 38 |
</para> |
| 39 |
</refsect1> |
| 40 |
|
| 41 |
<refsect1> |
| 42 |
<title>Performance</title> |
| 43 |
|
| 44 |
<para> |
| 45 |
<emphasis>ain</emphasis> -- input signal |
| 46 |
</para> |
| 47 |
<para> |
| 48 |
<emphasis>klagup</emphasis> -- 60 dB lag time in seconds for the upgoing signal. |
| 49 |
</para> |
| 50 |
<para> |
| 51 |
<emphasis>klagdown</emphasis> -- 60 dB lag time in seconds for the downgoing signal. |
| 52 |
</para> |
| 53 |
|
| 54 |
<para> |
| 55 |
This is essentially the same as sc_lag except that you can |
| 56 |
supply a different 60 dB time for when the signal goes up, from |
| 57 |
when the signal goes down. This is useful for smoothing out |
| 58 |
control signals, where "fade in" should be different from "fade |
| 59 |
out". |
| 60 |
</para> |
| 61 |
</refsect1> |
| 62 |
<refsect1> |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
<title>Examples</title> |
| 67 |
<para> |
| 68 |
Here is an example of the sc_lagud opcode. It uses the file <ulink url="examples/sc_lagud.csd"><citetitle>sc_lagud.csd</citetitle></ulink>. |
| 69 |
<example> |
| 70 |
<title>Example of the sc_lagud opcode.</title> |
| 71 |
<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> |
| 72 |
<xi:include href="examples-xml/sc_lagud.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 73 |
</example> |
| 74 |
</para> |
| 75 |
</refsect1> |
| 76 |
|
| 77 |
<refsect1> |
| 78 |
<title>See also</title> |
| 79 |
<para><link linkend="SigmodStandard"><citetitle>Standard Filters: Control signal filters</citetitle></link></para> |
| 80 |
</refsect1> |
| 81 |
|
| 82 |
<refsect1> |
| 83 |
|
| 84 |
<title>Credits</title> |
| 85 |
<para>By: &nameeduardo; 2017</para> |
| 86 |
</refsect1> |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
</refentry> |