Page 1 of 2

Clementine - Calf - System Jack

Posted: Thu Jul 23, 2015 2:18 pm
by PeterW
I would like to use Calf between Clementine and System-sink. But if I stop the Music in Clementine the connection between Clementine and Calf get lost.
I think It is because gstreamer always roots automatically direct to jack and system.
Is there any chance to stop this automatism?
Peter

Re: Clementine - Calf - System Jack

Posted: Fri Jul 24, 2015 10:43 am
by PeterW
Thank you FalkTX,
could you explain more about the bridge? How can I do it. Because I have a lot of DJ-Dates, so I have to be carfully with hacking.
Peter

Re: Clementine - Calf - System Jack

Posted: Fri Jul 24, 2015 3:08 pm
by PeterW
I use ubuntu studio 14.04
Peter

Re: Clementine - Calf - System Jack

Posted: Sat Jul 25, 2015 7:32 pm
by bluebell
I do something similar. Instead of putting CALF between Clementine and jack's system:playback I put jack_mixer between clients.
That has to be done whenever a client starts or even starts playback.

It can be automated by running jack.plumbing.
My ~/.jack.plumbing contains:

(connect "Clementine:out_jackaudiosink-.*_1" "jack_mixer:JACK L")
(connect "Clementine:out_jackaudiosink-.*_2" "jack_mixer:JACK R")
(disconnect "Clementine:out_jackaudiosink-.*" "system:playback_.*")

You might want to replace "jack_mixer:JACK L" and "jack_mixer:JACK R" by the inputs of your plugin host.
I recommend Carla. If you use the CALF plugin host it seems that each plugin opens its own set of inputs.

Re: Clementine - Calf - System Jack

Posted: Sat Jul 25, 2015 9:37 pm
by glowrak guy
I am listening to music at the moment using jackd/aqualung, and calf delay.
Aqualung maintains it's jack connection when switching songs, or stop/restart,
if that's what you are looking for.

Very handy as a player for simple overdubs etc.
Cheers

Re: Clementine - Calf - System Jack

Posted: Mon Jul 27, 2015 2:37 pm
by PeterW
Hello bluebell, I am sorry but it is not working. If I take the same configuration as you. Clementine-jack-mixer-system, .plumbing with the same text. The connection gets always lost if I press stop in Clementine. And if I start the music again there is no connection to jack-mixer, its only Clementine-system. The connection jack-mixer-system stays but Clementine-jack-mixer get lost.
But I like Clementine. So is there an other solution?
Peter

Re: Clementine - Calf - System Jack

Posted: Wed Jul 29, 2015 8:08 am
by bluebell
PeterW wrote:Hello bluebell, I am sorry but it is not working. If I take the same configuration as you. Clementine-jack-mixer-system, .plumbing with the same text. The connection gets always lost if I press stop in Clementine.
Yep, that's the way Clementine works.
PeterW wrote: And if I start the music again there is no connection to jack-mixer, its only Clementine-system. The connection jack-mixer-system stays but Clementine-jack-mixer get lost.
Peter
jack.plumbing must be always up and running to maintain jack connections.
If it is then your rule file may be inappropriate.

In this case please post a screenshot of the connections (e.g. qjackctl) after you start the music again.
Maybe your Clementine needs other rules. The rules file must be named .jack.plumbing and reside in your home directory.

And of course there must be an input named JACK in jack.mixer.

Re: Clementine - Calf - System Jack

Posted: Wed Jul 29, 2015 7:01 pm
by bluebell
I attach my .jack.plumbing and my .jack_mixer. Note that jack.plumbing has to be active all the time.

Re: Clementine - Calf - System Jack

Posted: Wed Jul 29, 2015 11:08 pm
by rncbc
qjackctl's patchbay has been long ago designed for these use cases, for ages now ;)

byee

Re: Clementine - Calf - System Jack

Posted: Thu Jul 30, 2015 5:52 pm
by PeterW
I have copyed your .jack.plumbing and your .jack-mixer and ptu it in my home. I started Qjackctl then jack-mixer then Clementine and jackplumbing in the bash.
This is the window connection without starting the music:
connections-1
This with starting music in clementine
connections-2
this is with stopping jackplumbing
connections-3

in screen.tar.gz are the pictures

Re: Clementine - Calf - System Jack

Posted: Thu Jul 30, 2015 6:11 pm
by PeterW
SOLVED
I found it my self. It has been the names of In and Out channels from jack-mixer.
So now I will do the same withe calf.
Thank you.
Peter

Re: Clementine - Calf - System Jack SOLVED

Posted: Sat Aug 01, 2015 11:35 am
by PeterW
I made it with Clementine and Calf-EQ12 and jack.plumbing. Its working like a charm, Very good , thank you bluebell.

Re: Clementine - Calf - System Jack half-solved

Posted: Thu Aug 06, 2015 2:37 pm
by PeterW
Sorry bluebell, but solved only half of the problem:
Jack and Clementine and Calf with eq12 are running. If I start jack.plumbing its all connected and all ist ok.
If I stop the piece of music clementine disapears in connections, but if I start an other piece 1ß minutes later in the same playlist, the connection is there and all is ok.
But if I chance the playlist, the connection is lost, but if I go to the last playlist and start a piece the connection is ok.
I think jack.plumbing holds the connection only in the same playlist.
Is there any chance to hold the connections without aware of the playlist?
Peter

Re: Clementine - Calf - System Jack workaround

Posted: Tue Aug 11, 2015 2:58 pm
by PeterW
Now I found a workaround. Thank you falkTX. I had to install cadence in ubuntu studio, so I have the posibility to start a bridge from pulseaudio to jack. An set Clementine to use pulseaudio. Now Clementine is not in the connection from jack. The source is now puleaudio. And the connection never get lost. But I do not like very much this workaround. Bridge from pulseaudio to jack its a bad solution. But it works.
Peter