spatialaudio / jackclient-python

🂻 JACK Audio Connection Kit (JACK) Client for Python :snake:
https://jackclient-python.readthedocs.io/
MIT License
132 stars 26 forks source link

How to start jackd from the python module? #55

Closed johnstile closed 6 years ago

johnstile commented 6 years ago

Creating an instance of jack.Client will spawn an instance of jackd server, if it is not already running. Is there a way to specify the options to the spawned jackd server from within this python package?

mgeier commented 6 years ago

No, the only option is whether to start it automatically or not. This can be controlled with no_start_server.

But JACK itself has some configuration files which you can use to control those options. I don't know exactly what files those are, but if you for example use qjackctl to specify the JACK settings, those will also be used if you start jackd from this Python module.

johnstile commented 6 years ago

qjack saved a file in my home directory (~/.jackdrc) with the exact jackd command line I normally have to type. When I used the python module, it started jacked using this file.
Thank you.