Procedure to get audio output from the Midi/karaoke player KMid if you don't have an external Midi device or sound card with Midi hardware synthesizer
The following procedure works on an Acer TravelMate 8215WLMi laptop PC running Sabayon x86-64 3.3 and should work on all PCs that can play Midi files using the TiMidity++ Midi player but do not produce sound when Midi files are played using the KMid Midi/karaoke player. Both TiMidity++ and KMid are installed on the Sabayon 3.3 LiveDVD and will be installed by default onto your HDD if you perform a full installation of Sabayon 3.3.
What is KMid?
Unlike the Midi player TiMidity++, which is an ALSA sequencer and Midi to PCM (Wave) converter with its own built-in software Midi synthesizer, KMid requires either external Midi hardware or a PC sound card which has a hardware Midi synthesizer. If you only want to play Midi files you could therefore consider using TiMidity++ instead of KMid. However, unlike TiMidity++, KMid can display song lyrics if they have been embedded in Midi files (.mid and .kar) for the purpose of karaoke. So, if it is a karaoke Midi player you want, KMid rather than TiMidity++ will be the player you want to use.
Now, TiMidity++ can also be used as an ALSA sequencer and Midi to PCM (WAV) converter by external programs, so it is possible to use TiMidity++ to drive your sound card by converting the output from KMid, i.e. KMid plays the Midi file and sends the output to TiMidity++ which converts it to PCM (WAV) and sends it to the sound card. To do this, carry out the following steps in the order given:
Open a Terminal and type:
$ timidity -iA -Os
The -iA selects TiMidity's ALSA sequencer interface, and the -Os (that's the letter O, not the number zero) sets the TiMidity output mode to 'ALSA pcm device'
Settings > MIDI Setup..., select 'TiMidity TiMidity port 0 - ALSA device' and click OK.
File > Open, enter the file name of the .mid or .kar file that you would like to play and then click Open. If the file contains lyrics, these will appear in the grey KMid window.
Click on the Play button to listen to the Midi file playing. If the Midi file contains embedded lyrics then you will see the words of the lyrics turn yellow in time to the music so that you can sing along.
Authored by Fitzcarraldo, 06.04.07