Envelope (EG) MIDI CC Numbers

Applies to firmware v3.63.

These MIDI CC numbers control the envelope generator’s (EG) parameters.

CC#ParameterValueMeaningDefault
100CV routing0-4 (5-127 clamp to 4)0 = none (EG output disabled); 1-4 = routed to CV output 1-40 (none)
101Attack time0-127Sweeps a non-linear time range biased toward faster times: 0 ≈ 0.6ms (fastest), 127 = 15s (slowest)32
102Hold time0-127Same time range as Attack: 0 ≈ 0.6ms (effectively no hold), 127 = 15s0 (none)
103Decay time0-127Same time range as Attack: 0 ≈ 0.6ms (fastest), 127 = 15s (slowest)32
104Sustain level0-127Scaled to 8-bit level: 0-126 → value×2 (0-252); 127 → forced to 255 (full scale)64 (≈half)
105Release time0-127Same time range as Attack: 0 ≈ 0.6ms (fastest), 127 = 15s (slowest)32
106Auto gate width0-1270-1 = no auto gate-off (envelope holds until an explicit note-off); 2-127 use the same time range as Attack, giving a self-timed gate-off duration (≈0.6ms-15s) for looping/self-timed envelopes0 (none)
107Amplitude0-127Scaled to 8-bit output: 0-126 → value×2 (0-252); 127 → forced to 255 (full scale)127 (full)
108Curve shape0-2 (3-127 clamp to 2)0 = Linear, 1 = Expo, 2 = Sine — see table below1 (Expo)
109Retrigger mode0 / 1-127 (boolean)0 = only the first note in a held stack retriggers the EG (legato-style); ≥1 = every note-on retriggers1 (true)
110Loop mode0-2 (3-127 clamp to 2)0 = None, 1 = Gate loop, 2 = Auto loop — see table below0 (None)
111MIDI clock sync0 / 1-1270 = sync disabled (EG triggered only by note-on/gate); 1-127 map to a musical duration (same table as LFO Rate, see the MIDI Clock Sync Rate Table), periodically re-triggering the EG from the MIDI clock — 0 is the slowest (32 Bars), 127 the fastest (64th-note triplet)0 (off)
112Output invert0 / 1-127 (boolean)0 = normal output; ≥1 = output inverted around full scale, applied at render time only0 (off)

Shape values (CC 108)

ValueShape
0Linear
1Expo (attack and decay curves are asymmetric)
2Sine

Loop values (CC 110)

ValueModeBehavior
0NoneEnvelope runs once per trigger, no looping
1Gate loopRe-attacks repeatedly while the gate/note is held
2Auto loopFree-runs continuously, immediately re-triggering itself regardless of gate

Notes

  • CC value 0 disables/neutralizes a parameter where applicable (no CV routing, fastest attack/hold/decay/release timing, no auto gate width, no sync, no invert), except where noted (shape 0 = Linear, sustain/amplitude defaults are non-zero).
  • Boolean-style parameters (Retrigger, Invert) treat any nonzero value (1-127) as “on”.
  • The Sync parameter’s duration table is shared with the LFO’s Rate/Sync mechanism, fully enumerated in the MIDI Clock Sync Rate Table.
  • Attack, Hold, Decay, Release, and the 2-127 range of Gate all share the same underlying time range (non-linear, biased toward faster times), so equal CC values across these parameters correspond to equal segment durations.
  • These envelope CCs are fully exposed in the Midi2Cv Mk2 Web Configurator.