You are not logged in.

#1 2014-04-13 11:54:11

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

[SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

Hello,

let me say first that I migrated this thread from LinuxMusicians, where unfortunately noone responded
to my thread.

I have been sucesfully starting JACK using "jackd" with theese configurations (different outputs):

jackd -R -dalsa -dhw:USB -p256
jackd -R -p256 -dalsa -P hw:0,0 -C hw:USB

But now I bought a Guitar Pro 6 which needs pulseaudio and I had to install it. Then I found out
that pulseaudio can't work together with jack unless i swap package "jack2" with "jack2dbus".

The later doesn't use "jackd" to start the server but instead uses "jack_control". So when I
try to modify the comands above I get an error that my parameters are unknown.

[ziga@ziga-pc workspace]$ jack_control -R -dalsa -dhw:USB -p256
Unknown command '-R'
Unknown command '-dalsa'
Unknown command '-dhw:USB'
Unknown command '-p256'

Well I was very optimistic issuing the command above. smile Please can anyone tell me, how to
edit command "jack_control" to start jack server in the same configuration as with "jackd"
command.

Thank you.

Last edited by 71GA (2014-04-13 21:18:38)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#2 2014-04-13 12:26:41

Sanne
Member
Registered: 2012-03-13
Posts: 87

Re: [SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

I haven't used jack_control, but here's some usage info, might help:
Arch Wiki
jackaudio.org

As for linuxmusicians: maybe you get replies in a more fitting subforum, like "System Tuning and Configuration"? I would have posted there for jack issues.


If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.

Offline

#3 2014-04-13 12:53:34

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

Sanne wrote:

This is same as using command "jack_control" on its own... they realy need to deliver some examples or something.

Last edited by 71GA (2014-04-13 12:55:00)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#4 2014-04-13 14:06:56

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

jack_control is unfortunately rather badly documented. runnin 'jack_control' without any arguments seems to be the only 'manual' there is

There's a good example in arch wiki on how to start jack using it.

This should be equivalent to the latter command in your post:

jack_control start.
jack_control eps realtime true # equivalent to -R
jack_control ds alsa # -dalsa
jack_control dps device hw:USB # -dhw:USB
jack_control dps period 265 # -p256

btw, both jack2 and jack2dbus should work with jackdbus (last time I checked), only difference being that jack2dbus doesn't include the legacy jackd command.

Last edited by ooo (2014-04-13 14:10:47)

Offline

#5 2014-04-13 21:16:52

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

ooo wrote:

jack_control is unfortunately rather badly documented. runnin 'jack_control' without any arguments seems to be the only 'manual' there is

There's a good example in arch wiki on how to start jack using it.

This should be equivalent to the latter command in your post:

jack_control start.
jack_control eps realtime true # equivalent to -R
jack_control ds alsa # -dalsa
jack_control dps device hw:USB # -dhw:USB
jack_control dps period 265 # -p256

btw, both jack2 and jack2dbus should work with jackdbus (last time I checked), only difference being that jack2dbus doesn't include the legacy jackd command.

Thank you very much. It looks like I should write a scrirpt to execute all these comands.

Last edited by 71GA (2014-04-13 21:17:29)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#6 2014-04-13 23:04:57

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

71GA wrote:

Thank you very much. It looks like I should write a scrirpt to execute all these comands.

That's the simplest way I guess. I'm using a script that starts and configures jackdbus and launches renoise (which is pretty only application where I need jack).
I learned recently that you can use qjackctl with jackdbus as well, if you enable Setup->Misc->Enable D-Bus interface.

Offline

#7 2014-04-13 23:06:29

count0
Member
Registered: 2011-09-28
Posts: 20

Re: [SOLVED] "jack_control" comand analog to "jackd" (jack vs jackdbus)

AFAIK, the jack2 package contains both jackd and jack_control/jackdbus , but the jack2dbus package contains only the dbus enabled programs.

See http://trac.jackaudio.org/wiki/JackDbusPackaging

EDIT: You can use QJackCtl with Dbus support enabled on the Misc tab in the settings. I think you also have to replace all calls to jackd with jackdbus as well.

Last edited by count0 (2014-04-13 23:09:12)

Offline

Board footer

Powered by FluxBB