Debian Codegraph @

opcodes/outkpat.xml

raw symbols SCIP
1
2 <refentry id="outkpat">
3 <indexterm id="IndexOutkpat"><primary>outkpat</primary></indexterm>
4 <refentryinfo><title>Real-time MIDI:Output</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>outkpat</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>outkpat</refname>
13
14 <refpurpose>
15 Sends polyphonic MIDI aftertouch messages at k-rate.
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 Sends polyphonic MIDI aftertouch messages at k-rate.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>outkpat</command> kchn, knotenum, kvalue, kmin, kmax</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Performance</title>
33 <para>
34 <emphasis>kchn</emphasis> -- MIDI channel number (1-16)
35 </para>
36
37 <para>
38 <emphasis>knotenum</emphasis> -- MIDI note number (used in polyphonic aftertouch messages)
39 </para>
40
41 <para>
42 <emphasis>kvalue</emphasis> -- floating point value
43 </para>
44
45 <para>
46 <emphasis>kmin</emphasis> -- minimum floating point value (converted in MIDI integer value 0)
47 </para>
48
49 <para>
50 <emphasis>kmax</emphasis> -- maximum floating point value (converted in MIDI integer value 127 (7 bit))
51 </para>
52
53 <para>
54 <emphasis>outkpat</emphasis> (k-rate polyphonic aftertouch output) sends polyphonic 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.
55 </para>
56
57 <para>
58 It can scale the k-value floating-point argument according to the <emphasis>kmin</emphasis> and <emphasis>kmax</emphasis> values. For example: set <emphasis>kmin</emphasis> = 1.0 and <emphasis>kmax</emphasis> = 2.0.
59 When the <emphasis>kvalue</emphasis> argument receives a 2.0 value, the opcode will send a 127 value to the MIDI OUT device. When the <emphasis>kvalue</emphasis> argument receives a 1.0 value, it will send a 0 value. k-rate opcodes send a message each time the MIDI converted value of argument <emphasis>kvalue</emphasis> changes.
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>See also</title>
65 <para><link linkend="MidiOutput"><citetitle>MIDI Message Output</citetitle></link></para>
66 </refsect1>
67
68 <refsect1>
69 <title>Credits</title>
70 <para>
71 <simplelist>
72 <member>Author: &namegabriel;</member>
73 <member>Italy</member>
74 </simplelist>
75 </para>
76
77 <para>New in Csound version 3.47</para>
78 <para>Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.</para>
79 </refsect1>
80 </refentry>