Midi use knocks out sound

I’ve just configured midi to work on OpenSuse 11.2, using the configuration instructions here.

When I play a midi file, all other sound on the system is knocked out and is unusable until I reboot. No idea how to start trouble shooting. Any ideas?


Its possible the application that was playing the midi file seized the audio device and refuses to let go (and is not sharing).

Rather than reboot, what happens if you type:

su -c 'rcalsasound restart'

and enter root password when prompted, and then restart your mixer (kmix in kde, alsamixer in gnome).

You can also investigate which applications may have seized your sound device with:

 lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*

For some applications (and hardware) one can setup their desktop and the applications (under their settings/properties) to use the alsa api, where that api will share the audio device.

Pulse audio is also supposed to provide this sharing capability, but unfortunately pulse is notoriously buggy. There is guidance here for trying that approach: SystemWideInstance – PulseAudio