After upgrading Ubuntu to 14.04 I had two problems.
– No sound from Spotify via webbrowser anymore.
Solved by: Installing pulseaudio-module-jack (4.0-0ubuntu11). This caused my PulseAudio JACK Sink to be available again. In PulseAudio Volume Control I then had to set the ALSA plug-in (under tab Afspelen/Play) to Jack sink.
– No connection anymore between my midi keyboard and the Jack Mixer. I could not control the volume in Jack Mixer via my keyboard anymore. The connection was visible in the JACK Audio Connection Kit via Patchbay (loaded via my patchbay configuration file patchbaydefault.xml), but did not get propagated to my connections in the JACK Audio Connection Kit. This was caused by a change in the name of the plug for my midi keyboard. Probably due to some previous re-installing.
Old value in patchbaydefault.xml:
<socket exclusive=”off” client=”a2j” type=”jack-midi” name=”a2j_Oxygen_61″><plug>Oxygen 61 \[20\] \(capture\): Oxygen 61 MIDI 1</plug></socket>
New value that worked:
<socket exclusive=”off” client=”a2j” type=”jack-midi” name=”a2j_Oxygen_61″><plug>Oxygen 61 \[24\] \(capture\): Oxygen 61 MIDI 1</plug></socket>
Solved by: Deleting the plugs via Patchbay and re-creating the connection. I probably also could have changed the xml file directly.
Update! It appears that I should not start my script as sudo. For some reason QjackCtl does not show the PulseAudio JACK Sink then. Sound needs to be routed via the Jack Sink to be able to play it via ALSA.