Debian Codegraph @

scoregens/m.xml

raw symbols SCIP
1
2 <refentry id="m">
3 <indexterm id="IndexMStatement"><primary>m statement</primary></indexterm>
4 <indexterm id="IndexMarkStatement"><primary>mark statement</primary></indexterm>
5 <refmeta>
6 <refentrytitle>m Statement (Mark Statement)</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>m</refname>
11 <refpurpose>
12 Sets a named mark in the score.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Sets a named mark in the score, which can be used by an <link linkend="n"><citetitle>n statement</citetitle></link>.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>m</command> p1</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>p1</emphasis> -- Name of mark.
32 </para>
33 </refsect1>
34
35 <refsect1>
36 <title>Performance</title>
37 <para>
38 This can be helpful in setting a up verse and chorus structure in the score. Names may contain letters and numerals.
39 </para>
40 <para>
41 For example, the following score:
42 </para>
43 <programlisting>
44 <emphasis role="stamnt">m</emphasis> foo
45 <emphasis role="stamnt">i</emphasis>1 0 1
46 <emphasis role="stamnt">i</emphasis>1 1 1.5
47 <emphasis role="stamnt">i</emphasis>1 2.5 2
48 <emphasis role="stamnt">s</emphasis>
49 <emphasis role="stamnt">i</emphasis>1 0 10
50 <emphasis role="stamnt">s</emphasis>
51 <emphasis role="stamnt">n</emphasis> foo
52 <emphasis role="stamnt">e</emphasis>
53 </programlisting>
54 <para>
55 Will be passed from the preprocessor to Csound as:
56 </para>
57 <programlisting>
58 <emphasis role="stamnt">i</emphasis>1 0 1
59 <emphasis role="stamnt">i</emphasis>1 1 1.5
60 <emphasis role="stamnt">i</emphasis>1 2.5 2
61 <emphasis role="stamnt">s</emphasis>
62 <emphasis role="stamnt">i</emphasis>1 0 10
63 <emphasis role="stamnt">s</emphasis>
64 <emphasis role="comment">;; this is named section repeated</emphasis>
65 <emphasis role="stamnt">i</emphasis>1 0 1
66 <emphasis role="stamnt">i</emphasis>1 1 1.5
67 <emphasis role="stamnt">i</emphasis>1 2.5 2
68 <emphasis role="stamnt">s</emphasis>
69 <emphasis role="comment">;; end of named section</emphasis>
70 <emphasis role="stamnt">e</emphasis>
71 </programlisting>
72 </refsect1>
73
74 <refsect1>
75 <title>Examples</title>
76 <para>
77 Here is an example of the m statement. It uses the file <ulink url="examples/m.csd"><citetitle>m.csd</citetitle></ulink>.
78 <example>
79 <title>Example of the m statement.</title>
80 <xi:include href="examples-xml/m.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
81 </example>
82 </para>
83 </refsect1>
84
85 <refsect1>
86 <title>See Also</title>
87 <para>
88 <link linkend="ScoreStatements"><citetitle>Score Statements</citetitle></link>
89 </para>
90 </refsect1>
91
92 <refsect1>
93 <title>Credits</title>
94 <para>
95 <simplelist>
96 <member>Author: &namejohn;</member>
97 <member>University of Bath/Codemist Ltd.</member>
98 <member>Bath, UK</member>
99 <member>April, 1998</member>
100 </simplelist>
101 </para>
102
103 <para>New in Csound version 3.48</para>
104 </refsect1>
105 </refentry>