Skip to content

Envelope Generators

Envelope Generator opcodes are part of the Modulation category of opcodes:

SFZ 1 EGs

The 3 EG destinations in the SFZ 1 standard are: ampeg (amplitude), fileg (filter) and pitcheg (pitch).

The EG destinations are represented by (eg type) in the below list - so ampeg_attack would be the amplitude envelope attack, pitcheg_sustain would be the pitch envelope sustain level etc.

These are 6-points Delay-Attack-Hold-Decay-Sustain-Release.

Flex EGs (SFZ 2)

Flexible EG can have as many points as needed. level and time for each point is set accordingly.

Flex EGs destinations

These destinations are added as a suffix to ‘egN_’ - for example, eg01_pitch=2400 would have envelope 01 modulate pitch, with an envelope depth of 2400 cents.

  • amplitude
  • amplitude_oncc
  • depth
  • depth_lfo
  • depth_oncc
  • depthadd_lfo
  • freq_lfo
  • pitch
  • pitch_oncc
  • cutoff
  • cutoff_oncc
  • cutoff2
  • cutoff2_oncc
  • eqNbw
  • eqNbw_oncc
  • eqNfreq
  • eqNfreq_oncc
  • eqNgain
  • eqNgain_oncc
  • pan
  • pan_oncc
  • resonance
  • resonance_oncc
  • resonance2
  • resonance2_oncc
  • volume
  • volume_oncc
  • width
  • width_oncc