1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
<HTML>
<TITLE>MIDIC7</TITLE>
<CENTER><A NAME="midic7"></A>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A>
- <A HREF="CONVERTERS.html">Top of this section</A></B> - <A HREF="./moscil.html">Previous</A>
- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="./ioutc.html">Next</A>
<HR></CENTER>
<H2>
midic7, imidic7, imidic14, midic14, imidic21, midic21, ictrl7, ctrl7, ictrl14,
ctrl14, ictrl21, ctrl21</H2>
<PRE> idest <B>imidic7</B> ictlno, imin, imax [, ifn]
kdest <B>midic7</B> ictlno, kmin, kmax [, ifn]
idest <B>imidic14</B> ictlno1, ictlno2, imin, imax [, ifn]
kdest <B>midic14</B> ictlno1, ictlno2, kmin, kmax [, ifn]
idest <B>imidic21</B> ictlno1, ictlno2, ictlno3, imin, imax [, ifn]
kdest <B>midic21</B> ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn]</PRE>
<PRE> idest <B>ictrl7</B> ichan, ictlno, imin, imax [,ifn]
kdest <B>ctrl7</B> ichan, ictlno, kmin, kmax [,ifn]
idest <B>ictrl14</B> ichan, ictlno1, ictlno2, imin, imax [,ifn]
kdest <B>ctrl14</B> ichan, ictlno1, ictlno2, kmin, kmax [,ifn]
idest <B>ictrl21</B> ichan, ictlno1, ictlno2, ictlno3, imin, imax [,ifn]
kdest <B>ctrl21</B> ichan, ictlno1, ictlno2, ictlno3, kmin, kmax [,ifn]</PRE>
<HR>
<H4>
<U>DESCRIPTION</U></H4>
Allow precise MIDI input controller signal.
<H4>
<U>INITIALIZATION</U></H4>
<I>idest</I> - output signal <I>ictlno</I> - midi controller number (1-127)
<P><I>ictlno</I>1 - most-significant byte controller number (1-127)
<P><I>ictlno</I>2 - in midic14: least-significant byte controller number
(1-127); in midic21: mid-significant byte controller number (1-127)
<P><I>ictlno</I>3 - least-significant byte controller number (1-127)
<P><I>imin</I> - user-defined minimum floating-point value of output
<P><I>imax</I> - user-defined maximum floating-point value of output
<P><I>ifn</I> (optional) - table to be read when indexing is required.
Table must be normalized. Output is scaled according to max and min val.
<H4>
<U>PERFORMANCE</U></H4>
<I>kdest</I> - output signal
<P><I>kmin</I> - user-defined minimum floating-point value of output
<P><I>kmax</I> - user-defined maximum floating-point value of output
<P><B>imidic7</B> and <B>midic7</B> (i and k rate 7 bit midi control) allow
floating point 7 bit midi signal scaled with a minimum and a maximum range.
They also allow optional non-interpolated table indexing. In <B>midic7</B>
minimum and maximum values can be varied at krate. <B>imidic14</B> and
<B>midic14</B> (i and k-rate 14 bit midi control) do the same as the above
with 14 bit precision. <B>imidic21</B> and <B>midic21</B> (i and k rate
21 bit midi control) do the same as the above with 21 bit precision. <B>imidic14</B>,
<B>midic14</B>, <B>imidic21</B> and <B>midic21</B> can use optional interpolated
table indexing. They require two or three midi controllers as input.
<P><B>ictrl7, ctrl7, ictrl14, ctrl14, ictrl21, ctrl21</B> are very similar
to (i)midicXX opcodes the only differences are:
<UL>
<LI>
(i)ctrlXX UGs can be included in sco-oriented instruments
without Csound crashes.</LI>
<LI>
They need the addictional parameter ichan containing the MIDI
channel of the controller. MIDI channel is the same for all the controller
used in a single (i)ctrl14 or (i)ctrl21 opcode.</LI>
</UL>
<H4>
<U>AUTHOR:</U></H4>
Gabriel Maldonado
<BR>Italy
<BR>May 1997
<CENTER><P>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A>
- <A HREF="CONVERTERS.html">Top of this section</A></B> - <A HREF="./moscil.html">Previous</A>
- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="./ioutc.html">Next</A>
<HR></CENTER>
<P><CENTER>
<B><I><FONT COLOR="#006600">HTML Csound Manual - <FONT SIZE=-1>©
Jean Piché & Peter J. Nix, 1994-97</FONT></FONT></I></B>
</CENTER>
</HTML>
|