libgig is a C++ library for loading and modifying Gigasampler and DLS files. This requires libsndfile.