SoundFont 3 does not change the instrument table. inst lists all instruments, is always a multiple of 22 bytes and holds at least two records, one for each instrument and a terminal record (SF2 spec 7.6; the FluidSynth RFC describes only differences).
The record
| Offset | Size | Field | Type | Meaning |
|---|---|---|---|---|
| 0 | 20 | achInstName | CHAR[20] | The name of the instrument, ASCII, zero-filled |
| 20 | 2 | wInstBagNdx | WORD | The index of the instrument’s first zone in ibag |
Rules
- Names should be unique; duplicates are kept, preserved or renamed.
wInstBagNdxincreases monotonically; the size ofibagin bytes is four more than four times the terminal’s index; otherwise the file is structurally defective. An instrument needs at least one zone.- The terminal record’s other values are conventionally zero and its name should be “EOI”. A missing sub-chunk, fewer than two records or a size that is not a multiple of 22 rejects the file as structurally unsound.
- An instrument that no preset zone uses is an orphan: allowed, and applications may filter it out.
(SF2 spec 7.6.) MuseScore’s converter and the files read here write an empty terminal name instead of “EOI”, which the explorer reports.
In the explorer
The Instruments tab lists each instrument with its zones, the samples they use and how many preset zones use it; Show opens its zones, generators and modulators.
Source: SoundFont Technical Specification 2.04, sections 4.4 and 7.6; the corpus files read for the terminal name.