csound-expression-0.3.2: Csound combinator library

CsoundExpr.Opcodes.Midi.Interop

Description

MIDI/Score Interoperability opcodes

Synopsis

Documentation

midichannelaftertouch :: X x0 => [Irate] -> x0 -> SignalOutSource

  • opcode : midichannelaftertouch
  • syntax :
   midichannelaftertouch xchannelaftertouch [, ilow] [, ihigh]
  • description :

midichannelaftertouch is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midichn :: IrateSource

  • opcode : midichn
  • syntax :
   ichn midichn
  • description :

midichn returns the MIDI channel number (1 - 16) from which the note was activated. In the case of score notes, it returns 0.

midicontrolchange :: (X x0, X x1) => [Irate] -> x0 -> x1 -> SignalOutSource

  • opcode : midicontrolchange
  • syntax :
   midicontrolchange xcontroller, xcontrollervalue [, ilow] [, ihigh]
  • description :

midicontrolchange is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

mididefault :: (X x0, X x1) => x0 -> x1 -> SignalOutSource

  • opcode : mididefault
  • syntax :
   mididefault xdefault, xvalue
  • description :

mididefault is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midinoteoff :: (X x0, X x1) => x0 -> x1 -> SignalOutSource

  • opcode : midinoteoff
  • syntax :
   midinoteoff xkey, xvelocity
  • description :

midinoteoff is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midinoteoncps :: (X x0, X x1) => x0 -> x1 -> SignalOutSource

  • opcode : midinoteoncps
  • syntax :
   midinoteoncps xcps, xvelocity
  • description :

midinoteoncps is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midinoteonkey :: (X x0, X x1) => x0 -> x1 -> SignalOutSource

  • opcode : midinoteonkey
  • syntax :
   midinoteonkey xkey, xvelocity
  • description :

midinoteonkey is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midinoteonoct :: (X x0, X x1) => x0 -> x1 -> SignalOutSource

  • opcode : midinoteonoct
  • syntax :
   midinoteonoct xoct, xvelocity
  • description :

midinoteonoct is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midinoteonpch :: (X x0, X x1) => x0 -> x1 -> SignalOutSource

  • opcode : midinoteonpch
  • syntax :
   midinoteonpch xpch, xvelocity
  • description :

midinoteonpch is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midipitchbend :: X x0 => [Irate] -> x0 -> SignalOutSource

  • opcode : midipitchbend
  • syntax :
   midipitchbend xpitchbend [, ilow] [, ihigh]
  • description :

midipitchbend is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midipolyaftertouch :: (X x0, X x1) => [Irate] -> x0 -> x1 -> SignalOutSource

  • opcode : midipolyaftertouch
  • syntax :
   midipolyaftertouch xpolyaftertouch, xcontrollervalue [, ilow] [, ihigh]
  • description :

midipolyaftertouch is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.

midiprogramchange :: X x0 => x0 -> SignalOutSource

  • opcode : midiprogramchange
  • syntax :
   midiprogramchange xprogram
  • description :

midiprogramchange is designed to simplify writing instruments that can be used interchangeably for either score or MIDI input, and to make it easier to adapt instruments originally written for score input to work with MIDI input.