LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Sound working but not MIDI (https://www.linuxquestions.org/questions/slackware-14/sound-working-but-not-midi-218140/)

cragwolf 08-16-2004 02:03 AM

Sound working but not MIDI
 
I haven't been able to get midi playback working on Slackware 10. I have an on-board sound card, AC'97, Intel8x0. I can play MP3's and CD's no problem. The Linux MIDI-HOWTO doesn't help me, and I've searched google and these forums, but I haven't found any advice that has helped me to get midi working.

Here is the output of '/sbin/modprobe -l | grep midi':

Code:

/lib/modules/2.4.26/kernel/drivers/sound/v_midi.o.gz
/lib/modules/2.4.26/kernel/drivers/usb/usb-midi.o.gz
/lib/modules/2.4.26/kernel/sound/acore/seq/snd-seq-midi-emul.o.gz
/lib/modules/2.4.26/kernel/sound/acore/seq/snd-seq-midi-event.o.gz
/lib/modules/2.4.26/kernel/sound/acore/seq/snd-seq-midi.o.gz
/lib/modules/2.4.26/kernel/sound/acore/seq/snd-seq-virmidi.o.gz
/lib/modules/2.4.26/kernel/sound/acore/snd-rawmidi.o.gz
/lib/modules/2.4.26/kernel/sound/drivers/snd-serialmidi.o.gz
/lib/modules/2.4.26/kernel/sound/drivers/snd-virmidi.o.gz

The output of 'lsmod' that has to do with sound:

Code:

snd-seq-virmidi        2920  0  (unused)
snd-seq-midi-emul      4720  0  (unused)
snd-seq-midi            3488  0  (unused)
snd-seq-midi-event      3264  0  [snd-seq-virmidi snd-seq-midi]
snd-seq                33424  0  (autoclean) [snd-seq-virmidi snd-seq-midi-emul snd-seq-midi snd-seq-midi-event]
snd-pcm-oss            37736  0
snd-mixer-oss          12504  2  [snd-pcm-oss]
snd-intel8x0          18924  4
snd-ac97-codec        49500  0  [snd-intel8x0]
gameport                1420  0  [snd-intel8x0]
snd-pcm                56072  0  [snd-pcm-oss snd-intel8x0]
snd-timer              13604  0  [snd-seq snd-pcm]
snd-page-alloc          6328  0  [snd-intel8x0 snd-pcm]
snd-mpu401-uart        3200  0  [snd-intel8x0]
snd-rawmidi            12740  0  [snd-seq-virmidi snd-seq-midi snd-mpu401-uart]
snd-seq-device          3888  0  [snd-seq-midi snd-seq snd-rawmidi]
snd                    30852  2  [snd-seq-virmidi snd-seq-midi snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore              3396  4  [snd]

My /etc/modules.conf file has:

Code:

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

Any ideas on what to do, or where to go for help/info?

invoker 08-16-2004 02:11 AM

Download and installpkg timidity from linuxpackages.net. It works like a charm.
The problem is afaik, the onboard sound card does not have a midi capability, so you have to emulate it and that's what timidity does.

Invoker

cragwolf 08-16-2004 07:35 AM

Thanks. Midi is not that important to me, I'm just putting my Linux system to the test, so to speak, just seeing what I can do with it.

marrandus 08-16-2004 08:02 AM

Quote:

Originally posted by invoker
Download and installpkg timidity from linuxpackages.net. It works like a charm.
The problem is afaik, the onboard sound card does not have a midi capability, so you have to emulate it and that's what timidity does.

Invoker

Is it possible to emulate /dev/midi device with timidity ?
I know it can play midi files from the command line, but i would like to let other programmes play midi files too, hopefuly by emulating the midi device somehow.
My sound card is onboard AC'97 too, it has no midi device for sure.

Ebel 09-13-2004 03:04 PM

This page (http://www.linuxfocus.org/English/Se...ticle259.shtml) seems to cover it, but I've been unable to compile it in. Grrr.


All times are GMT -5. The time now is 03:59 PM.