Clementine - Calf - System Jack

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Clementine - Calf - System Jack

Post 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
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack

Post 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
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack

Post by PeterW »

I use ubuntu studio 14.04
Peter
User avatar
bluebell
Established Member
Posts: 1910
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: Clementine - Calf - System Jack

Post 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.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

glowrak guy
Established Member
Posts: 2315
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 251 times

Re: Clementine - Calf - System Jack

Post 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
Last edited by glowrak guy on Tue Jul 28, 2015 1:05 am, edited 1 time in total.
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack

Post 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
User avatar
bluebell
Established Member
Posts: 1910
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: Clementine - Calf - System Jack

Post 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.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
bluebell
Established Member
Posts: 1910
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: Clementine - Calf - System Jack

Post by bluebell »

I attach my .jack.plumbing and my .jack_mixer. Note that jack.plumbing has to be active all the time.
Attachments
jjj.tgz
(615 Bytes) Downloaded 70 times

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
rncbc
Established Member
Posts: 1061
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 258 times
Contact:

Re: Clementine - Calf - System Jack

Post by rncbc »

qjackctl's patchbay has been long ago designed for these use cases, for ages now ;)

byee
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack

Post 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
Attachments
screen.tar.gz
(104.99 KiB) Downloaded 69 times
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack

Post 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
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack SOLVED

Post by PeterW »

I made it with Clementine and Calf-EQ12 and jack.plumbing. Its working like a charm, Very good , thank you bluebell.
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack half-solved

Post 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
PeterW
Established Member
Posts: 15
Joined: Thu Jul 23, 2015 2:08 pm

Re: Clementine - Calf - System Jack workaround

Post 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
Post Reply