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:
phdr
chunk does not end withEOP
inst
chunk does not end withEOI
shdr
chunk does not end withEOS
shdr.startLoop
andshdr.endLoop
are clearly out of range ofshdr.start
andshdr.end
A fork is created to fix these issues: sf3tools.