Ubuntu: How do I stop qsynth from shutting off ALL other sounds on my system until I reboot the computer?



Question:

I use qsynth to output sound from my MIDI keyboard. That part works great, and the MIDI keyboard sounds great.

However, once that MIDI keyboard is connected, my computer immediately becomes unable to output ANY sounds other than sounds from the MIDI keyboard, and this continues until I reboot the computer, even if I stop and close both qsynth and qjackctl.

I have no idea what's causing this, but I find it really annoying. How can I stop it from happening?

My Ubuntu version is 13.04 (Raring) and I have qsynth 0.3.6 and qjackctl 0.3.9. My system uses pulseaudio 1:3.0-0ubuntu6 to output sound, which I've heard has some problems but I'm not sure if this is one of them.


Solution:1

If you're using jack to route your audio, then the jack server will take exclusive control of your sound devices, thus making pulseaudio unable to output any audio for other applications.

This is what you want when using low-latency audio, as pulseaudio isn't designed for low-latency work. However (as you've noticed), it means that when you're done, pulse isn't able to output any more sounds.

The solution should be to stop the jack server when you're done with qsynth, so that the sound devices are available to pulseaudio again. The 'Stop' button on the qjackctl main UI should do this for you.

You may also need to quit and restart pulse after doing this; use can use pactl to exit the pulse daemon:

pactl exit  

- and the daemon should automatically restart when you next play audio.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »