Use Non-Frames Version Previous Page Next Page
MIDI Support: Controller Input

midic7, midic14, midic21, ctrl7, ctrl14, ctrl21

  idest     midic7     ictlno, imin, imax[, ifn]
  kdest     midic7     ictlno, kmin, kmax[, ifn]
  idest     midic14    ictlno1, ictlno2, imin, imax[, ifn]
  kdest     midic14    ictlno1, ictlno2, kmin, kmax[, ifn]
  idest     midic21    ictlno1, ictlno2, ictlno3, imin, imax[, ifn]
  kdest     midic21    ictlno1, ictlno2, ictlno3, kmin, kmax[, ifn]
  idest     ctrl7      ichan, ictlno, imin, imax[, ifn]
  kdest     ctrl7      ichan, ictlno, kmin, kmax[, ifn]
  idest     ctrl14     ichan, ictlno1, ictlno2, imin, imax[, ifn]
  kdest     ctrl14     ichan, ictlno1, ictlno2, kmin, kmax[, ifn]
  idest     ctrl21     ichan, ictlno1, ictlno2, ictlno3, imin, imax[, ifn]
  kdest     ctrl21     ichan, ictlno1, ictlno2, ictlno3, kmin, kmax[, ifn]

Description

Allow precise MIDI input controller signal.

Initialization

idest – output signal

ictlno – MIDI controller number (1-127)

ictln1o – most-significant byte controller number (1-127)

ictlno2 – in midic14: least-significant byte controller number (1-127); in midic21: mid-significant byte controller number (1-127)

ictlno3 – least-significant byte controller number (1-127)

imin – user-defined minimum floating-point value of output

imax – user-defined maximum floating-point value of output

ifn (optional) – table to be read when indexing is required. Table must be normalized. Output is scaled according to imax and imin val.

Performance

kdest – output signal

kmin – user-defined minimum floating-point value of output

kmax – user-defined maximum floating-point value of output

midic7 (i- and k-rate 7 bit MIDI control) allows floating point 7 bit MIDI signal scaled with a minimum and a maximum range. It also allows optional non-interpolated table indexing. In midic7 minimum and maximum values can be varied at k-rate. midic14 (i- and k-rate 14 bit MIDI control) do the same as the above with 14 bit precision. midic21 (i- and k-rate 21 bit MIDI control) do the same as the above with 21 bit precision. midic14 and midic21 can use optional interpolated table indexing. They require two or three MIDI controllers as input.

ctrl7, ctrl14, ctrl21 are very similar to midicXX opcodes the only differences are:

Deprecated Names

The opcode names imidic7, imidic14, imidic21, ictrl7, ictrl14, and ictrl21 have been deprecated in Csound version 3.52. Instead use imidic7, imidic14, imidic21, ictrl7, ictrl14, and ictrl21, respectively, with i-rate outputs.

Author

Gabriel Maldonado
Italy
New in Csound version 3.47


Use Non-Frames Version Previous Page Next Page
MIDI Support: Controller Input