Originally Posted by GameboyHippo
I'm trying to run an allegro application that uses midi to output background music. I'm using a Soundblaster Live 5.1 soundcard (emu10k1). After thourouly checking google and linuxquestions.org, I found two solutions.
I've read about using sfxload or asfxload to get it to work, but it doesn't seem to work for me. I've tried using timidity++ as a midi alsa sound system, but although it works, it begins to slow way down and there is a bunch of pauses in the music.
Has anyone had luck in getting this soundcard to output midi using its own hardware? If so, can you give me step by step instructions? Perhaps I'm missing a step.
I did it a while back on my SB Live and just tried again with my Audigy. I used this page
to get the Ultimate.SF2 zip file then uncompressed the file now make sure that you have the snd_emux_synth, snd_seq_virmidi, snd_emu10k1_synth modules loaded they should be enough to pull in whatever else is needed. Install the pmidi package since I see you already have the awesfx installed. Now sfxload Ultimate.SF2
to load the Ultimate sound font then use pmidi -l
to see the ports available.
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 Audigy MPU-401 #2 Audigy MPU-401 (UART)
16:32 Audigy MPU-401 #2 Audigy MPU-401 #2
17:0 Emu10k1 WaveTable Emu10k1 Port 0
17:1 Emu10k1 WaveTable Emu10k1 Port 1
17:2 Emu10k1 WaveTable Emu10k1 Port 2
17:3 Emu10k1 WaveTable Emu10k1 Port 3
In my case it is pmidi -p 17:0 guitar.mid
to use the guitar.mid that is in the soundfont file. That is about all I know about getting it working as I never played around with it more than that.