midi files

is it possible to implement a suitable midilib to play midi files
Ive tried timidity and it doesnt work at all

I use ubuntu and there must be some midilib out there that
can work with mocp for this purpose

right now i use gnu's wildmidi
at least it works !