FROM AGPEDIA — AGENCY THROUGH KNOWLEDGE

SFZ (file format)

SFZ is a file format that defines how a collection of samples is arranged for performance on a sampler. It is meant to be free, simple, minimalistic and expandable, and developers may create, use and distribute SFZ files for free in free or commercial products.[1:1] An SFZ file is plain text and can be written in any text editor;[1:1] the LinuxSampler project described it as an open sampler format evolving toward a standard among commercial samplers.[2:1]

SFZ and SoundFont

A SoundFont holds both the samples and the definitions of their behaviour in one binary file. An SFZ file defines only the behaviour of the instrument and does not include the samples, which stay in separate audio files of any bit depth and sample rate, mono or stereo.[1:1]

Structure

An SFZ file is divided into sections by headers, and settings are given as opcodes. The region is the basic unit from which instruments are built; a group optionally gathers regions; and one global header holds settings for all regions. Through this hierarchy the opcodes define which samples are played, when and how. A control header sets up MIDI controllers, and curve headers define curves for shaping envelopes and responses.[1:2] The format supports velocity layers, round robins, keyboard splits and layers, playback controlled by MIDI controllers, samples triggered on key release, crossfades, and envelope and LFO modulation of volume, pitch and filter cutoff.[1:1] These are the techniques that sample libraries use to make sampled instruments realistic.[3:1][3:2]

Versions

The first version of the format was published on the rgc:audio website, and it is the version most widely supported by SFZ software. Version 2 has never been clearly written down: SFZFormat.com treats what is in Simon Cann's book Cakewalk Synthesizers as SFZ v2, and features of the ARIA player not found in Cakewalk products as ARIA extensions.[1:3] For lack of a complete free reference, the LinuxSampler project began writing its own documentation of the format.[2:1]

  1. ^a ^b ^c ^d ↗ sz-what ^ ↗ sz-headers ^ ↗ sz-versions SFZFormat.com contributors. SFZFormat.com. SFZFormat.com. https://sfzformat.com/.
  2. ^a ^b ↗ ls-sfz The LinuxSampler Project. SFZ support in LinuxSampler. linuxsampler.org. https://www.linuxsampler.org/sfz/.
  3. ^ ↗ ko-velocity ^ ↗ ko-rr Korff, Chris (2024-09). How Virtual Instruments Work. Sound On Sound. https://www.soundonsound.com/techniques/how-virtual-instruments-work.

Wikidata: Q24073549

Available in

Discussion

No threads yet.

Sign in to start threads and post replies.