Issues with the MIDI-decoder

Some time ago I contributed the MIDI-decoder-plugin to MOC. After using it for a while I experienced that playing or just extracting the time-information from some MIDI-files would cause segmentation faults.

Today I was able to track down the problem and it lies within the libtimidity-library. If you are experiencing segfaults with MIDI-playback you should visit the libtimidity project page ( and use the patch I contributed there (there is only one patch).

I hope package maintainers decide to incorporate the patch as there has been no development to the library for about four years...

This post has not much to do with MOC but the chances are good that MOC is the only active player using libtimidity... :-)