Skip to content

Extended MIDI CCs

In the MIDI specification, MIDI Control Change Messages can have numbers from 0 to 127.

SFZ 2 and ARIA add some special CCs numbered 128 and above.

The additions in SFZ 2 are:

  • pitch bend: 128
  • channel aftertouch: 129
  • polyphonic aftertouch: 130
  • note on velocity: 131
  • note off velocity: 132
  • keyboard note number: 133
  • keyboard note gate: 134
  • unipolar random: 135
  • bipolar random: 136
  • alternate: 137

Note gate is an on/off - it’s 0 when no MIDI notes are pressed, and 1 when at least one note is currently pressed. Unipolar random is from 0 to 1. Bipolar random is from -1 to 1. Alternate changes between 0 and 1 every time a note on message is received.

Anything above 137 is not specified in the SFZ 2 standard and strictly engine-dependent. ARIA adds more. Some of these might not work properly in all DAWs.

  • keydelta: 140
  • keydelta absolute: 141
  • host tempo (bpm): 142
  • host transport status (0 is off, 1 on in non-loop mode, 2 is playing in loop mode): 143
  • host sample rate: 144
  • time since the engine has been up: 145
  • current time signature numerator: 146
  • current time signature denominator: 147
  • position since song start in PPQ (pulses per quarter note): 148
  • position since bar start in PPQ: 149
  • time since the instrument has been up: 150
  • time since last key on (in seconds): 151
  • time since last key off (in seconds): 152
  • number of keys currently down: 153
  • number of currently active voices: 154
  • last playahead (offset) of any sample in the instrument: 155

Some of these are shared across all instances of the ARIA engine currently running. Others can have concurrently have a different value for different instances or different instruments concurrently.

CC 151 is reset as soon as a new note is hit, so it cannot be used to measure the time between the previous note and the current one, for adaptive legato speed purposes. CC 141 has been used successfully for portamento glides, though.

In Cakewalk Dimension Pro, 140 is bitred and 141 is decim.