Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source-Sink and Autoconnexion Jack #182

Open
CarlBcx opened this issue Jun 15, 2023 · 2 comments
Open

Source-Sink and Autoconnexion Jack #182

CarlBcx opened this issue Jun 15, 2023 · 2 comments

Comments

@CarlBcx
Copy link

CarlBcx commented Jun 15, 2023

Good morning,

I discovered RaySession recently and little by little I'm starting to master it.
I used Qjackctl before, then I tested Cadence which caused a lot of problems.
So I definitely adopted RaySession.
This is the kind of setup I'm using.
RaySession

First of all, I would like to thank you for this fantastic tool which saves me precious time and which is remarkably well thought out.

I manage to manage for almost everything because I use a lot of command line tools and scripts, but I am stuck on two points.

  1. How to have the Source and the Sink that I had in qjackctl and which allow to connect non-jack compatible software or which are on other sound cards.

  2. Disable automatic logout.
    Indeed some at the opening connect to other peripherals, in addition to the settings kept.
    For example in my case, Hydrogen always connects to the sound output while it should only connect to Jamulus.
    In Qjackctl there is an option "Ignore all auto-login requests".
    As I run Jack on the command line I thought I'd find that as an argument but no, it's not in the doc.
    I've done tons of research but haven't found it yet.

So if you have an idea....

Best regards
Carl

@Houston4444
Copy link
Owner

Houston4444 commented Jun 17, 2023

Hi !

First of all, I would like to thank you for this fantastic tool which saves me precious time and which is remarkably well thought out.

Thanks, always nice to hear ;).

I used Qjackctl before, then I tested Cadence which caused a lot of problems.
So I definitely adopted RaySession.

Mmmh, here you make a confusion, Cadence and QJackCtl are used for the same task (manage JACK settings), RaySession is not done for that. There are no JACK settings in RaySession. Personally I use Cadence + RaySession, you can perfectly use command lines + RaySession. Cadence and QJackCtl reliability will mainly depends on your distribution, here with Librazik, absolutely no problem.

How to have the Source and the Sink that I had in qjackctl and which allow to connect non-jack compatible software or which are on other sound cards.

PulseAudio bridges ? I personally launch them with Cadence, you can also use the script given by QJackCtl interface:
pactl load-module module-jack-sink channels=2 connect=no && pactl load-module module-jack-source && echo "set-default-sink jack_out" | pacmd && echo "set-default-source jack_in" | pacmd && a2j -e

Disable automatic logout.
Indeed some at the opening connect to other peripherals, in addition to the settings kept.
For example in my case, Hydrogen always connects to the sound output while it should only connect to Jamulus.
In Qjackctl there is an option "Ignore all auto-login requests".
As I run Jack on the command line I thought I'd find that as an argument but no, it's not in the doc.
I've done tons of research but haven't found it yet.

There is an option in Hydrogen for that in Preferences -> Audio System. with jackd --help, I see you can use -autoconnect e option to jackd for that.
With jack_control, you can use : jack_control eps self-connect-mode e.

@CarlBcx
Copy link
Author

CarlBcx commented Jun 18, 2023

Yes I prefer to use only Raysession and run jack by command line.

About the sink and source, finally I need only sink to send music into Jamulus.
So I created a Hack into Raysession with a bash script who has pactl load-module module-jack-sink channels=2 connect=no into it.
It's work fine.

I tryed jack_control eps self-connect-mode e and it's perfect.
I didn't have the idea to change that after jack is started.

Hydrogen option changed too.

Thanks again for all !

Carl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants