HI,
i have the same card sound blaster live and i can play midi files sound with all apps i want so here i try to explain.
I will just start from the top even though some people seem farther than others.
i have a boot script that loads soundfonts using the utility sfxload
(get it if it's not there
the command i use is
/usr/local/bin/sfxload -D 0 /usr/local/lib/sfbank/CT4MGM.SF2
(the number after -D is the number of the sound card)
on shutdown
/usr/local/bin/sfxload -i
you can do this by hand
the file CT4MGM.SF2 is from my SB Live install disk there were two on there a 2MG and a 4MG
some people have a 8MG, your names may be different as well all end in .SF2 look in every folder on the disk.
you most likely have another utility "pmidi" if you don't get it
"pmidi -l" will show you the ports
mine says:
Code:
Port Client name Port name
64:0 Rawmidi 0 - EMU10K1 MPU-401 (U EMU10K1 MPU-401 (UART)
65:0 Emu10k1 WaveTable Emu10k1 Port 0
65:1 Emu10k1 WaveTable Emu10k1 Port 1
65:2 Emu10k1 WaveTable Emu10k1 Port 2
65:3 Emu10k1 WaveTable Emu10k1 Port 3
the first one is in and out raw midi port through the soundcards game port
the others are output using the loaded wave table
now:
pmidi -p 65:0 mysong.mid
should play !
the alsa mixer slider is "music"
amixer set Music 100
to get that going
if you have vkeybd (virual keyboard) attach it to midi in with (for me)
vkeybd -addr 64:0 -octave 5 &
to play your wave table
or just attach a real keyboard to the game port and sellect EMU10K1 MPU-401 (UART) as the midi input
in programms like muse
you can also use aconnect to hook stuff to gether like to hook a keyboard to aseqview
to see ports available for connection "aconnect -il" for input "aconnect -ol" for output
aconnect 128:0 73:0
as an example hooks sender port 128 to recieving port 73
Ok lastly someone mentioned timidity and other soft synths do not use you the cards wave table
so if like timidity they don't automaticall load their wave table you have to feed them one.
timidity has a configure file /usr/share/timidity/timidity.cfg
in it put one line
soundfont /usr/local/lib/sfbank/CT4MGM.SF2
or whatever other sf2 file you want to play with
and it will work
timidity also has a server mode to for instance make the soft synth available to a keyboard
/usr/bin/timidity -iA -B2,8 -Os &
starts the server and tells you what ports are open for connections
Oh yea someone said kmidi -- you have to set the output port in "Settings ->MIDI Settings".
go yea forth all and make funny computer music !