Use Non-Frames Version Previous Page Next Page
The Csound Quick Reference

MIDI Support


MIDI Support: Converters

ival notnum
ival veloc [ilow, ihigh]
icps cpsmidi
i/kcps cpsmidib [irange]
ioct octmidi
i/koct octmidib [irange]
ipch pchmidi
i/kpch pchmidib [irange]
iamp ampmidi iscal[, ifn]
kaft aftouch [imin[, imax]]
i/kbend pchbend [imin[, imax]]
i/kval midictrl inum[, imin[, imax]]
icps cpstmid ifn
i/kval polyaft inum[, imin[, imax]]

MIDI Support: Controller Input

initc7 ichan, ictlno, ivalue
  initc14 ichan, ictlno1, ictlno2, ivalue
  initc21 ichan, ictlno1, ictlno2, ictlno3, ivalue
i/kdest midic7 ictlno, i/kmin, i/kmax[, ifn]
i/kdest midic14 ictlno1, ictlno2, i/kmin, i/kmax[, ifn]
i/kdest midic21 ictlno1, ictlno2, ictlno3, i/kmin, i/kmax[, ifn]
i/kdest ctrl7 ichan, ictlno, i/kmin, i/kmax[, ifn]
i/kdest ctrl14 ichan, ictlno1, ictlno2, i/kmin, i/kmax[, ifn]
i/kdest ctrl21 ichan, ictlno1, ictlno2, ictlno3, i/kmin, i/kmax[, ifn]
i/kval chanctrl ichnl, ictlno[, ilow, ihigh]

MIDI Support: Slider Banks

i/k1, ..., i/k8 slider8 ichan, ictlnum1, imin1, imax1, init1, ifn1, ..., ictlnum8, imin8, imax8, init8, ifn8
i/k1, ..., i/k16 slider16 ichan, ictlnum1, imin1, imax1, init1, ifn1, ..., ictlnum16, imin16, imax16, init16, ifn16
i/k1, ..., i/k32 slider32 ichan, ictlnum1, imin1, imax1, init1, ifn1, ..., ictlnum32, imin32, imax32, init32, ifn32
i/k1, ..., i/k64 slider64 ichan, ictlnum1, imin1, imax1, init1, ifn1, ..., ictlnum64, imin64, imax64, init64, ifn64
k1, ..., k8 slider8f ichan, ictlnum1, imin1, imax1, init1, ifn1, icutoff1, ..., ictlnum8, imin8, imax8, init8, ifn8, icutoff8
k1, ..., k16 slider16f ichan, ictlnum1, imin1, imax1, init1, ifn1, icutoff1, ..., ictlnum16, imin16, imax16, init16, ifn16, icutoff16
k1, ..., k32 slider32f ichan, ictlnum1, imin1, imax1, init1, ifn1, icutoff1, ..., ictlnum32, imin32, imax32, init32, ifn32, icutoff32
k1, ..., k64 slider64f ichan, ictlnum1, imin1, imax1, init1, ifn1, icutoff1, ..., ictlnum64, imin64, imax64, init64, ifn64, icutoff64
i/k1, ..., i/k16 s16b14 ichan, ictlno_msb1, ictlno_lsb1, imin1, imax1, initvalue1, ifn1, ..., ictlno_msb16, ictlno_lsb16, imin16, imax16, initvalue16, ifn16
i/k1, ..., i/k32 s32b14 ichan, ictlno_msb1, ictlno_lsb1, imin1, imax1, initvalue1, ifn1, ..., ictlno_msb32, ictlno_lsb32, imin32, imax32, initvalue32, ifn32

MIDI Support: Generic I/O

kstatus,
kchan,
kdata1,
kdata2
midiin
  midiout kstatus, kchan, kdata1, kdata2

MIDI Support: Note-on/Note-off

  noteon ichn, inum, ivel
  noteoff ichn, inum, ivel
  noteondur ichn, inum, ivel, idur
  noteondur2 ichn, inum, ivel, idur
  moscil kchn, knum, kvel, kdur, kpause
  midion kchn, knum, kvel
  midion2 kchn, knum, kvel, ktrig

MIDI Support: MIDI Message Output

  outic ichn, inum, ivalue, imin, imax
  outkc kchn, knum, kvalue, kmin, kmax
  outic14 ichn, imsb, ilsb, ivalue, imin, imax
  outkc14 kchn, kmsb, klsb, kvalue, kmin, kmax
  outipb ichn, ivalue, imin, imax
  outkpb kchn, kvalue, kmin, kmax
  outiat ichn, ivalue, imin, imax
  outkat kchn, kvalue, kmin, kmax
  outipc ichn, iprog, imin, imax
  outkpc kchn, kprog, kmin, kmax
  outipat ichn, inotenum, ivalue, imin, imax
  outkpat kchn, knotenum, kvalue, kmin, kmax
  nrpn kchan, kparmnum, kparmvalue
  mdelay kstatus, kchan, kd1, kd2, kdelay

MIDI Support: Realtime Messages

  mclock ifreq
  mrtmsg imsgtype

MIDI Support: MIDI Event Extenders

  xtratim iextradur
kflag release

Use Non-Frames Version Previous Page Next Page
The Csound Quick Reference