| 1 | |
| 2 | <refentry id="dssictls"> |
| 3 | <indexterm id="IndexDssictls"><primary>dssictls</primary></indexterm> |
| 4 | <refentryinfo><title>Plugin Hosting:DSSI and LADSPA</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>dssictls</refentrytitle> |
| 7 | </refmeta> |
| 8 | <refnamediv> |
| 9 | <refname>dssictls</refname> |
| 10 | <refpurpose>Send control information to a LADSPA or DSSI plugin. |
| 11 | </refpurpose> |
| 12 | </refnamediv> |
| 13 | <note>plugin: Requires dssi4cs plugin</note> |
| 14 | <refsect1> |
| 15 | <title>Syntax</title> |
| 16 | <synopsis><command>dssictls</command> ihandle, iport, kvalue, ktrigger </synopsis> |
| 17 | </refsect1> |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para>Plugin opcode in dssi4cs.</para> |
| 21 | <para><emphasis>dssictls</emphasis> sends control values to a plugin's control port</para> |
| 22 | </refsect1> |
| 23 | <refsect1> |
| 24 | <title>Initialization</title> |
| 25 | <para> |
| 26 | <emphasis>ihandle</emphasis> - handle for the plugin returned by <link linkend="dssiinit"><citetitle>dssiinit</citetitle></link> |
| 27 | </para> |
| 28 | <para> |
| 29 | <emphasis>iport</emphasis> - control port number |
| 30 | </para> |
| 31 | </refsect1> |
| 32 | <refsect1> |
| 33 | <title>Performance</title> |
| 34 | <para> |
| 35 | <emphasis>kvalue</emphasis> - value to be assigned to the port |
| 36 | </para> |
| 37 | <para> |
| 38 | <emphasis>ktrigger</emphasis> - determines whether the control information will be sent (ktrigger = 1) or not. This is useful for thinning control information, generating ktrigger with <link linkend="metro"><citetitle>metro</citetitle></link> |
| 39 | </para> |
| 40 | <para> |
| 41 | <emphasis>dssictls</emphasis> sends control information to a LADSPA or DSSI plugin's control port. The valid control ports and ranges are given by <link linkend="dssiinit"><citetitle>dssiinit</citetitle></link> . Using values outside the ranges may produce unspecified behaviour. |
| 42 | </para> |
| 43 | </refsect1> |
| 44 | |
| 45 | <refsect1> |
| 46 | <title>Examples</title> |
| 47 | <para> |
| 48 | Here is an example of the dssictls opcode. It uses the file <ulink url="examples/dssictls.csd"><citetitle>dssictls.csd</citetitle></ulink>. |
| 49 | <example> |
| 50 | <title>Example of the dssictls opcode.</title> |
| 51 | <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> |
| 52 | <xi:include href="examples-xml/dssictls.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 53 | </example> |
| 54 | </para> |
| 55 | </refsect1> |
| 56 | |
| 57 | <refsect1> |
| 58 | <title>See also</title> |
| 59 | <para><link linkend="dssi4cs"><citetitle>DSSI and LADSPA</citetitle></link></para> |
| 60 | </refsect1> |
| 61 | |
| 62 | <refsect1> |
| 63 | <title>Credits</title> |
| 64 | <para>2005</para> |
| 65 | <para>By: &nameandres;</para> |
| 66 | <para>Uses code from Richard Furse's LADSPA sdk.</para> |
| 67 | </refsect1> |
| 68 | </refentry> |