Soundblaster Live 5.1 Having trouble playing midi
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. Thanks! |
Quote:
Code:
pmidi -l |
midi and emu10k1
I also had problems getting midi hardware playback through my soundblaster live! using debian (libranet 3.0 and some sarge).
'pmidi -l' was not finding the midi ports at all. The appropriate kernel and modules should have been there but seemed to not be working. I ran 'modconf', then selected kernel/sound/pci/emu10k1, and found three emu10k1 modules, but only one was enabled. I enabled 'snd-emu10k1-synth'. After that 'pmidi -l' listed the available ports as shown by HappyTux's post. then used sfxload to load the soundfonts from my soundcard's driver cd (ends in *.SF2) in alsamixer the "Music" bar sets the midi playback volume, so needs to be turned up, then I used 'playmidi -a music.mid' for playback of the midi file. I hope you had already got your card working anyway! |
All times are GMT -5. The time now is 09:02 AM. |