Debian Codegraph @

opcodes/miditempo.xml

raw symbols SCIP
1
2 <refentry id="miditempo">
3 <indexterm id="IndexMiditempo"><primary>miditempo</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Sensing and Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>miditempo</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>miditempo</refname>
13
14 <refpurpose>
15 Returns the current tempo at k-rate, of either the MIDI file (if
16 available) or the score.
17 </refpurpose>
18 </refnamediv>
19
20 <refsect1>
21 <title>Description</title>
22 <para>
23 Returns the current tempo at k-rate, of either the MIDI file (if
24 available) or the score (provided the -t option is used).
25
26 </para>
27 </refsect1>
28
29 <refsect1>
30 <title>Syntax</title>
31 <synopsis>ksig <command>miditempo</command></synopsis>
32 </refsect1>
33
34 <refsect1>
35 <title>Examples</title>
36 <para>
37 Here is an example of the miditempo opcode. It uses the files <ulink url="examples/miditempo.csd"><citetitle>miditempo.csd</citetitle></ulink>.
38 <example>
39 <title>Example of the miditempo opcode.</title>
40 <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>
41 <xi:include href="examples-xml/miditempo.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
42 </example>
43 Its output should include a line like this:
44 <screen>
45 miditempo = 96
46 </screen>
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>See also</title>
52 <para><link linkend="ControlSensing"><citetitle>Sensing and Control: Tempo and Sequencing</citetitle></link></para>
53 </refsect1>
54
55 <refsect1>
56 <title>Credits</title>
57 <para>
58 <simplelist>
59 <member>Author: &nameistvan;</member>
60 <member>March 2005</member>
61 <member>New in Csound5</member>
62 </simplelist>
63 </para>
64
65 </refsect1>
66 </refentry>