CITATION — REFERENCE ENTRY
sf-samples · sf-spec-204
- Citation
- sf-spec-204
- Claim ID
- sf-samples
- Assertion
- SoundFont samples are stored as linearly coded 16-bit signed little-endian words, each followed by at least 46 zero-valued points so that an interpolator shifting pitch upward can loop on silence at the end. Since version 2.04 an optional sm24 sub-chunk adds a least significant byte to each point, giving up to 24 bits.
- Quote
The smpl sub-chunk, if present, contains one or more “samples” of digital audio information in the form of linearly coded sixteen bit, signed, little endian (least significant byte first) words. Each sample is followed by a minimum of forty-six zero valued sample data points. These zero valued data points are necessary to guarantee that any reasonable upward pitch shift using any reasonable interpolator can loop on zero data at the end of the sound. ... The sm24 sub-chunk, if present, contains the least significant byte counterparts to each sample data point contained in the smpl chunk. ... These sample waveform points are to be combined with the sample waveform points in the smpl sub-chunk, to collectively create a single sample data pool with up to 24 bits of resolution.
- Quote language
- en
- Locator
- section: 6.1 Sample Data Format in the smpl Sub-chunk; 6.2 Sample Data Format in the sm24 Sub-chunk
Available in