Debian Codegraph @

opcodes/gainslider.xml

raw symbols SCIP
1
2 <refentry id="gainslider">
3 <indexterm id="IndexGainslider"><primary>gainslider</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Linear and Exponential Generators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>gainslider</refentrytitle>
7 </refmeta>
8
9
10 <refnamediv>
11 <refname>gainslider</refname>
12 <refpurpose>
13 An implementation of a logarithmic gain curve which is similar to the gainslider~ object from Cycling 74 Max / MSP.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 This opcode is intended for use to multiply by an audio signal to give a console mixer like feel. There is no bounds in the
21 source code so you can for example give higher than 127 values for extra amplitude but possibly clipped audio.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kout <command>gainslider</command> kindex</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Performance</title>
32 <para>
33 <emphasis>kindex</emphasis> -- Index value. Nominal range from 0-127. For example a range of 0-152 will give you a range from -&#8734; to +18.0 dB.
34 </para>
35 <para>
36 <emphasis>kout</emphasis> -- Scaled output.
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <title>Examples</title>
42 <para>
43 Here is an example of the gainslider opcode. It uses the file <ulink url="examples/gainslider.csd"><citetitle>gainslider.csd</citetitle></ulink>.
44
45 <example>
46 <title>Example of the gainslider opcode.</title>
47
48
49
50 <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>
51 <xi:include href="examples-xml/gainslider.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
52 </example>
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>See also</title>
58 <para><link linkend="SiggenLineexp"><citetitle>Linear and Exponential Generators</citetitle></link></para>
59 </refsect1>
60
61 <refsect1>
62 <title>Credits</title>
63 <para>
64 <simplelist>
65 <member>Author: David Akbari</member>
66 <member>October</member>
67 <member>2006</member>
68 </simplelist>
69 </para>
70 </refsect1>
71 </refentry>