MIDI support not working?
Posted: Thu Feb 02, 2023 10:26 am
I was trying to play some MIDIs on XBMC, which according to the wiki should support it, but nothing would happen when I selected the file to play it. In the debugger, it appeared to be failing inside the timidity library. I saw mention on the forum of a version of XBMC that does support MIDI playback: viewtopic.php?t=1632 but was unable to find this version.
I tested the current version of XBMC, and XBMC 3.0 and neither of those worked. XBMC 2.0 didn't have MIDI support, so I assume it was added sometime between versions 2.0 and 3.0.
I also noticed in the XBMC source that the Timidity is looking for either a timidity.cfg or a soundfont.sf2 in system/players/paplayer/timidity. I didn't find these files in any version of XBMC, and the sound font I tested didn't work, but the code suggests that it should be satisfied with only a sound font. If it were set up with the correct configuration, maybe it would work?
Has anyone gotten MIDI files to play through XBMC? The ability to change sound fonts seems like a really cool feature, and maybe MIDIs are slightly less uncool than they were 10 years ago
I did find these, which was easier to browse than SVN: https://github.com/rkalz/xbmc4xbox/ https://github.com/xbmc/xbmc-antiquated/ It looks like there was an earlier version of the timidity DLL, which was later replaced... time to start building versions!
I tested the current version of XBMC, and XBMC 3.0 and neither of those worked. XBMC 2.0 didn't have MIDI support, so I assume it was added sometime between versions 2.0 and 3.0.
I also noticed in the XBMC source that the Timidity is looking for either a timidity.cfg or a soundfont.sf2 in system/players/paplayer/timidity. I didn't find these files in any version of XBMC, and the sound font I tested didn't work, but the code suggests that it should be satisfied with only a sound font. If it were set up with the correct configuration, maybe it would work?
Has anyone gotten MIDI files to play through XBMC? The ability to change sound fonts seems like a really cool feature, and maybe MIDIs are slightly less uncool than they were 10 years ago

I did find these, which was easier to browse than SVN: https://github.com/rkalz/xbmc4xbox/ https://github.com/xbmc/xbmc-antiquated/ It looks like there was an earlier version of the timidity DLL, which was later replaced... time to start building versions!