Debian Codegraph @

opcodes/outiat.xml

raw symbols SCIP
1
2 <refentry id="outiat">
3 <indexterm id="IndexOutiat"><primary>outiat</primary></indexterm>
4 <refentryinfo><title>Real-time MIDI:Output</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>outiat</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>outiat</refname>
13
14 <refpurpose>
15 Sends MIDI aftertouch messages at i-rate.
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 Sends MIDI aftertouch messages at i-rate.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>outiat</command> ichn, ivalue, imin, imax</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>ichn</emphasis> -- MIDI channel number (1-16)
35 </para>
36
37 <para>
38 <emphasis>ivalue</emphasis> -- floating point value
39 </para>
40
41 <para>
42 <emphasis>imin</emphasis> -- minimum floating point value (converted in MIDI integer value 0)
43 </para>
44
45 <para>
46 <emphasis>imax</emphasis> -- maximum floating point value (converted in MIDI integer value 127 (7 bit))
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>Performance</title>
52 <para>
53 <emphasis>outiat</emphasis> (i-rate aftertouch output) sends aftertouch messages. It works only with MIDI instruments which recognize them. It can drive a different value of a parameter for each note currently active.
54 </para>
55
56 <para>
57 It can scale an i-value floating-point argument according to the <emphasis>imin</emphasis> and <emphasis>imax</emphasis> values. For example, set <emphasis>imin</emphasis> = 1.0 and <emphasis>imax</emphasis> = 2.0. When the <emphasis>ivalue</emphasis> argument receives a 2.0 value, the opcode will send a 127 value to the MIDI OUT device. When the <emphasis>ivalue</emphasis> argument receives a 1.0 value, it will send a 0 value. i-rate opcodes send their message once during instrument initialization.
58 </para>
59 </refsect1>
60
61 <refsect1>
62 <title>Examples</title>
63 <para>
64 Here is an example of the outiat opcode. It uses the file <ulink url="examples/outiat.csd"><citetitle>outiat.csd</citetitle></ulink>.
65 <example>
66 <title>Example of the outiat opcode.</title>
67 <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>
68 <xi:include href="examples-xml/outiat.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
69 </example>
70 </para>
71 </refsect1>
72
73 <refsect1>
74 <title>See also</title>
75 <para><link linkend="MidiOutput"><citetitle>MIDI Message Output</citetitle></link></para>
76 </refsect1>
77
78 <refsect1>
79 <title>Credits</title>
80 <para>
81 <simplelist>
82 <member>Author: &namegabriel;</member>
83 <member>Italy</member>
84 </simplelist>
85 </para>
86
87 <para>New in Csound version 3.47</para>
88 <para>Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.</para>
89 </refsect1>
90 </refentry>