The INFO list gives basic information about the bank: three sub-chunks are mandatory and eight are optional. Their order is arbitrary, though the order below is recommended (spec 3.1, 5).
The sub-chunks
| ID | Required | Holds | Meaning | Example in the spec |
|---|---|---|---|---|
ifil | yes | version tag, 4 bytes | The SoundFont specification version the file complies with | 2.01 |
isng | yes | string, up to 256 bytes | The wavetable sound engine the file was optimised for | “EMU8000” |
INAM | yes | string, up to 256 bytes | The name of the bank | “General MIDI” |
irom | no | string, up to 256 bytes | The sound ROM that any ROM samples refer to | “1MGM” |
iver | no | version tag, 4 bytes | The revision of that ROM | 2.08 (the spec’s level-2 example; 1.36 in section 5.5) |
ICRD | no | string, up to 256 bytes | The date of creation of the bank | “July 15, 1997” |
IENG | no | string, up to 256 bytes | Sound designers and engineers of the bank | “John Q. Sounddesigner” |
IPRD | no | string, up to 256 bytes | The product the bank was intended for | “SBAWE64 Gold” |
ICOP | no | string, up to 256 bytes | Any copyright message | “Copyright (c) 1997 E-mu Systems, Inc.” |
ICMT | no | string, up to 65,536 bytes | Comments on the bank | “This is a comment” |
ISFT | no | string, up to 256 bytes | The tools used to create and last alter the bank | “:Preditor 2.00a:Vienna SF Studio 2.0:” |
(Spec 4.3 and 5.1 to 5.11. The specification’s level-2 line calls the last sub-chunk ISTF-ck but names its ID ISFT; the ID is ISFT.)
Strings
Each string is ASCII, case-sensitive, of the maximum length in the table or fewer bytes, including one or two zero bytes at the end so that the total byte count is even (spec 5.2 to 5.11). A typical INAM is the fourteen bytes of “General MIDI”, twelve characters and two zero bytes. A string that is not terminated with a zero byte is treated as damaged: for INAM the field is ignored and an error is reported if the name is asked for; if the file is rewritten a valid name must be put in (spec 5.3). For isng a missing, unterminated or unknown engine is ignored and EMU8000 is assumed, and the default is the eight bytes of “EMU8000” followed by a zero (spec 5.2). The strings ICRD, IENG, IPRD, ICOP, ICMT and ISFT are provided for library management, intellectual property and error tracing; one that is missing, unterminated or cannot be copied faithfully is ignored and not copied if the file is rewritten (spec 5.6 to 5.11).
ICRDconventionally reads “Month Day, Year”: the month capitalised and in full English, the day in decimal followed by a comma, and the full year, so it is never longer than 32 bytes (spec 5.6).ISFTconventionally gives the tool name and revision of the creating tool, a colon, then those of the most recent modifying tool; the creating program writes a null modifying field (for example “Preditor 2.00a:”) and each tool that changes the bank replaces it (spec 5.11).ICMTmay be up to 65,536 bytes; the other strings 256 (spec 5.10).
Version tags
ifil and iver are always four bytes long and hold a sfVersionTag: WORD wMajor (the value left of the decimal point) and WORD wMinor (the value right of it), so wMajor = 2 and wMinor = 11 is version 2.11 (spec 5.1, 5.5).
- Within a fixed wMajor the only changes to the format are new generator, source and transform enumerators and new INFO sub-chunks, all of which readers must ignore if unknown, so many programs can accept any file of their major version. An editor, which should know every enumerator, may look at wMinor. A reader accepts the file, rejects it, or warns that there may be uneditable data (spec 5.1).
- If
ifilis missing or is not four bytes, the file should be rejected as structurally unsound (spec 5.1). - The
sm24sample chunk is used only whenifilis at least 2.04 (spec 6.2). - The sound ROM is identified by
iromandivertogether. Drivers useiromto check the ROM is there andiverto check the samples are at the locations the sample headers give. If either is missing, wrong in size or unknown, the file is assumed to reference no ROM samples, and any instrument that uses one is terminated and silent. A file should not be written that uses ROM samples without both present and valid (spec 5.4, 5.5).
Source: SoundFont Technical Specification 2.04, sections 3.1, 3.2, 4.2, 4.3 and 5 (5.1 to 5.11), 6.2 and 7.10. The explorer reports a missing mandatory sub-chunk, a repeated one, a string that is not terminated, has bytes after its zero, is of an odd size, is longer than its maximum or holds bytes that are not ASCII text, an irom without iver and the reverse, an ifil that is not four bytes, a major version other than 2, and a minor version above 4.