Debian Codegraph @

opcodes/veloc.xml

raw symbols SCIP
1
2 <refentry id="veloc">
3 <indexterm id="IndexVeloc"><primary>veloc</primary></indexterm>
4 <refentryinfo><title>Real-time MIDI:Input</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>veloc</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>veloc</refname>
13 <refpurpose>
14 Get the velocity from a MIDI event.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Get the velocity from a MIDI event.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ival <command>veloc</command> [ilow] [, ihigh]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>ilow, ihigh</emphasis> -- low and hi ranges for mapping
34 </para>
35 </refsect1>
36
37 <refsect1>
38 <title>Performance</title>
39 <para>
40 Get the MIDI byte value (0 - 127) denoting the velocity of the current event.
41 </para>
42 </refsect1>
43
44 <refsect1>
45 <title>Examples</title>
46 <para>
47 Here is an example of the veloc opcode. It uses the files <ulink url="examples/veloc.csd"><citetitle>veloc.csd</citetitle></ulink> and <ulink url="examples/midiChords.mid"><citetitle>midiChords.mid</citetitle></ulink>.
48 <example>
49 <title>Example of the veloc opcode.</title>
50 <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>
51 <xi:include href="examples-xml/veloc.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
52 </example>
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>See also</title>
58 <para><link linkend="MidiInput"><citetitle>MIDI input and Initialization</citetitle></link></para>
59 </refsect1>
60
61 <refsect1>
62 <title>Credits</title>
63 <para>
64 <simplelist>
65 <member>Author: &namebarry; - &namemike;</member>
66 <member>MIT - Mills</member>
67 <member>May 1997</member>
68 </simplelist>
69 </para>
70 </refsect1>
71 </refentry>