Jack and other programs

9 Antworten [Letzter Beitrag]
hack and hack
Offline
Beigetreten: 04/02/2015

Hi,

I just managed to make some new hardware work in full freedom.
I started qjackctl, found my hardware audio interface,
started other programs like audacious (in which I had to select the option for jack compatibility)
then linked it to the system output.
I had to download a plugin for vlc, and select the right option then.

I was planning to uninstall pulseaudio completely, and run with alsa/jack only. But there are some downsides.

My questions are:
Is there a way to NOT tweak every program that has audio output (besides using a dedicated distro)?
Thankfully, qjackctl seems to remember the latest connections, so that's nice.It seems I can save my jack con
But is there a way to save an image or a config file representing the current state?
Last but not least, Let's say I want to use my laptop without the audio interface: is tweaking the few audio programs to go with alsa enough?

I'm also trying to make my keyboard controller work, unfortunately a proprietary firmware is needed... It's called madfuload.
I was hoping to try to connect it purely via midi (for now it's midi through usb), so that maybe I could bypass the need for the firmware. I have yet to try.

hack and hack
Offline
Beigetreten: 04/02/2015

One last thing: the programs not going through jack naturally play through the computer's speakers.
Is there a way to prevent that?

hack and hack
Offline
Beigetreten: 04/02/2015

For those interested, there are ways to either silence pulseaudio while jack is running, or route it through jack. Or also remove it. I didn't try any of those yet though.

For my keyboard controller requiring non-free firmwares for midi usb, I'll try connecting it through midi only and see how it goes. In theory the driver wouldn't be needed in that case.

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

pulseaudio is buggy as hell on the current stable version of Debian. I confirmed this with several different laptops and desktops. At first I searched for a solution to fix it, then I realized all trouble goes away (and with absolutely no downsides) when you apply a "apt purge pulseaudio).
Alsa FTW ^^

doyouevenderp
Offline
Beigetreten: 10/12/2016

do you still get per application audio controls?

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

sure thing, you are not the first to ask me this, apparently that was an issue with alsa in the past, not anymore, not here at least.

doyouevenderp
Offline
Beigetreten: 10/12/2016

neat, thanks

hack and hack
Offline
Beigetreten: 04/02/2015

Hey thanks SuperTramp83, I too just removed Pulseaudio, and the sound works like a charm.

Now sure, I need to load and start qjackctl automatically since I use it (should be easy enough in i3), or at least route everything alsa (native soundcard) to my external soundcard (maybe doable in qjackctl).

The internal (laptop's) soundcard is by default muted, so that's one thing solved!
For instance, I installed mpv (which is by default working with the laptop's soundcard), and I didn't hear a sound until I unticked the speaker channel from alsamixer.

One minor annoyance for external soundcard users with Libreboot is that I have to unplug it before being able to (re)boot.

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

glad it worked, hack! hope they fix pulseaudio on the next Debian Stable. but yeah purging it is a convenient solution for now.

hack and hack
Offline
Beigetreten: 04/02/2015

"Playing nice with Alsa" made mpv play through jack without any configuration.
https://wiki.archlinux.org/index.php/JACK_Audio_Connection_Kit

Personally, unless I really need a program that can't live without Pulseaudio, I won't use it ever again any time soon.
Well, until further specific cases, problem solved.
I've read it can cause problems to remove Pulseaudio, but since I'm on a minimal install, I might have less problems than with a normal one (less pre-configured stuff relying on pulseaudio).