libTiMidity is a MIDI to WAVE converter library that uses Gravis Ultrasound-compatible patch files to generate digital audio data from General MIDI files.
This library based on the TiMidity decoder from SDL_sound library. Purpose to create this library is to avoid unnecessary dependences. SDL_sound requires SDL and some other libraries, that not needed to process MIDI files. In addition libTiMidity provides more suitable API to work with MIDI songs, it enables to specify full path to the TiMidity configuration file, (timidity.cfg) and have function to retrieve meta data from MIDI song.
The original version of TiMidity program was written by Tuukka Toivonen, thanks to him.
The latest stable version of libtimidity is 0.2.4, released on March 18, 2017.