LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't play MIDI files (PCM works ok) (https://www.linuxquestions.org/questions/linux-software-2/cant-play-midi-files-pcm-works-ok-178492/)

zag_zag 05-06-2004 04:08 AM

Can't play MIDI files (PCM works ok)
 
I'm trying to play a MIDI file with kmid, but can't hear any sound. Rosegarden4 says "MIDI ok, no audio". PCM works ok (I can play mp3, ogg, flac, etc. )

I'm using kernel 2.6.4 with the following configuration:
Code:

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

And the sound card (soundblaster live value):
Code:

CONFIG_SND_EMU10K1=y
Here's the output from Rosegarden4:
Code:

Rosegarden 0.9.6 - AlsaDriver - alsa-lib version 0.9.8

  ALSA Client information:

    62,0 - (Midi Through, Midi Through Port-0)        (WRITE ONLY) [ctype 2, ptype 2, cap 99]
    64,0 - (EMU10K1 MPU-401 (UART) - Rawmidi 0, EMU10K1 MPU-401 (UART))            (DUPLEX) [ctype 2, ptype 2, cap 127]
    65,0 - (Emu10k1 WaveTable, Emu10k1 Port 0)        (WRITE ONLY) [ctype 2, ptype 2078, cap 66]
    65,1 - (Emu10k1 WaveTable, Emu10k1 Port 1)        (WRITE ONLY) [ctype 2, ptype 2078, cap 66]
    65,2 - (Emu10k1 WaveTable, Emu10k1 Port 2)        (WRITE ONLY) [ctype 2, ptype 2078, cap 66]
    65,3 - (Emu10k1 WaveTable, Emu10k1 Port 3)        (WRITE ONLY) [ctype 2, ptype 2078, cap 66]

Creating device 0 in Play mode for connection 65:0 Emu10k1 Port 0 (write)
Default device name for this device is MIDI soundcard synth
Creating device 1 in Play mode for connection 65:1 Emu10k1 Port 1 (write)
Default device name for this device is MIDI soundcard synth 2
Creating device 2 in Play mode for connection 65:2 Emu10k1 Port 2 (write)
Default device name for this device is MIDI soundcard synth 3
Creating device 3 in Play mode for connection 65:3 Emu10k1 Port 3 (write)
Default device name for this device is MIDI soundcard synth 4
Creating device 4 in Play mode for connection 64:0 EMU10K1 MPU-401 (UART) (duplex)
Default device name for this device is MIDI external device
Creating device 5 in Record mode for connection 64:0 EMU10K1 MPU-401 (UART) (duplex)
Default device name for this device is MIDI hardware input device
Creating device 6 in Play mode for connection 62:0 Midi Through Port-0 (write)
Default device name for this device is MIDI output system device
    Record port set to (64, 0)

AlsaDriver::initialiseMidi -  initialised MIDI subsystem

My user is in the audio group, and I even tried playing MIDI files as root. I couldn't find anything suspicious in dmesg output. Any suggestions?

TIA


All times are GMT -5. The time now is 12:24 PM.