csound-expression-0.3.0: Csound combinator library

CsoundExpr.Opcodes.Midi.Input

Description

MIDI input

Synopsis

Documentation

aftouch :: [Irate] -> KrateSource

  • opcode : aftouch
  • syntax :
   kaft aftouch [imin] [, imax]
  • description :

Get the current after-touch value for this channel.

chanctrlI :: [Irate] -> Irate -> Irate -> IrateSource

  • opcode : chanctrl
  • syntax :
   ival chanctrl ichnl, ictlno [, ilow] [, ihigh]
   kval chanctrl ichnl, ictlno [, ilow] [, ihigh]
  • description :

Get the current value of a controller and optionally map it onto specified range.

chanctrlK :: [Irate] -> Irate -> Irate -> KrateSource

  • opcode : chanctrl
  • syntax :
   ival chanctrl ichnl, ictlno [, ilow] [, ihigh]
   kval chanctrl ichnl, ictlno [, ilow] [, ihigh]
  • description :

Get the current value of a controller and optionally map it onto specified range.

polyaftI :: [Irate] -> Irate -> IrateSource

  • opcode : polyaft
  • syntax :
   ires polyaft inote [, ilow] [, ihigh]
   kres polyaft inote [, ilow] [, ihigh]
  • description :

polyaft returns the polyphonic pressure of the selected note number, optionally mapped to an user-specified range.

polyaftK :: [Irate] -> Irate -> KrateSource

  • opcode : polyaft
  • syntax :
   ires polyaft inote [, ilow] [, ihigh]
   kres polyaft inote [, ilow] [, ihigh]
  • description :

polyaft returns the polyphonic pressure of the selected note number, optionally mapped to an user-specified range.

pchbendI :: [Irate] -> IrateSource

  • opcode : pchbend
  • syntax :
   ibend pchbend [imin] [, imax]
   kbend pchbend [imin] [, imax]
  • description :

Get the current pitch-bend value for this channel.

pchbendK :: [Irate] -> KrateSource

  • opcode : pchbend
  • syntax :
   ibend pchbend [imin] [, imax]
   kbend pchbend [imin] [, imax]
  • description :

Get the current pitch-bend value for this channel.

veloc :: [Irate] -> IrateSource

  • opcode : veloc
  • syntax :
   ival veloc [ilow] [, ihigh]
  • description :

Get the velocity from a MIDI event.

midictrlI :: [Irate] -> Irate -> IrateSource

  • opcode : midictrl
  • syntax :
   ival midictrl inum [, imin] [, imax]
   kval midictrl inum [, imin] [, imax]
  • description :

Get the current value (0-127) of a specified MIDI controller.

midictrlK :: [Irate] -> Irate -> KrateSource

  • opcode : midictrl
  • syntax :
   ival midictrl inum [, imin] [, imax]
   kval midictrl inum [, imin] [, imax]
  • description :

Get the current value (0-127) of a specified MIDI controller.

notnum :: IrateSource

  • opcode : notnum
  • syntax :
   ival notnum
  • description :

Get a note number from a MIDI event.

ctrl7A :: (K k0, K k1) => [Irate] -> Irate -> Irate -> k0 -> k1 -> ArateSource

  • opcode : ctrl7
  • syntax :
   idest ctrl7 ichan, ictlno, imin, imax [, ifn]
   kdest ctrl7 ichan, ictlno, kmin, kmax [, ifn]
   adest ctrl7 ichan, ictlno, kmin, kmax [, ifn] [, icutoff]
  • description :

Allows a floating-point 7-bit MIDI signal scaled with a minimum and a maximum range.

ctrl7I :: [Irate] -> Irate -> Irate -> Irate -> Irate -> IrateSource

  • opcode : ctrl7
  • syntax :
   idest ctrl7 ichan, ictlno, imin, imax [, ifn]
   kdest ctrl7 ichan, ictlno, kmin, kmax [, ifn]
   adest ctrl7 ichan, ictlno, kmin, kmax [, ifn] [, icutoff]
  • description :

Allows a floating-point 7-bit MIDI signal scaled with a minimum and a maximum range.

ctrl7K :: (K k0, K k1) => [Irate] -> Irate -> Irate -> k0 -> k1 -> KrateSource

  • opcode : ctrl7
  • syntax :
   idest ctrl7 ichan, ictlno, imin, imax [, ifn]
   kdest ctrl7 ichan, ictlno, kmin, kmax [, ifn]
   adest ctrl7 ichan, ictlno, kmin, kmax [, ifn] [, icutoff]
  • description :

Allows a floating-point 7-bit MIDI signal scaled with a minimum and a maximum range.

ctrl14I :: [Irate] -> Irate -> Irate -> Irate -> Irate -> Irate -> IrateSource

  • opcode : ctrl14
  • syntax :
   idest ctrl14 ichan, ictlno1, ictlno2, imin, imax [, ifn]
   kdest ctrl14 ichan, ictlno1, ictlno2, kmin, kmax [, ifn]
  • description :

