A good jack-compatible audio player who stays connected to the outputs I want?
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 23
- Joined: Sun May 25, 2014 8:20 pm
A good jack-compatible audio player who stays connected to the outputs I want?
Hello,
I need to play a playlist of audio files to the outputs 3-4 of my soundcard.
I have tried with both VLC and Clementine, who have JACK support, but every time a song finish and they begin playing the next song, they automatically reconnect to outputs 1-2.
Is there any player that behave properly, or another solution (which is not preparing a single audio file )?
I need to play a playlist of audio files to the outputs 3-4 of my soundcard.
I have tried with both VLC and Clementine, who have JACK support, but every time a song finish and they begin playing the next song, they automatically reconnect to outputs 1-2.
Is there any player that behave properly, or another solution (which is not preparing a single audio file )?
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
Meta, but maybe --help: https://github.com/nodiscc/awesome-linu ... ia-players
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
-
- Established Member
- Posts: 2329
- Joined: Sat Jun 21, 2014 8:37 pm
- Been thanked: 257 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
smplayer has an option use jackd, and the file menu has
the option to load a directory, and it will
play the contents without stopping.
A caveat, if you have PulseAudio JACK Sink enabled, and choose jackd in smplayer
Audio preferences, it will only last for that session, next time
smplayer is started, pulse will reclaim it's spot as the player audio engine,
And you have to reselect jackd. There may be some config to prevent that
takeover. Hopefully there is no pulseaudio in your system.
Cheers
the option to load a directory, and it will
play the contents without stopping.
A caveat, if you have PulseAudio JACK Sink enabled, and choose jackd in smplayer
Audio preferences, it will only last for that session, next time
smplayer is started, pulse will reclaim it's spot as the player audio engine,
And you have to reselect jackd. There may be some config to prevent that
takeover. Hopefully there is no pulseaudio in your system.
Cheers
- bluebell
- Established Member
- Posts: 1927
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 113 times
- Been thanked: 122 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
I use jack-plumbing to disconnect/connect the appropriate ports as needed. Since I run jack_mixer I want all programs, even pulseaudio's jack sinks, to connect to jack_mixer. Additionally, jack-plumbing connects jack_mixer to to desired output ports. You can use jack-plumbing for your purposes as well, I guess.ciacnorris wrote:Hello,
I need to play a playlist of audio files to the outputs 3-4 of my soundcard.
I have tried with both VLC and Clementine, who have JACK support, but every time a song finish and they begin playing the next song, they automatically reconnect to outputs 1-2.
Is there any player that behave properly, or another solution (which is not preparing a single audio file )?
jack-plumbing has to be permanently acitve during your session.
Here an example, my ~/.jack-plumbing
Code: Select all
(connect "alsa-jack\..*jackP\..*:out_000" "jack_mixer:ALSA L")
(connect "alsa-jack\..*jackP\..*:out_001" "jack_mixer:ALSA R")
(disconnect "alsa-jack\..*jackP\..*:out_.*" "system:playback_.*")
(connect "Clementine:out_jackaudiosink-.*_1" "jack_mixer:JACK L")
(connect "Clementine:out_jackaudiosink-.*_2" "jack_mixer:JACK R")
(disconnect "Clementine:out_jackaudiosink-.*" "system:playback_.*")
(connect "Qtractor:Master/out_1" "jack_mixer:JACK L")
(connect "Qtractor:Master/out_2" "jack_mixer:JACK R")
(disconnect "Qtractor:Master/out_.*" "system:playback_.*")
(connect "ardour:Master/audio_out 1" "jack_mixer:JACK L")
(connect "ardour:Master/audio_out 2" "jack_mixer:JACK R")
(disconnect "ardour:Master/audio_out.*" "system:playback_.*")
;(connect "rosegarden:master out L" "jack_mixer:JACK L")
;(connect "rosegarden:master out R" "jack_mixer:JACK R")
;(disconnect "rosegarden:master out .*" "system:playback_.*")
(connect "MPlayer.*:out_0" "jack_mixer:ALSA L")
(connect "MPlayer.*:out_1" "jack_mixer:ALSA R")
(disconnect "MPlayer.*:out_.*" "system:playback_.*")
(connect "PortAudio:out_.*[13579]" "jack_mixer:JACK R")
(connect "PortAudio:out_.*[02468]" "jack_mixer:JACK L")
(disconnect "PortAudio:out_.*" "jack_mixer:JACK .*")
(disconnect "PortAudio:out_.*" "jack_mixer:JACK .*")
(disconnect "PortAudio:out_.*" "system:playback_.*")
(connect "PulseAudio.*:front-left" "jack_mixer:PULSE L")
(connect "PulseAudio.*:front-right" "jack_mixer:PULSE R")
(disconnect "PulseAudio.*:front-.*" "system:playback_.*")
(connect "netjack:capture_1" "jack_mixer:JACK L")
(connect "netjack:capture_2" "jack_mixer:JACK R")
(connect "jack_mixer:MAIN L" "system:playback_1")
(connect "jack_mixer:MAIN R" "system:playback_2")
(connect "jack_mixer:Monitor L" "alsa_out:playback_1")
(connect "jack_mixer:Monitor R" "alsa_out:playback_2")
(connect "jack_mixer:Monitor L" "ebumeter:in.L")
(connect "jack_mixer:Monitor R" "ebumeter:in.R")
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
I use qmmp http://qmmp.ylsoftware.com/ which maintains the connection throughout. However, it connects to all outputs, so I always have to disconnect the unwanted connections. But this can be adjusted, I had never tried it.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- thetotalchaos
- Established Member
- Posts: 212
- Joined: Mon Sep 29, 2014 8:29 pm
- Has thanked: 55 times
- Been thanked: 9 times
- Contact:
Re: A good jack-compatible audio player who stays connected to the outputs I want?
In my opinion the best one, if you are not afraid of scripts and manual system administration is MPD. It is the superior music handler, but it is developed for serious people. Cantata is a nice qt-based client for MPD, with notable features.
Alternatively you can try Aqualung. I don't know its current status or even if is actively developed. But i has native Jack and Ladspa support.
Alternatively you can try Aqualung. I don't know its current status or even if is actively developed. But i has native Jack and Ladspa support.
You can listen to my music at: https://totalchaos-music.bandcamp.com/
Take a journey to wonderland with The Butterfly Effect 2016
https://totalchaos-music.bandcamp.com/a ... fly-effect
Take a journey to wonderland with The Butterfly Effect 2016
https://totalchaos-music.bandcamp.com/a ... fly-effect
Re: A good jack-compatible audio player who stays connected to the outputs I want?
Going to Jack Settings in Cadence, Claudia or Catia you can choose a "Self Connect Mode". There you can "fail all self connect requests". I was able to make smplayer "stick" to specified ports that way.
-
- Established Member
- Posts: 59
- Joined: Sun Feb 10, 2013 9:47 am
Re: A good jack-compatible audio player who stays connected to the outputs I want?
exactly that is one one of the biggest messups in the linux audio system. i have disables all self connect requests in cadence but audacity ie. always starts up a new jack client with a different name if you start playback. why do developers even bother with jack support if you cant make your own connections?
other than that i solved this by running all audio player in alsa with the bridges alsa -> pulseaudio -> jack so then you can connect pulseaudio out to anything permanent but that only works for one application at time.
you can also run non-sessionmanager from the non-tux family, it includes a jack patch manager that will restore all jack connections even after applications restart but not if the connection names are different.
other than that i solved this by running all audio player in alsa with the bridges alsa -> pulseaudio -> jack so then you can connect pulseaudio out to anything permanent but that only works for one application at time.
you can also run non-sessionmanager from the non-tux family, it includes a jack patch manager that will restore all jack connections even after applications restart but not if the connection names are different.
Re: A good jack-compatible audio player who stays connected to the outputs I want?
Ah that is excellent info thanks! Helpful for other apps/instances where I notice they sneakily reroute themselves to the System Playback after I'd reconnected them through a mixer.x7i7l wrote:Going to Jack Settings in Cadence, Claudia or Catia you can choose a "Self Connect Mode". There you can "fail all self connect requests". I was able to make smplayer "stick" to specified ports that way.
I do wonder - what is the difference between 'failing' and 'ignoring' self connect requests?
This habit of VLC and other players has driven me to the point of madness trying to introduce audio samples into live music performance!
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
I've found DeaDBeeF good :
http://deadbeef.sourceforge.net/
It loads quickly, nearly instantly, so it's good for auditioning samples. It has a JACK output module that you'll have to compile yourself :
https://github.com/DeaDBeeF-Player/jack
After compiling with make, move jack.so to the directory where the rest of the DeadBeeF plugins are. On my system this is /usr/lib/deadbeef.
http://deadbeef.sourceforge.net/
It loads quickly, nearly instantly, so it's good for auditioning samples. It has a JACK output module that you'll have to compile yourself :
https://github.com/DeaDBeeF-Player/jack
After compiling with make, move jack.so to the directory where the rest of the DeadBeeF plugins are. On my system this is /usr/lib/deadbeef.
-
- Established Member
- Posts: 2036
- Joined: Sat Jun 11, 2016 12:05 am
- Has thanked: 10 times
- Been thanked: 22 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
Why ?
Any player will work if you use a jacksink for pulse audio, and that opens to a wide selection of audio players. I use mpv for instance.
Any player will work if you use a jacksink for pulse audio, and that opens to a wide selection of audio players. I use mpv for instance.
-
- Established Member
- Posts: 2036
- Joined: Sat Jun 11, 2016 12:05 am
- Has thanked: 10 times
- Been thanked: 22 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
Why complicate matters if those matters are not an end by themselves ?
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
The OP asked for a good jack-compatible audio player, as you may have noticed in the title of this thread.
-
- Established Member
- Posts: 2036
- Joined: Sat Jun 11, 2016 12:05 am
- Has thanked: 10 times
- Been thanked: 22 times
Re: A good jack-compatible audio player who stays connected to the outputs I want?
There is a possibility that he is not aware that a jack audio player is mandatory.
Not offering alternatives might not be part of an encompassing feedback. It's easy to find parallels with other contexts in which the end result would be: "well, that's what you ask for isn't it."
Not offering alternatives might not be part of an encompassing feedback. It's easy to find parallels with other contexts in which the end result would be: "well, that's what you ask for isn't it."