VLC to start using JACK in AUTO?

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: khz, MattKingUSA

fretski
Established Member
Posts: 83
Joined: Wed Jan 06, 2016 1:14 am
Location: around 48n66w

VLC to start using JACK in AUTO?

Postby fretski » Mon Nov 06, 2017 12:44 pm

If I want to hear VLC audio while JACK is running I need to set "Audio" to "Jack" in VLC preferences, save, exit and relaunch.

Is there a way to have VLC latch itself to JACK automatically while "Auto" is in prefs instead of "Jack"?

Brynildsen
Established Member
Posts: 24
Joined: Tue Nov 28, 2017 12:30 pm

Re: VLC to start using JACK in AUTO?

Postby Brynildsen » Thu Dec 21, 2017 4:33 am

"Arch/i3-wm/Bitwig/Renoise/Guitarix/Airwave/a couple of winVST's"
"i7-6700K 4ghz, gtx910ti, 16gb ram" + "X201s-i7-640LM 2.13ghz, 8gb ram"
"Presonus 22vsl + Scarlett 2i2 2.gen."

fretski
Established Member
Posts: 83
Joined: Wed Jan 06, 2016 1:14 am
Location: around 48n66w

Re: VLC to start using JACK in AUTO?

Postby fretski » Fri Dec 22, 2017 3:07 pm

Brynildsen wrote:look in VLC preferences..
https://wiki.archlinux.org/index.php/JA ... rting_JACK


Thanks very much, that did it!

Brynildsen
Established Member
Posts: 24
Joined: Tue Nov 28, 2017 12:30 pm

Re: VLC to start using JACK in AUTO?

Postby Brynildsen » Sat Dec 23, 2017 3:17 pm

fretski wrote:Thanks very much, that did it!


Cool dont forget to mark SOLVED pls.. :D
Last edited by Brynildsen on Sat Dec 23, 2017 3:26 pm, edited 1 time in total.
"Arch/i3-wm/Bitwig/Renoise/Guitarix/Airwave/a couple of winVST's"
"i7-6700K 4ghz, gtx910ti, 16gb ram" + "X201s-i7-640LM 2.13ghz, 8gb ram"
"Presonus 22vsl + Scarlett 2i2 2.gen."

Brynildsen
Established Member
Posts: 24
Joined: Tue Nov 28, 2017 12:30 pm

Re: VLC to start using JACK in AUTO?

Postby Brynildsen » Sat Dec 23, 2017 3:25 pm

BTW...

Another way is to install the pulseaudio-jack package.. on Arch it is in official repo. This means that you load up jack, restart pulseaudio and it will automaticly connect to a jack sink instead of your soundcard, which is now owned by jack. When you exit and stop jack, you just restart pulse again and it hooks back up to the soundcard like normal.

That way all your usual programs like browsers, mediaplayers, flashplayers work like you are used to, and your pulseaudiomixer pavucontrol still sets your volume for all these things, exept your musicsoftware/DAW which has its own seperate internal volume control. It is practial because you don't need to go into any program settings anywhere, like you do on VLC here..

There should be something similar to a pulseaudio-jack package on most distros I think, if not ask in your distros forum.
"Arch/i3-wm/Bitwig/Renoise/Guitarix/Airwave/a couple of winVST's"
"i7-6700K 4ghz, gtx910ti, 16gb ram" + "X201s-i7-640LM 2.13ghz, 8gb ram"
"Presonus 22vsl + Scarlett 2i2 2.gen."

Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet

Re: VLC to start using JACK in AUTO?

Postby Lyberta » Sun Dec 24, 2017 4:05 pm

Is there a GUI tool that can restart pulseaudio when JACK is toggled? Maybe add a feature request to QJackCtl?

Brynildsen
Established Member
Posts: 24
Joined: Tue Nov 28, 2017 12:30 pm

Re: VLC to start using JACK in AUTO?

Postby Brynildsen » Wed Dec 27, 2017 10:15 am

Lyberta wrote:Is there a GUI tool that can restart pulseaudio when JACK is toggled? Maybe add a feature request to QJackCtl?

I don't think so.. but..
in terminal write:

Code: Select all

pulseaudio -k

with tabcompletion it is probably just as quick as clicking an icon.. make a bash script an put on your desktop so you can click it if you want.
Pulseaudio usually respawns itself on most desktop environments, which is fine because it should then connect as pulseaudio/jack sink instead.
Keep an eye on qjackctl connections window, where it should show up again a few sec after you kill it.
Or write

Code: Select all

ps -A |grep pulse

or start htop -> F4 filter write pulse and watch it dissappear for a moment and spawn back.

You can probably also write it in the server prefix in qjackctl settings, never tried..
"Arch/i3-wm/Bitwig/Renoise/Guitarix/Airwave/a couple of winVST's"
"i7-6700K 4ghz, gtx910ti, 16gb ram" + "X201s-i7-640LM 2.13ghz, 8gb ram"
"Presonus 22vsl + Scarlett 2i2 2.gen."

fretski
Established Member
Posts: 83
Joined: Wed Jan 06, 2016 1:14 am
Location: around 48n66w

Re: VLC to start using JACK in AUTO?

Postby fretski » Wed Apr 04, 2018 1:14 pm

Brynildsen wrote:
fretski wrote:Thanks very much, that did it!


Cool dont forget to mark SOLVED pls.. :D


It worked for a while but no longer does, on Suse-13.2 at the moment :(

fretski
Established Member
Posts: 83
Joined: Wed Jan 06, 2016 1:14 am
Location: around 48n66w

Re: VLC to start using JACK in AUTO?

Postby fretski » Wed Nov 13, 2019 2:05 am

I'm revisiting this again because I'm not getting what I want. When I start qJackCtl (guitar sessions because Audacity records really nicely with jack, not so hot without it) I want everything music to use jack. The VLC prefs doesn't work anymore via the show-all route; what do I put into "Connect to clients matching" and into "Jack Client Name"? Anyway I'm now past the VLC-only level so the suggestions to restart pulse because that will reroute all sound business to jack sounds like a good idea. Except it don't work either.

For what it's worth (using Suse TW right now) there is NO pulseaudio-jack package to install, I have everything that has pulse in it that is installable installed however

Code: Select all

pulseaudio -k


doesn't echo anything nor show in the qJackCtl connections window

Code: Select all

ps -A |grep pulse


gives

Code: Select all

4334 ?        00:00:00 pulseaudio


What else can I do?


Return to “Recorders & Sequencers”

Who is online

Users browsing this forum: No registered users and 10 guests