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

making connections via rtmidi? #342

Open
UltraBlackLinux opened this issue Aug 24, 2024 · 4 comments
Open

making connections via rtmidi? #342

UltraBlackLinux opened this issue Aug 24, 2024 · 4 comments

Comments

@UltraBlackLinux
Copy link

Hey there,
is it possible to make pipewire/jack connections via rtmidi? I've not seen a way to do so yet, but maybe the terminology has confused me.
Any hints?
Thanks!

@keinstein
Copy link

JACK support has been working for *nix-like (incl. Linux and MacOS) systems for a long time. It used to be dependent on libpthread which is the standard multi threading library on *nix systems. Of course, the JACK support must be compiled into the software. Further instructions can be given if you tell us which build system you are using on which operating systems.

When you are using Pipewire, a special libjack must be used in order to connect to the pipewire demon. There are some pitfalls in its configuration. So you should always make sure that native JACK applications like jack-play work, bofore testing higher-level interfaces like RtMidi.

@UltraBlackLinux
Copy link
Author

I'm on Arch Linux with pipewire, using g++.
Pipewire does have a drop-in replacement for jack so I don't think it would take anything special to use jack libraries with pipewire, but maybe I've got some wrong impressions there, you tell me.

@keinstein
Copy link

keinstein commented Aug 26, 2024

How does your software, which libjack to use? Did you check that it uses the pipewire replacement and not any of the other jack libraries? You can check this using the command line:

ldd /path/to/your/software

This also tells you whether JACK support has been compiled in.

Edit: Do you use cmake?

@UltraBlackLinux
Copy link
Author

UltraBlackLinux commented Aug 26, 2024

pw-jack conflicts with the jack package

No I don't use CMake since I have no reason to. In this case I don't think I'd need it either. What I'm a bit confused about is your goal. Do you want me to use the jack API to make the connections myself? Is there no suppport for that in rtmidi?

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