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

Instrument Control


Instrument Control: Instrument Invocation

  schedule insnum, iwhen, idur[, p4, p5, ...]
  schedwhen ktrigger, kinsnum, kwhen, kdur[, p4, p5, ...]
  schedkwhen ktrigger, kmintim, kmaxnum, kinsnum, kwhen, kdur[, kp4, kp5, ...]
  turnon insnum[, itime]

Instrument Control: Duration Control

  ihold
  turnoff

Instrument Control: Real-time Performance Control

ir active insnum
  cpuprc insnum, ipercent
  maxalloc insnum, icount
  prealloc insnum, icount

Instrument Control: Time Reading

i/kr timek
i/kr times
kr timeinstk
kr timeinsts
kr clock

Instrument Control: Clock Control

  clockon inum
  clockoff inum
ir readclock inum

Instrument Control: Sensing and Control

kpitch, kamp pitch asig, iupdte, ilo, ihi, idbthresh[, ifrqs, iconf, istrt, iocts, iq, inptls, irolloff, iskip]
kcps, krms pitchamdf asig, imincps, imaxcps[, icps[, imedi[, idowns [, iexcps]]]]
ktemp tempest kin, iprd, imindur, imemdur, ihp, ithresh, ihtim, ixfdbak, istartempo, ifn[, idisprd, itweek]
kr follow asig, idt
kout trigger ksig, kthreshold, kmode
k/ar peak k/asig
  tempo ktempo, istartempo
kr tempoval  
kx, ky xyin iprd, ixmin, ixmax, iymin, iymax[, ixinit, iyinit]
ar follow2 asig, katt, krel
  setctrl inum, kval, itype
kr control knum
kr button inum
kr checkbox inum
kr sensekey  

Instrument Control: Conditional Values

(a > b ? v1 : v2)
(a < b ? v1 : v2)
(a >= b ? v1 : v2)
(a <= b ? v1 : v2)
(a == b ? v1 : v2)
(a != b ? v1 : v2)

Instrument Control: Macros

  #define NAME # replacement text #
  #define NAME(a'b'c') # replacement text #
  $NAME.
  #undef NAME
  #include "filename"

Instrument Control: Program Flow Control

  igoto label
  tigoto label
  kgoto label
  goto label
  if ia R ib igoto label
  if ka R kb kgoto label
  if ia R ib goto label
  timout istrt idur label
label :      

Instrument Control: Reinitialization

  reinit label
  rigoto label
  rireturn

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