SC 4.3 no Sound on Linux Mint 22

SC does install but does not provide sound on Linux Mint 21/22. Well known.

One audio tool in the linux world was jack, not longer used.
After some long trials and experiments I argue that the reasion is the change of the sound architecture to pipewire?

I came to this conclusion when I needed supercollider for something else and couldn’t get any sound! It is well known that CP uses Supercollider for sound production. My brother, an audio engineer, told me he uses pipewire-jack (pw-jack).

After some experimnets with supercollider IDE I got sound if I
1st call: Server.program = “pw-jack scsynth”;
2. than the usual sever boot with: s.boot;
3. for to check use for example: { SinOsc.ar( mul: 1 ) }.play;

I have installed pipewire-jack before with $ sudo apt install pipewire-jack

May be that a add on of pw-jack in the start sequence of sonic-pi might eliminate the missing sound problem?

May be the mentainers can add it to SC?

Sonic Pi 4.5.1 already uses pw-jack to start scsynth so that it works on pipewire, which is the default sound system from that version and onwards, when using Raspberry Pi or linux. The relevant code is in the daemon.rb file
the script pi-setup.sh loads in pipewire-jack and libspa-0.2-jack which are required for this to work so that they are accessible in the build process, and the library and pw-jack are accessed from daemon.rbduring the boot process for scsynth.

It was not the case in version 4.3 of sonic pi, so your best bet is to rebuild using version 4.5.1

Thanks. Indeed v 4.5.1 works with sound on Mint 22.

Great. Glad you got it working. Enjoy!