Allows a floating-point 14-bit MIDI signal scaled with a minimum and a maximum range.

ctrl14K :: (K k0, K k1) => [Irate] -> Irate -> Irate -> Irate -> k0 -> k1 -> KrateSource

  • opcode : ctrl14
  • syntax :
   idest ctrl14 ichan, ictlno1, ictlno2, imin, imax [, ifn]
   kdest ctrl14 ichan, ictlno1, ictlno2, kmin, kmax [, ifn]
  • description :

Allows a floating-point 14-bit MIDI signal scaled with a minimum and a maximum range.

ctrl21I :: [Irate] -> Irate -> Irate -> Irate -> Irate -> Irate -> Irate -> IrateSource

  • opcode : ctrl21
  • syntax :
   idest ctrl21 ichan, ictlno1, ictlno2, ictlno3, imin, imax [, ifn]
   kdest ctrl21 ichan, ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn]
  • description :

Allows a floating-point 21-bit MIDI signal scaled with a minimum and a maximum range.

ctrl21K :: (K k0, K k1) => [Irate] -> Irate -> Irate -> Irate -> Irate -> k0 -> k1 -> KrateSource

  • opcode : ctrl21
  • syntax :
   idest ctrl21 ichan, ictlno1, ictlno2, ictlno3, imin, imax [, ifn]
   kdest ctrl21 ichan, ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn]
  • description :

Allows a floating-point 21-bit MIDI signal scaled with a minimum and a maximum range.

midic7I :: [Irate] -> Irate -> Irate -> Irate -> IrateSource

  • opcode : midic7
  • syntax :
   idest midic7 ictlno, imin, imax [, ifn]
   kdest midic7 ictlno, kmin, kmax [, ifn]
  • description :

Allows a floating-point 7-bit MIDI signal scaled with a minimum and a maximum range.

midic7K :: (K k0, K k1) => [Irate] -> Irate -> k0 -> k1 -> KrateSource

  • opcode : midic7
  • syntax :
   idest midic7 ictlno, imin, imax [, ifn]
   kdest midic7 ictlno, kmin, kmax [, ifn]
  • description :

Allows a floating-point 7-bit MIDI signal scaled with a minimum and a maximum range.

midic14I :: [Irate] -> Irate -> Irate -> Irate -> Irate -> IrateSource

  • opcode : midic14
  • syntax :
   idest midic14 ictlno1, ictlno2, imin, imax [, ifn]
   kdest midic14 ictlno1, ictlno2, kmin, kmax [, ifn]
  • description :

Allows a floating-point 14-bit MIDI signal scaled with a minimum and a maximum range.

midic14K :: (K k0, K k1) => [Irate] -> Irate -> Irate -> k0 -> k1 -> KrateSource

  • opcode : midic14
  • syntax :
   idest midic14 ictlno1, ictlno2, imin, imax [, ifn]
   kdest midic14 ictlno1, ictlno2, kmin, kmax [, ifn]
  • description :

Allows a floating-point 14-bit MIDI signal scaled with a minimum and a maximum range.

midic21I :: [Irate] -> Irate -> Irate -> Irate -> Irate -> Irate -> IrateSource

  • opcode : midic21
  • syntax :
   idest midic21 ictlno1, ictlno2, ictlno3, imin, imax [, ifn]
   kdest midic21 ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn]
  • description :

Allows a floating-point 21-bit MIDI signal scaled with a minimum and a maximum range.

midic21K :: (K k0, K k1) => [Irate] -> Irate -> Irate -> Irate -> k0 -> k1 -> KrateSource

  • opcode : midic21
  • syntax :
   idest midic21 ictlno1, ictlno2, ictlno3, imin, imax [, ifn]
   kdest midic21 ictlno1, ictlno2, ictlno3, kmin, kmax [, ifn]
  • description :

Allows a floating-point 21-bit MIDI signal scaled with a minimum and a maximum range.

initc7 :: Irate -> Irate -> Irate -> SignalOutSource

  • opcode : initc7
  • syntax :
   initc7 ichan, ictlno, ivalue
  • description :

Initializes MIDI controller ictlno with ivalue

initc14 :: Irate -> Irate -> Irate -> Irate -> SignalOutSource

  • opcode : initc14
  • syntax :
   initc14 ichan, ictlno1, ictlno2, ivalue
  • description :

Initializes the controllers used to create a 14-bit MIDI value.

initc21 :: Irate -> Irate -> Irate -> Irate -> Irate -> SignalOutSource

  • opcode : initc21
  • syntax :
   initc21 ichan, ictlno1, ictlno2, ictlno3, ivalue
  • description :

Initializes the controllers used to create a 21-bit MIDI value.