Debian Codegraph @

opcodes/template.xml

raw symbols SCIP
1
2 <!--Change refentry id and indexterm id-->
3 <refentry id="newopcodename">
4 <indexterm id="IndexNewopcode"><primary>newopcodename</primary></indexterm>
5 <!--Make sure the category below is a valid one! See categories.py-->
6 <refentryinfo><title>Signal Modifiers:Delay</title></refentryinfo>
7 <refmeta>
8 <refentrytitle>newopcodename</refentrytitle>
9 </refmeta>
10
11 <refnamediv>
12 <refname>newopcodename</refname>
13 <refpurpose>
14 Short description. Single line for opcode listing.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>Plugin opcode in mycode. (if not in base system)</para>
21 <para>
22 Less concise description, but still short.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <!-- Please keep this below ~70 characters by using backslashes to avoid overflow in the pdf version-->
29 <synopsis>outarg1, outarg2 <command>newopcodename</command> inarg1, inarg2</synopsis>
30 </refsect1>
31
32 <refsect1>
33 <!-- If applicable list i-time arguments-->
34 <title>Initialization</title>
35 <para>
36 <emphasis>ivar</emphasis> -- i-time variable
37 </para>
38 <para>
39 <emphasis>ivar2</emphasis> -- i-time variable 2
40 </para>
41 </refsect1>
42
43 <refsect1>
44 <title>Performance</title>
45 <!-- First list all input and output performance parameters-->
46 <para>
47 <emphasis>asig</emphasis> -- audio signal
48 </para>
49 <para>
50 <emphasis>ksig</emphasis> -- control signal
51 </para>
52
53 <para>
54 Then describe performace in detail.
55 </para>
56
57 <para>Use for internal manual links: <link linkend="delayr"><citetitle>delayr</citetitle></link> and this for external hyperlinks: <ulink url="examples/newopcodename.csd"><citetitle>newopcodename.csd</citetitle></ulink> or for the internet: <ulink url="http://www.csounds.com"><citetitle>Csounds.com page</citetitle></ulink>.
58 </para>
59
60 <para>
61 You can also emphasize <emphasis>words</emphasis>.
62 </para>
63
64 <note>
65 <title>Title of the note (optional)</title>
66 <para>
67 An important note. You can also use "tip" or "warning" instead of note.
68 </para>
69 </note>
70
71 <para>
72 You can also do lists.
73 <itemizedlist>
74 <listitem><para>First item</para></listitem>
75 <listitem><para>Second item</para></listitem>
76 </itemizedlist>
77 </para>
78
79 <para>
80 You can also do numbered lists.
81 <orderedlist>
82 <listitem><para>First item</para></listitem>
83 <listitem><para>Second item</para></listitem>
84 </orderedlist>
85 </para>
86
87 <para>
88 Put inline program lines like this:
89 <programlisting>aout oscil 10000, 440, 1</programlisting>
90 And Csound output like this:
91 <literallayout>Output text</literallayout>
92 </para>
93
94 <para>
95 You can put images like this:
96 <mediaobject>
97 <imageobject>
98 <imagedata fileref="images/grain3_2.png" format="PNG"/>
99 </imageobject>
100
101 <textobject>
102 <phrase>[A diagram showing grains with a start time less than zero in red.]</phrase>
103 </textobject>
104
105 <caption>
106 <para>A diagram showing grains with a start time less than zero in red.</para>
107 </caption>
108 </mediaobject>
109 </para>
110
111 </refsect1>
112
113
114 <refsect1>
115 <!--To add examples, create the csd file in the examples directory, then run:-->
116 <!--python csd2docbook.py -f newopcodename.csd-->
117 <!--to generate the xml highlighted version used below-->
118 <title>Examples</title>
119 <para>
120 Here is an example of the delay opcode. It uses the file <ulink url="examples/newopcodename.csd"><citetitle>newopcodename.csd</citetitle></ulink>.
121 <example>
122 <title>Example of the newopcodename opcode.</title>
123 <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>
124 <xi:include href="examples-xml/newopcodename.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
125 </example>
126 </para>
127 </refsect1>
128
129 <refsect1>
130 <title>See Also</title>
131 <!-- it is always good to include a good See Also list -->
132 <para>
133 <link linkend="deltap"><citetitle>deltap</citetitle></link>
134 </para>
135 </refsect1>
136
137 <refsect1>
138 <!-- And put your name and other relevant information here-->
139 <title>Credits</title>
140 <para>By: &namejohn; 2010</para>
141 <para>Additional information</para>
142 <para>New in version 6.??</para>
143 </refsect1>
144
145 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
146 <!--Add the entity to manual.xml-->
147 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
148 <!--And you are set! Maybe delete the comments as well...-->
149
150 </refentry>