Debian Codegraph @

opcodes/outipb.xml

raw symbols SCIP
1
2 <refentry id="outipb">
3 <indexterm id="IndexOutipb"><primary>outipb</primary></indexterm>
4 <refentryinfo><title>Real-time MIDI:Output</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>outipb</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>outipb</refname>
13
14 <refpurpose>
15 Sends MIDI pitch-bend messages at i-rate.
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 Sends MIDI pitch-bend messages at i-rate.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>outipb</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
53 <para>
54 <emphasis>outipb</emphasis> (i-rate pitch bend output) sends pitch bend 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
56 </para>
57
58 <para>
59 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.
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>Examples</title>
65 <para>
66 Here is an example of the outipb opcode. It uses the file <ulink url="examples/outipb.csd"><citetitle>outipb.csd</citetitle></ulink>.
67 <example>
68 <title>Example of the outipb opcode.</title>
69 <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>
70 <xi:include href="examples-xml/outipb.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
71 </example>
72 </para>
73 </refsect1>
74
75 <refsect1>
76 <title>See also</title>
77 <para><link linkend="MidiOutput"><citetitle>MIDI Message Output</citetitle></link></para>
78 </refsect1>
79
80 <refsect1>
81 <title>Credits</title>
82 <para>
83 <simplelist>
84 <member>Author: &namegabriel;</member>
85 <member>Italy</member>
86 </simplelist>
87 </para>
88
89 <para>New in Csound version 3.47</para>
90 <para>Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.</para>
91 </refsect1>
92 </refentry>