I updated Pure Data and it stopped working with Pisound

Hello, this is my first post, having just now for the first time set up a RPi 4B with Patchbox and set it up with my Pisound.

After going through the setup wizard I saw that the version of PD that was installed was quite old, so I did what I’d normally do, I downloaded the latest “stable” version of the source code from Software by Miller Puckette and I built it in terminal.

So I now have Pure Data 0.56-2 installed, but it’s not connecting to audio anymore. If I look in audio preferences I have a choice of OSS, ALSA and portaudio. If I choose ALSA I can see pisound in the list of input and output devices, but if I choose it I get a message in the terminal that reads “output error (snd_pcm_open): Device or resource busy”

Why can’t I see and connect to JACK, which I presume is keeping the device busy? How can I fix this? Do I have to just re-flash my SD card with patchbox and start again from scratch? In which case how can I safely update Pure Data?

Thanks!

Check if Jack feature/option was enabled in your custom build. If not, rebuild, and use Jack as the backend.

Thank you for your reply! I’m not a very accomplished programmer, but looking here:
https://msp.ucsd.edu/Pd_documentation/resources/chapter6.htm

It seems I need to use the command: ./configure --enable-jack during the build? I did not do this previously. Is there anything more I should do? For example, do I also need to use ./configure --without-local-portaudio?

Thanks again, I’m excited to dive into this pisound!

Try with --enable-jack. Just experiment with it and rebuild as many times as needed. :slight_smile:

Just before or after changing the configuration, I’d recommend running make clean to make sure the whole project is properly rebuilt with the updated configuration.