Skip to content

davy7125/sftools

 
 

Repository files navigation

sf3convert

Utilities for converting Soundfont files from version 2 to version 3 and back from version 3 to version 2.

Sf3 format

The sf3 format stores compressed data (OGG vorbis files) instead of raw data (WAVE) in a soundfont. There is thus a loss in quality but the resulting files are lighter and more prone to be embedded. This format has been primarily designed and used by MuseScore and is now supported by other projects:

The compressed soundfont has the major version number 3. It is non standard and no specifications have been written yet

Compilation

Dependencies

  • Qt >= 5.6
  • libsdnfile
  • libogg
  • libvorbis
  • libvorbisenc
  • libvorbisfile
$ make release

Usage Example:

This compresses the Fluid soundfont from 148 MBytes to 20 MBytes.

sf3convert -z FluidR3.SF2 compressed_soundfont.sf3

This uncompresses a soundfont

sf3convert -y compressed_soundfont.sf3 FluidR3.sf2

About

Tools for sound font files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.9%
  • CMake 8.0%
  • Roff 1.9%
  • Makefile 1.2%