| 1 | |
| 2 | <refentry id="opcode1"> |
| 3 | <refmeta> |
| 4 | <refentrytitle>opcode1</refentrytitle> |
| 5 | </refmeta> |
| 6 | |
| 7 | <refnamediv> |
| 8 | <refname>opcode1</refname> |
| 9 | <refpurpose> |
| 10 | This is an example DocBook XML file for an opcode. |
| 11 | <indexterm id="IndexOpcode1"><primary>opcode1</primary></indexterm> |
| 12 | </refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsect1> |
| 16 | <title>Description</title> |
| 17 | <para> |
| 18 | This is an example DocBook XML file for an opcode. |
| 19 | </para> |
| 20 | </refsect1> |
| 21 | |
| 22 | <refsect1> |
| 23 | <title>Syntax</title> |
| 24 | <synopsis>ar <command>opcode1</command> insnum</synopsis> |
| 25 | </refsect1> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Initialization</title> |
| 29 | <para> |
| 30 | <emphasis>insnum</emphasis> -- instrument number. Equivalent to p1 in a score <emphasis>i statement</emphasis>. |
| 31 | </para> |
| 32 | </refsect1> |
| 33 | |
| 34 | <refsect1> |
| 35 | <title>Performance</title> |
| 36 | <para> |
| 37 | They go beep. |
| 38 | </para> |
| 39 | </refsect1> |
| 40 | |
| 41 | <refsect1> |
| 42 | <title>Examples</title> |
| 43 | <para> |
| 44 | Here is an example of the opcode1 opcode. It uses the files <ulink url="examples/opcode1.orc"><citetitle>opcode1.orc</citetitle></ulink> and <ulink url="examples/opcode1.sco"><citetitle>opcode1.sco</citetitle></ulink>. |
| 45 | |
| 46 | <example> |
| 47 | <title>Example of the opcode1 opcode.</title> |
| 48 | |
| 49 | <programlisting> |
| 50 | <xi:include href="examples/opcode1.orc" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 51 | </programlisting> |
| 52 | |
| 53 | <programlisting> |
| 54 | <xi:include href="examples/opcode1.sco" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 55 | </programlisting> |
| 56 | </example> |
| 57 | </para> |
| 58 | </refsect1> |
| 59 | |
| 60 | <refsect1> |
| 61 | <title>Credits</title> |
| 62 | <para>Author: Opcode Author</para> |
| 63 | <para>New in version 5.00</para> |
| 64 | </refsect1> |
| 65 | </refentry> |