Debian Codegraph @

opcodes/mixergetlevel.xml

raw symbols SCIP
1
2 <refentry id="MixerGetLevel">
3 <indexterm id="IndexMixerGetLevel"><primary>MixerGetLevel</primary></indexterm>
4 <refentryinfo><title>Mixer Opcodes</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>MixerGetLevel</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>MixerGetLevel</refname>
13 <refpurpose>
14 Gets the level of a send to a buss.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>Plugin opcode in mixer</para>
21 <para>Gets the level at which signals from the send are being added to the buss. The actual sending of the signal to the buss
22 is performed by the <link linkend="MixerSend"><citetitle>MixerSend</citetitle></link> opcode.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis>kgain <command>MixerGetLevel</command> isend, ibuss</synopsis>
29 </refsect1>
30
31
32 <refsect1>
33 <title>Initialization</title>
34
35 <para><emphasis>isend</emphasis> -- The number of the send, for example the number of the instrument sending the signal.</para>
36
37 <para><emphasis>ibuss</emphasis> -- The number of the buss, for example the number of the instrument receiving the signal.</para>
38
39 </refsect1>
40
41 <refsect1>
42 <title>Performance</title>
43 <para><emphasis>kgain</emphasis> -- The level (any real number) at which the signal from the send will be mixed onto the buss.</para>
44
45 <para>
46 This opcode reports the level set by <link linkend="MixerSetLevel"><citetitle>MixerSetLevel</citetitle></link> for a send and buss pair.
47 </para>
48 <para>
49 Use of the mixer requires that instruments setting gains have smaller numbers than instruments sending signals,
50 and that instruments sending signals have smaller numbers than instruments receiving those signals.
51 However, an instrument may have any number of sends or receives. After the final signal is received,
52 <link linkend="MixerClear"><citetitle>MixerClear</citetitle></link> must be invoked to reset the busses to 0 before the next kperiod.
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>Examples</title>
58 <para>
59 Here is an example of the MixerGetLevel opcode. It uses the file <ulink url="examples/Mixer.csd"><citetitle>Mixer.csd</citetitle></ulink>
60 <example>
61 <title>Example of the MixerGetLevel opcode.</title>
62 <xi:include href="examples-xml/Mixer.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
63 </example>
64 </para>
65 </refsect1>
66
67 <refsect1>
68 <title>See also</title>
69 <para><link linkend="MixerOpcodes"><citetitle>Mixer Opcodes</citetitle></link></para>
70 </refsect1>
71
72 <refsect1>
73 <title>Credits</title>
74 <para>Michael Gogins (gogins at pipeline dot com).</para>
75 </refsect1>
76 </refentry>