SFZ1 Basic MIDI CC modulations
The following SFZ1 opcodes can be modulated by MIDI CCs, with the value of the MIDI CC adjusting the setting applied by the opcode (0 to 127 mapped to the maximum set in the modulation).
These opcode names have _ccN appended:
Where the name is already more complex, in SFZ1, just ccN is appended:
- (eg type)_(eg parameter) -- see: ampeg, fileg and pitcheg parameters delay, start, attack, hold, decay, sustain and release; for examples, see the EGs page
- (lfo type)_(depth or freq) -- see: amplfo, fillfo and pitchlfo parameters depth and freq; for examples, see the LFOs page
- (eq band)_(eq parameter) -- see: eq 1 to 3 parameters bw, freq and gain
In all these cases except for cutoff, the units match the opcode. For cutoff, the base opcode is in Hz whilst modulation is in cents.
Examples
When triggered, the following causes a region to start playing a sample from offset 500. ("offset 0" would mean from the start - but note that some players use "offset 1" to play from the start.) CC100 then allows an additional 500 samples of offset to be added (note that MIDI CCs only have 128 steps, so this will not necessarily be smoothly interpolated), giving an offset of 1000 at maximum.
offset=500
offset_cc100=500