| 1 | |
| 2 | <refentry id="MixerSetLevel_i"> |
| 3 | <indexterm id="IndexMixerSetLevel_i"><primary>MixerSetLevel_i</primary></indexterm> |
| 4 | <refentryinfo><title>Mixer Opcodes</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>MixerSetLevel_i</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>MixerSetLevel_i</refname> |
| 11 | <refpurpose> |
| 12 | Sets the level of a send to a buss. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para>Plugin opcode in mixer</para> |
| 19 | <para>Sets the level at which signals from the send are added to the buss. This opcode, because all parameters are irate, may |
| 20 | be used in the orchestra header. The actual sending of the signal to the buss |
| 21 | is performed by the <link linkend="MixerSend"><citetitle>MixerSend</citetitle></link> opcode. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>MixerSetLevel_i</command> isend, ibuss, igain</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Initialization</title> |
| 33 | |
| 34 | <para><emphasis>isend</emphasis> -- The number of the send, for example the number of the instrument sending the signal (but any integer can be used).</para> |
| 35 | |
| 36 | <para><emphasis>ibuss</emphasis> -- The number of the buss, for example the number of the instrument receiving the signal (but any integer can be used).</para> |
| 37 | |
| 38 | <para><emphasis>igain</emphasis> -- The level (any real number) at which the signal from the send will be mixed onto the buss. The default is 0.</para> |
| 39 | |
| 40 | <para>Setting the gain for a buss also creates the buss.</para> |
| 41 | </refsect1> |
| 42 | |
| 43 | <refsect1> |
| 44 | <title>Performance</title> |
| 45 | |
| 46 | <para> |
| 47 | Use of the mixer requires that instruments setting gains have smaller numbers than instruments sending signals, |
| 48 | and that instruments sending signals have smaller numbers than instruments receiving those signals. |
| 49 | However, an instrument may have any number of sends or receives. After the final signal is received, |
| 50 | <link linkend="MixerClear"><citetitle>MixerClear</citetitle></link> must be invoked to reset the busses before the next kperiod. |
| 51 | </para> |
| 52 | </refsect1> |
| 53 | |
| 54 | <refsect1> |
| 55 | <title>Examples</title> |
| 56 | |
| 57 | <para>In the orchestra header, set the gain for the send from buss 3 to buss 4:</para> |
| 58 | <programlisting> |
| 59 | <emphasis role="opc">MixerSetLevel_i</emphasis> 3, 4, 0.76</programlisting> |
| 60 | |
| 61 | <refsect1> |
| 62 | <title>See also</title> |
| 63 | <para><link linkend="MixerOpcodes"><citetitle>Mixer Opcodes</citetitle></link></para> |
| 64 | </refsect1> |
| 65 | |
| 66 | </refsect1> |
| 67 | <refsect1> |
| 68 | <title>Credits</title> |
| 69 | <para>Michael Gogins (gogins at pipeline dot com).</para> |
| 70 | </refsect1> |
| 71 | </refentry> |