openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

ALSA can't be shared between OF with the ofxPd addon and Pure Data

Open alexdrymonitis opened this issue 3 years ago • 1 comments

Trying to use an OF app with ofxPd alongside Pure Data, I realised that only one of the two apps (OF or Pd, actually the frst one that launches) can use the ALSA audio server. The app that launches second can't use it as ALSA reports that the device is busy. This doesn't happen with the Jack server. This is not directly OF related, and I first opened an issue on ofxPd GitHub repo, but since this was an issue that had to do with ALSA and not the actual OF addon, the developer prompted me to open an issue here.

This happens with OF 0.11.2 on Ubuntu Studio 22.04.

alexdrymonitis avatar Aug 11 '22 14:08 alexdrymonitis

As PureData and OF are running in separate processes, I don't think this can be solved with ALSA.

Maybe discuss it with the libpd devs? They say libpd it support PortAudio, only for Java then it says it might be needed for Python, very confusing.

DrDub avatar Dec 21 '23 23:12 DrDub