[linux-audio-user] midi won't play although sound works

From: Carlyle Sutphen <carlyle@email-addr-hidden>
Date: Tue Feb 20 2007 - 00:11:53 EET

I am sure I am just missing something very elementary but I have turned up all
controls in kmixer and gone through all how-tos and searched in google.

What I really want is to be able to compose and play with something like
MusicEdit. But I don't get anywhere close. Even the simple command:

pmidi -p 16:0 derdurst.mid

plays silently for several minutes. Tell me I am an idiot but tell me what I
am overlooking.

Thank you.

I am running Suse Linux 10.2. Some revelant information:

carlyle:~ # cat /proc/modules | grep -i snd
snd_virmidi 9600 0 - Live 0xf93dc000
snd_rtctimer 8224 0 - Live 0xf93b8000
snd_seq_oss 38400 0 - Live 0xf93e9000
snd_seq_dummy 8068 0 - Live 0xf93b5000
snd_pcm_oss 53376 0 - Live 0xf939b000
snd_mixer_oss 21248 1 snd_pcm_oss, Live 0xf9362000
snd_emu10k1_synth 12544 0 - Live 0xf933a000
snd_emux_synth 41984 1 snd_emu10k1_synth, Live 0xf937e000
snd_seq_virmidi 11392 2 snd_virmidi,snd_emux_synth, Live 0xf931a000
snd_seq_midi_emul 10624 1 snd_emux_synth, Live 0xf92fa000
snd_seq_midi 13824 0 - Live 0xf92b7000
snd_seq_midi_event 11520 3 snd_seq_oss,snd_seq_virmidi,snd_seq_midi, Live
0xf92bc000
snd_seq 60272 9
snd_seq_oss,snd_seq_dummy,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq_midi_event,
Live 0xf936e000
snd_emu10k1 125728 5 snd_emu10k1_synth, Live 0xf97cc000
snd_ac97_codec 95648 1 snd_emu10k1, Live 0xf978d000
snd_ac97_bus 6400 1 snd_ac97_codec, Live 0xf953f000
snd_pcm 86916 4 snd_pcm_oss,snd_emu10k1,snd_ac97_codec, Live 0xf9756000
snd_timer 27908 4 snd_rtctimer,snd_seq,snd_emu10k1,snd_pcm, Live 0xf9733000
snd_page_alloc 14472 2 snd_emu10k1,snd_pcm, Live 0xf9724000
snd_util_mem 9472 2 snd_emux_synth,snd_emu10k1, Live 0xf96c1000
snd_hwdep 13956 2 snd_emux_synth,snd_emu10k1, Live 0xf9716000
snd_mpu401 12712 0 - Live 0xf9711000
snd_mpu401_uart 13056 1 snd_mpu401, Live 0xf96cd000
snd_rawmidi 29824 4 snd_seq_virmidi,snd_seq_midi,snd_emu10k1,snd_mpu401_uart,
Live 0xf971b000
snd_seq_device 12812 8
snd_seq_oss,snd_seq_dummy,snd_emu10k1_synth,snd_emux_synth,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi,
Live 0xf96bc000
snd 61188 29
snd_virmidi,snd_rtctimer,snd_seq_oss,snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_emu10k1_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_midi,snd_seq,snd_emu10k1,snd_ac97_codec,snd_pcm,snd_timer,snd_util_mem,snd_hwdep,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,
Live 0xf96f4000
soundcore 13792 1 snd, Live 0xf965f000

carlyle:~ # modinfo snd-virmidi
filename: /lib/modules/2.6.18.2-34-default/kernel/sound/drivers/snd-virmidi.ko
author: Takashi Iwai <tiwai@email-addr-hidden>
description: Dummy soundcard for virtual rawmidi devices
license: GPL
vermagic: 2.6.18.2-34-default SMP mod_unload 586 REGPARM gcc-4.1
supported: yes
depends: snd,snd-seq-virmidi
srcversion: FA7EC5D028390D0CAD56ED2
parm: midi_devs:MIDI devices # (1-4) (array of int)
parm: enable:Enable this soundcard. (array of bool)
parm: id:ID string for virmidi soundcard. (array of charp)
parm: index:Index value for virmidi soundcard. (array of int)

carlyle:~ # aconnect -il
client 0: 'System' [type=kernel]
    0 'Timer '
    1 'Announce '
        Connecting To: 15:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 16: 'Audigy 4 [SB0610]' [type=kernel]
    0 'Audigy MPU-401 (UART)'
   32 'Audigy MPU-401 #2'
client 20: 'MPU-401 UART' [type=kernel]
    0 'MPU-401 UART MIDI'
client 24: 'Virtual Raw MIDI 2-0' [type=kernel]
    0 'VirMIDI 2-0 '
client 25: 'Virtual Raw MIDI 2-1' [type=kernel]
    0 'VirMIDI 2-1 '
client 26: 'Virtual Raw MIDI 2-2' [type=kernel]
    0 'VirMIDI 2-2 '
client 27: 'Virtual Raw MIDI 2-3' [type=kernel]
    0 'VirMIDI 2-3 '

carlyle:~ # aconnect -ol
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 16: 'Audigy 4 [SB0610]' [type=kernel]
    0 'Audigy MPU-401 (UART)'
   32 'Audigy MPU-401 #2'
client 17: 'Emu10k1 WaveTable' [type=kernel]
    0 'Emu10k1 Port 0 '
    1 'Emu10k1 Port 1 '
    2 'Emu10k1 Port 2 '
    3 'Emu10k1 Port 3 '
client 20: 'MPU-401 UART' [type=kernel]
    0 'MPU-401 UART MIDI'
client 24: 'Virtual Raw MIDI 2-0' [type=kernel]
    0 'VirMIDI 2-0 '
client 25: 'Virtual Raw MIDI 2-1' [type=kernel]
    0 'VirMIDI 2-1 '
client 26: 'Virtual Raw MIDI 2-2' [type=kernel]
    0 'VirMIDI 2-2 '
client 27: 'Virtual Raw MIDI 2-3' [type=kernel]
    0 'VirMIDI 2-3 '
Received on Tue Feb 20 04:15:01 2007

This archive was generated by hypermail 2.1.8 : Tue Feb 20 2007 - 04:15:01 EET