| 1 | |
| 2 | <refentry id="monitor"> |
| 3 | <indexterm id="IndexMonitor"><primary>monitor</primary></indexterm> |
| 4 | <refentryinfo><title>Signal I/O:Signal Output</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>monitor</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>monitor</refname> |
| 13 | <refpurpose> |
| 14 | Returns the audio spout frame. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Returns the audio spout frame (if active), otherwise it returns zero. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>aout1 [,aout2 ... aoutX] <command>monitor</command></synopsis> |
| 28 | <synopsis>aarra <command>monitor</command></synopsis> |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Performance</title> |
| 33 | <para>In the array form it reads all chanels to a one dimensional |
| 34 | array.</para> |
| 35 | <para> |
| 36 | This opcode can be used for monitoring the output signal from |
| 37 | csound. It should not be used for processing the signal |
| 38 | further. |
| 39 | </para> |
| 40 | <para> |
| 41 | See the entry for the <link linkend="fout"><citetitle>fout</citetitle></link> opcode for an example of usage of <emphasis>monitor</emphasis>. |
| 42 | </para> |
| 43 | </refsect1> |
| 44 | |
| 45 | <refsect1> |
| 46 | <title>Examples</title> |
| 47 | <para> |
| 48 | Here is an example of the monitor opcode. It uses the file <ulink url="examples/monitor.csd"><citetitle>monitor.csd</citetitle></ulink>. |
| 49 | <example> |
| 50 | <title>Example of the monitor 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/monitor.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="SigioOutput"><citetitle>Signal Output</citetitle></link></para> |
| 60 | </refsect1> |
| 61 | |
| 62 | <refsect1> |
| 63 | <title>Credits</title> |
| 64 | <para>Istvan Varga 2006</para> |
| 65 | <para>&namejohn; 2016 for array form, new in 6.08</para> |
| 66 | </refsect1> |
| 67 | </refentry> |