Skip to content

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 with EOP
  • inst chunk does not end with EOI
  • shdr chunk does not end with EOS
  • shdr.startLoop and shdr.endLoop are clearly out of range of shdr.start and shdr.end

A fork is created to fix these issues: sf3tools.