Opcodes For Use In MIDI-Triggered Instruments
Get the note number of the current MIDI event, expressed in cycles-per-second.
Get the velocity of the current MIDI event.
iamp ampmidi iscal [, ifn]
Get the current pitch-bend value for this channel.
kbend pchbend [imin] [, imax]
Get the current after-touch value for this channel.
kaft aftouch [imin] [, imax]
Opcodes For Use In All Instruments
Allows a floating-point 7-bit MIDI signal scaled with a minimum and a maximum range.
idest ctrl7 ichan, ictlno, imin, imax [, ifn] kdest ctrl7 ichan, ictlno, kmin, kmax [, ifn] adest ctrl7 ichan, ictlno, kmin, kmax [, ifn] [, icutoff]
Returns the ASCII code of a key that has been pressed, or -1 if no key has been pressed.
kres[, kkeydown] sensekey
Sense the cursor position in an output window. When xyin is called the position of the mouse within the output window is used to reply to the request. This simple mechanism does mean that only one xyin can be used accurately at once. The position of the mouse is reported in the output window.
kx, ky xyin iprd, ixmin, ixmax, iymin, iymax [, ixinit] [, iyinit]