Skip to content

volume

The volume for the region, in decibels.

Range is -144.6 to 6 in the specification, but some SFZ players can utilize values above 6.

Examples #

volume=-24
volume=0
volume=3.5

gain_cc1=12

This will play the sample at unchanged volume when CC1 is at 0, and apply a 12 dB boost when CC1 is at maximum.

gain_ccN/volume_onccN is useful for creating volume controls.

Also see the ARIA extension amplitude_onccN for another way to do a simple volume control.

Name Version Type Default Range Unit
volume SFZ v1 float 0 -144 to 6 dB
gain_ccN SFZ v1 float 0 -144 to 48 dB
volume_curveccN SFZ v2 integer N/A 0 to 255
volume_smoothccN SFZ v2 N/A N/A
volume_stepccN SFZ v2 N/A N/A

Modulation Sources

  • Envelope: ✓
  • LFO: ✓
  • MIDI CC:
    • gain_ccN (SFZ v1), alias gain_onccN (SFZ v2), alias volume_onccN (SFZ v2)
    • volume_curveccN (SFZ v2)
    • volume_smoothccN (SFZ v2)
    • volume_stepccN (SFZ v2)

Category: Performance Parameters, Amplifier