I cannot play MIDI files on my Slackware 12.1 box.
I do not pretend to know anything about MIDI files. I am aware that amarok is a front-end to other engines. I am using xine as the engine, which does not support MIDI. Not a big deal. I'm not interested in sequencing --- I only want aplaymidi and KMid to produce sound from midi files. I just want to click and play.
1. ALSA is configured and all other sound files play fine.
2. KMid seems to be playing the file, but there is no sound. Running KMid from the command line shows no error messages.
3. The command line
aplaymidi provides not output or error messages and there is no sound.
4.
aplaymidi -l provides the following report:
Code:
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 MPU-401 UART MPU-401 UART MIDI
5.
aconnect -o provides the following report:
Code:
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 20: 'MPU-401 UART' [type=kernel]
0 'MPU-401 UART MIDI'
6.
alsamixer shows all outputs are okay.
7. There are several midi kernel modules available.
8. The midi files play fine with Windows Media Player 6.4 in NT4.
9.
lsmod | grep midi shows the following midi related kernel modules loaded: snd_rawmidi, snd_seq, snd_seq_device, snd_seq_midi, snd_seq_midi_event
10.
cat /proc/asound/cards provides the following report:
Code:
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe024000 irq 17
1 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x330, irq 10
11.
cat /proc/asound/oss/sndstat provides the following report:
Code:
Sound Driver:3.8.1a-980706 (ALSA v1.0.15 emulation code)
Kernel: Linux ovenbird 2.6.24.5 #2 SMP Sun Aug 24 16:45:54 CDT 2008 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA NVidia at 0xfe024000 irq 17
MPU-401 UART at 0x330, irq 10
Audio devices:
0: AD198x Analog (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices:
1: MPU-401 UART MIDI
Timers:
7: system timer
Mixers:
0: Analog Devices AD1986A
1: mixer10
12. I have a
/dev/midi1 device. Ownership is
root:audio with
660 permissions.
13. My normal user account is a member of the audio group.
14. aplaymidi fails to produce sound for root.
I have not tried compiling timidity and won't as long as the command line aplaymidi fails to produce sound from midi files. I suspect with the lack of error messages that aplaymidi and KMid are sending the output okay but because of configuration issues the output is the equivalent of /dev/null.
Any thoughts?
Thanks.