SFZ1 EGs

Volume, filter and cutoff also each get an LFO and an envelope.

Each envelope has seven parameters:

  • delay -- delay between the start of the voice and the EG taking effect
  • start -- the initial level of the EG
  • attack -- the duration of the attack phase of the EG
  • hold -- .. hold phase
  • decay -- .. decay phase
  • sustain -- the level to which the EG decays
  • release -- the duration of the release phase of the EG

Each envelope parameter can also be modulated by CC, or by velocity.

SFZ1 offers no further control: for more complex requirements, see the SFZ2 modulations.

Here's an example setup for a synth-style ADSR volume envelope (hold is not specified so the default hold value of 0 is used) controlled by CCs and some initial minimum values set for attack and release, along with a default sustain of 0:

ampeg_attack=0.001
ampeg_attackcc40=1
ampeg_decaycc41=4
ampeg_sustain=1
ampeg_sustaincc42=100
ampeg_release=0.1
ampeg_releasecc43=0.9

Modulating envelope parameters with velocity allows, for example, setting up a filter on an acid bass which will sweep farther with higher velocity, and also sweep faster.

cutoff=120
resonance=12
fileg_attack=0.5
fileg_decay=1
fileg_depth=500
fileg_vel2attack=-0.4
fileg_vel2decay=-0.8
fileg_vel2depth=4000