| 1 | |
| 2 | <refentry id="dssiaudio"> |
| 3 | <indexterm id="IndexDssiAudio"><primary>dssiaudio</primary></indexterm> |
| 4 | <refentryinfo><title>Plugin Hosting:DSSI and LADSPA</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>dssiaudio</refentrytitle> |
| 7 | </refmeta> |
| 8 | <refnamediv> |
| 9 | <refname>dssiaudio</refname> |
| 10 | <refpurpose>Processes audio using a LADSPA or DSSI plugin. |
| 11 | </refpurpose> |
| 12 | </refnamediv> |
| 13 | <note>plugin: Requires dssi4cs plugin</note> |
| 14 | <refsect1> |
| 15 | <title>Syntax</title> |
| 16 | <synopsis>[aout1, aout2, ..., aout9] <command>dssiaudio</command> ihandle, [ain1, ain2, ..., ain9]</synopsis> |
| 17 | </refsect1> |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para>Plugin opcode in dssi4cs.</para> |
| 21 | <para><emphasis>dssiaudio</emphasis> generates audio by processing an input signal through a LADSPA plugin.</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 | </refsect1> |
| 29 | <refsect1> |
| 30 | <title>Performance</title> |
| 31 | <para> |
| 32 | <emphasis>aout1, aout2, etc</emphasis> - Audio ouput generated by the plugin |
| 33 | </para> |
| 34 | <para> |
| 35 | <emphasis>ain1, ain2, etc</emphasis> - Audio provided to the plugin for processing |
| 36 | </para> |
| 37 | <para> |
| 38 | <emphasis>dssiaudio</emphasis> runs a plugin on the provided |
| 39 | audio and produces audio output. Currently upto four inputs and |
| 40 | outputs are provided. You should provide signal for all the |
| 41 | plugins audio inputs, otherwise unpredictable results may |
| 42 | occur. If the plugin does not have any input (e.g Noise generator) you must still provide at least one input variable, which will be ignored with a message. |
| 43 | </para> |
| 44 | <para> |
| 45 | Only one <emphasis>dssiaudio</emphasis> should be executed once per plugin, or strange results may occur. |
| 46 | </para> |
| 47 | </refsect1> |
| 48 | |
| 49 | <refsect1> |
| 50 | <title>Examples</title> |
| 51 | <para> |
| 52 | Here is an example of the dssiaudio opcode. It uses the file <ulink url="examples/dssiaudio.csd"><citetitle>dssiaudio.csd</citetitle></ulink>. |
| 53 | <example> |
| 54 | <title>Example of the dssiaudio opcode.</title> |
| 55 | <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> |
| 56 | <xi:include href="examples-xml/dssiaudio.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 57 | </example> |
| 58 | </para> |
| 59 | </refsect1> |
| 60 | |
| 61 | <refsect1> |
| 62 | <title>See also</title> |
| 63 | <para><link linkend="dssi4cs"><citetitle>DSSI and LADSPA</citetitle></link></para> |
| 64 | </refsect1> |
| 65 | |
| 66 | <refsect1> |
| 67 | <title>Credits</title> |
| 68 | <para>2005</para> |
| 69 | <para>By: &nameandres;</para> |
| 70 | <para>Uses code from Richard Furse's LADSPA sdk.</para> |
| 71 | </refsect1> |
| 72 | |
| 73 | </refentry> |