unsf

Converts SoundFont .sf2 files into GUS-type instrument patches.

CC0-1.0 License

Stars
24

UnSF

UnSF is a tool to convert SoundFont (sf2) files into GUS patches.

libunsf is a library that is used by UnSF.

Some reasons you might want to do such a thing are:

  • Your midi player can use GUS patches but doesn't know how to read
    soundfonts
  • You want a convenient way of substituting patches or reassigning
    banks of instruments by editing GUS config files
  • You need to modify patches by changing amplitude, stripping
    envelopes, or make other changes that can easily be done by attaching
    options in config files.

License: CC0 - 1.0

Changelog

UnSF 1.1 (20180606)

  • Split unsf.c into unsf.c and libunsf.c so that the later can be used
    in other programs such as unsf.c
  • Added support for outputing files to a specific directory.
  • Fixed problems found by Coverity and Clang's static analyzer.
  • Fixed divinely huge total memory allocation.
  • Fixed file naming problems with forbidden characters on NTFS/FAT.
  • Support MSVC, MINGW, GCC, Clang, and Watcom.

UnSF 1.0 (20160105)

  • Resurrected old code no longer being maintained.
  • Simplified Endianess and Tremolo frequency
  • Export fix
  • include/sys for additional platform support

History

unsf.c is derived from the Allegro tool pat2dat.c, and uses, presumably, the part of that program which was written originally by George Foot. Also, some code is adapted from routines in sndfont.c. All of which was original under the Allegro "beerware" license.