[Csnd] PipeWire for csound on linux

does any of the linux csounders use PipeWire?
how do you assign it as the rtaudio module?

i am asking because i see no --rtaudio=pipewire in the manual at Csound command line.

thanks -
  joachim

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

Hi Joachim,
most likely not much help at all: but PipeWire can emulate JACK and other audio APIs. I have tried to set it up before, but with not much luck. Documentation, at least about a year ago, still appeared to be very sketchy and I have heard people complain about suboptimal realtime behaviour of PipeWire as a JACK emulation. If Csound itself supports the PipeWire API straight away, it may be a different thing. If not, then you'd better look for the PipeWire community or the Linux Audio Users' community, since that appears to be a matter worthy of dispute or expert advice.

Best wishes and sorry I couldn't be of more help,

Jeanette

Dec 31 2023, joachim heintz has written:

You’ll need to use qpwgraph to make pipewire intelligible. After that’s up and running, it’s all pretty straightforward.

And then, as Jeanette says, pipewire will kick in whether you call for jack or alsa.

I have been using pipewire reliably for some months now. Pipewire presents itself as a jack server, so the rtaudio backend is still jack. I needed to adjust the buffer size but besides that the configuration used by Ubuntu-Studio worked reliably from the get go. To setup connections I use patchance but there are many possibilities. Notice that there are two ways you can use pipewire with jack: you can activate the jack emulation per app or you can setup pipewire as a complete replacement.