libgig

libgig is a C++ library for loading, modifying existing and creating new
Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG sample
based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and AKAI sampler data.
The source code package includes a couple of command line tools based on the
library. The library and tools are released in source code format under the
GNU General Public License,
except the AKAI classes which are released under the
GNU Lesser General Public License.

This library is developed and optimized for POSIX compliant operating
systems like Linux and OSX and since release 3.1.1 for Windows as well.
libgig was developed to compile on any operating system, though since
release 3.0.0 libgig uses one tiny operating system dependant method to
be able to resize files. Should be a 5 minute job to implement this method
for other operating systems as well though.

Binary Packages

For Windows you can find a precompiled DLL of libgig,
coming with the example command line tools as .exe files, packed into one
.zip file. For Linux there are currently Debian packages
and RPM packages for Redhat / Fedora, SuSE and Mandrake.
Note that libgig is already part of many distributions. You might want to use
packages coming with your distribution instead.

Tools

The libgig sources and the 'gigtools' Debian package contain the following command line tools:

Documentation

Examples

There are couple of example applications which demonstrate how to use the
library. Beside the mentioned tools coming with the
source packages, there are also the following demo applications (only in
source code format):

gigwritedemo.cpp (demonstrates how to create and modify Gigasampler format files)