M HYPE SPLASH
// news

Ubuntu Studio 20.04, getting Pulse Audio and JACK to play nice

By Emily Wilson

I have seen similar questions from 5 years ago or more, so I'm not sure what the current solutions are. I have an audio setup on Arch using Cadence and have Pulse and JACK playing nice together. When I look into installing Cadence on US 20.04, it wants to remove a bunch of installed packages (including Studio Controls). So, before I try that and mess up all these nice tools that Ubuntu Studio has provided, I'd like to know:

If anyone is using Ubuntu Studio 20.04 with JACK and Pulse Audio together, can you tell me how you did it? Thanks.

2

1 Answer

If you scroll down in this blog post, it says how to use both together:

By default, Jack and Pulse can’t normally run at the same time. However, as our web browser is a Pulse app and we wish to use Jack for routing, we’ll need to overcome that. One relatively easy route to achieving this uses QJackctl. In settings, under the option tab, go to Execute Script after startup. Paste in pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out.

This will create two separate Pulse channels, called “sinks”.

Once you’ve changed the settings, you’ll want to test if things have worked. Start Jack and then open any normal audio application such as your mp3 player. Try playing some sound. If you hear anything, it worked.

Now, if you’re using a pro audio application like SuperCollider, PD or Reaper, go start it and turn on the Audio engine. In Qjackctl, click on connections and open the Audio tab. You’ll see a list of inputs and outputs on your system, including your audio application, the pulse sinks, and the system (ie, the physical inputs and outputs).

Use Qjackctl to draw connections between the sinks and your Jack applications.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy