SoundFont3 Structure
Purpose
To understand SoundFont3 through MuseScore/sftools (unmaintained).
This section requires a basic understanding of SoundFont 2.04.
SoundFont3 was originally created by MuseScore. WAV samples are replaced with OGG VORBIS to achieve up to 10x lossy compression.
Unfortunately their implementation is non-compliant with SoundFont2:
phdrchunk does not end withEOPinstchunk does not end withEOIshdrchunk does not end withEOSshdr.startLoopandshdr.endLoopare clearly out of range ofshdr.startandshdr.end
A fork is created to fix these issues: sf3tools.