Pisound for Raspberry Pi 5?

Is there an updated case?

@worik, not yet. We are still exploring options to address the heat issue. The official cooler is way too big to fit beneath Pisound.

I have found that you can add a short header extender that makes up the added distance that the cooler takes away. This allows the pisound to fit on the Pi5 perfectly. I had to add some custom standoffs for shoring it up. I don’t use a case so I can’t speak to cases.

I was able to use my Pi4 to update the OS per the post In this thread and then put it back into the Pi5 so it would boot. I was able to run the rest of the OS updates everything seems to work but I can’t seem to get a desktop to show up and I am not sure how to get it to work.

Any help here would be nice.

I have a feeling I will need to wait for the next OS/Kernel update.

Mod works sooo well now and I can’t wait to try and get my other projects working.

@Kam, could you please share the exact extender you are using?

This one I had was from my pi parts box. Pretty shure it was pulled from an old 3B.

Since it was a custom made 8.5mm (measured via callipers) for it to fit a case Adafruit made.

I get 90% of my parts from Adafruit so my best guess is this:

https://www.adafruit.com/product/1979

Kat

2 Likes

so I modified the cooler:

with short testing it seems to work ok. The fan and jack socket is the tightest place, but by careful filing it sat ok there.

Though it is quite brute force and bit worried that the insulation tape will melt and there will be problems… but yeah, there it is in the box now.

So I wanted to give an update on my Pi5 experance thus far. Since upgrading broke things, I put a fresh 64bit PiOS image on the fastest SD card I have and the pisound is showing up and working perfectly out of the box. Amazingly so. This should hold me over till we see a new release of Patchbox.

As always your mileage may very.

Has anyone else tried the little 8.5mm header yet?

K.

1 Like

The .deb packages that Pisound and most of Patchbox OS rely on have been ported for arm64 architecture, available for bookworm OS release.

The install-pisound.sh and apt-setup.sh scripts have been adjusted accordingly, and will automatically fall back to the previous .deb packages if the OS release is unsupported.

To install the basic Pisound software, run this command:

curl https://blokas.io/pisound/install.sh | sh

To only update the APT packages without installing anything, run this command:

curl https://blokas.io/apt-setup.sh | sh
7 Likes

This is great! Just to clarify, this doesn’t include the real-time kernel, correct?

Yes, it doesn’t affect the currently running kernel, apart from asking to upgrade it to a version containing the up to date Pisound driver.

Hi,
Thnx for all the info about pi5 and modep. I have installed it (Pisound - modep) and it works great. Because it is not a full Patchbox OS, there is no config for the Pisound to set sample rate and buffer size. I have found out thee jack settings can be changed in the file jackdrc. But when I set a sample rate of 96000 or 192000 (-r option) and restart the system I have no sound on the Pisound output. So the line in jackrdc is like this:
exec /usr/bin/jackd -t 2000 -R -P 95 -d alsa -d hw:pisound -r 96000 -p 128 -n 2 -X seq -s -S
When I restart jack the server is displaying this error:
Feb 23 10:31:24 raspberrypi5 jackdrc[6663]: JackAudioDriver::ProcessGraphAsyncMaster: Process error
It seems like it is impossible to change the sample rate. I can change the buffer size to 64 to reduce latency. I still would like the discover how the sample rate influences the latency and how far I can take it. On the other hand, I read an article about sample rate, harmonics and distortion/overdrive. and how a high sample rate can influence the sound (higher harmonics generating audible distortion).

Try increasing the -p to 256 and/or -n to 3.

For how the sampling rate and buffer sizes relate to latency, see Suitable as guitar effect pedal? - #2 by Giedrius or some other past discussions.

Hi Giedrius,
Thnx, tried -r 96000, -p 256 and -n 3 and that worked until modep starts up. So, checked jack settings and jack.service runs even with -r 192000 -p 128 -n 2
But as soon as I start modep-mod-host and modep-mod-ui jack gives

JackAudioDriver::ProcessGraphAsyncMaster: Process error

Looks like a sync issue with modep. Do I need to change some settings for modep somewhere?

For now I will use these settings which seems to give the lowest latency with best sound:

exec /usr/bin/jackd -t 2000 -R -P 95 -d alsa -d hw:pisound -r 48000 -p 64 -n 2 -X seq -s

I omitted the -S switch so 32 bit is activated instead of 16 bit. Still would like to try out higher sample rates.

1 Like

After running sudo curl https://blokas.io/pisound/install.sh | s I get to the end and it seems to error at the end…

Processing triggers for mailcap (3.70+nmu1) ...
Updating /usr/local/pisound...
sh: 1: cd: can't cd to /usr/local/pisound

Now you may run 'sudo pisound-config' to customize your installation!
patch@patchbox:~ $ sudo pisound-config
/usr/bin/pisound-config: 2: exec: /usr/local/pisound/pisound-config/main.py: not found

When looking I don’t see that directory per say but I do see pisound-config in /bin
However when you run it you are left with the following :

./pisound-config: 2: exec: /usr/local/pisound/pisound-config/main.py: not found

Looks as if things are working kind of?I am not sure why things are not pointing to the correct location as I currently mirror the patch@patchbox user/directory. I was hoping that it would have resolved the issue but it did not. Maybe a script edit?

Please post the entire output of running this command:

curl https://blokas.io/pisound/install.sh | sh

I did this from a fresh install:

patchbox@patchbox:~ $ curl https://blokas.io/pisound/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1656  100  1656    0     0   4089      0 --:--:-- --:--:-- --:--:--  4099
Checking if the kernel version is 6.1.74 or newer... It's not.

Your Linux kernel version (6.1.0-rpi7-rpi-2712) is below the recommended kernel version (6.1.74)!
Please upgrade it first by running the below command and following on screen instructions, and run Pisound install again!

sudo rpi-update
patchbox@patchbox:~ $

If you run the sudo rpi-update you get:

sudo rpi-update
patchbox@patchbox:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
FW_REV:a31776f0abb4bee5b79a3334bf748c99a813c084
BOOTLOADER_REV:11c64e3721d104319d8b0f18b675d9beb4eb7f30
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 6.1.0-rpi7-rpi-2712
WANT_32BIT:0 WANT_64BIT:1 WANT_PI4:1 WANT_PI5:1
##############################################################
WARNING: This update bumps to rpi-6.6.y linux tree
See: https://forums.raspberrypi.com/viewtopic.php?p=2191175

'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer or if you want to help the testing effort
and are comfortable with restoring if there are regressions.

DO NOT use 'rpi-update' as part of a regular update process.
##############################################################
Would you like to proceed? (y/N)
Downloading bootloader tools
Downloading bootloader images

 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  142M  100  142M    0     0  2750k      0  0:00:52  0:00:52 --:--:-- 3019k
BOOTLOADER: up to date
   CURRENT: Fri 16 Feb 15:28:41 UTC 2024 (1708097321)
    LATEST: Fri 16 Feb 15:28:41 UTC 2024 (1708097321)
   RELEASE: latest (/lib/firmware/raspberrypi/bootloader-2712/latest)
            Use raspi-config to change the release.
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 6.6.18-v8+
 *** depmod 6.6.18-v8-16k+
 *** Updating VideoCore libraries
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to a31776f0abb4bee5b79a3334bf748c99a813c084
 *** A reboot is needed to activate the new firmware

If you run the script again after updating you get this as output:

patchbox@patchbox:~ $ curl https://blokas.io/pisound/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1656  100  1656    0     0   3972      0 --:--:-- --:--:-- --:--:--  3980
Checking if the kernel version is 6.1.74 or newer... It is.
Importing Blokas GPG public key...
Adding Blokas APT (bookworm) repository...
Updating package list...
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease        
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                  
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease                 
Get:5 http://apt.blokas.io bookworm InRelease [7,166 B]
Get:6 http://apt.blokas.io bookworm/main arm64 Packages [8,687 B]
Get:7 http://apt.blokas.io bookworm/main armhf Packages [8,677 B]
Fetched 24.5 kB in 1s (23.1 kB/s)   
Reading package lists... Done
Installing Pisound software...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  blokas-puredata-patches blokas-telemetry libportaudio2 mec-blokas
  node-html5shiv osc2midi patchbox-wifi pd-blokas pd-creb pd-cyclone
  pd-gendyflext pd-ggee pd-iemlib pd-moonlib pd-zexy pisound-btn pisound-ctl
  pisound-ctl-scripts-common pisound-ctl-scripts-puredata
  pisound-ctl-scripts-system puredata puredata-core puredata-dev puredata-doc
  puredata-extra puredata-gui puredata-gui-l10n puredata-utils python3-urwid
  tcl tcl8.6 tk tk8.6
Suggested packages:
  nodejs pd-libdir gem multimedia-puredata pd-aubio pd-csound pd-pdp
  python-urwid-doc tcl-tclreadline
The following NEW packages will be installed:
  blokas-puredata-patches blokas-telemetry libportaudio2 mec-blokas
  node-html5shiv osc2midi patchbox-wifi pd-blokas pd-creb pd-cyclone
  pd-gendyflext pd-ggee pd-iemlib pd-moonlib pd-zexy pisound pisound-btn
  pisound-ctl pisound-ctl-scripts-common pisound-ctl-scripts-puredata
  pisound-ctl-scripts-system puredata puredata-core puredata-dev puredata-doc
  puredata-extra puredata-gui puredata-gui-l10n puredata-utils python3-urwid
  tcl tcl8.6 tk tk8.6
0 upgraded, 34 newly installed, 0 to remove and 169 not upgraded.
Need to get 20.8 MB of archives.
After this operation, 82.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 libportaudio2 arm64 19.6.0-1.2 [61.2 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 puredata-core arm64 0.53.1+ds-2 [747 kB]
Get:2 http://apt.blokas.io bookworm/main arm64 patchbox-wifi all 1.3.0-1 [3,876 B]
Get:13 http://deb.debian.org/debian bookworm/main arm64 puredata-dev all 0.53.1+ds-2 [40.1 kB]
Get:4 http://apt.blokas.io bookworm/main arm64 pd-blokas arm64 0.1.1-4 [228 kB]
Get:14 http://deb.debian.org/debian bookworm/main arm64 puredata-doc all 0.53.1+ds-2 [1,484 kB]
Get:18 http://deb.debian.org/debian bookworm/main arm64 puredata-extra arm64 0.53.1+ds-2 [101 kB]
Get:19 http://deb.debian.org/debian bookworm/main arm64 tcl8.6 arm64 8.6.13+dfsg-2 [120 kB]
Get:20 http://deb.debian.org/debian bookworm/main arm64 tcl arm64 8.6.13 [4,016 B]
Get:21 http://deb.debian.org/debian bookworm/main arm64 tk8.6 arm64 8.6.13-2 [69.5 kB]
Get:22 http://deb.debian.org/debian bookworm/main arm64 tk arm64 8.6.13 [4,052 B]
Get:23 http://deb.debian.org/debian bookworm/main arm64 puredata-gui all 0.53.1+ds-2 [129 kB]
Get:24 http://deb.debian.org/debian bookworm/main arm64 puredata-utils arm64 0.53.1+ds-2 [22.5 kB]
Get:25 http://deb.debian.org/debian bookworm/main arm64 puredata all 0.53.1+ds-2 [13.0 kB]
Get:26 http://deb.debian.org/debian bookworm/main arm64 pd-iemlib arm64 1.22.2-3 [311 kB]
Get:27 http://deb.debian.org/debian bookworm/main arm64 pd-zexy arm64 2.4.1-4 [127 kB]
Get:28 http://deb.debian.org/debian bookworm/main arm64 pd-moonlib arm64 0.5-3 [81.3 kB]
Get:29 http://deb.debian.org/debian bookworm/main arm64 pd-ggee arm64 0.28-3 [84.8 kB]
Get:30 http://deb.debian.org/debian bookworm/main arm64 pd-creb arm64 0.9.2+darcs20151027-7 [89.2 kB]
Get:31 http://deb.debian.org/debian bookworm/main arm64 pd-cyclone arm64 0.6.1-2 [1,288 kB]
Get:32 http://deb.debian.org/debian bookworm/main arm64 node-html5shiv all 3.7.3+dfsg-5 [13.2 kB]
Get:33 http://deb.debian.org/debian bookworm/main arm64 python3-urwid arm64 2.1.2-4+b1 [181 kB]
Get:34 http://deb.debian.org/debian bookworm/main arm64 puredata-gui-l10n all 0.53.1+ds-2 [82.2 kB]
Get:5 http://apt.blokas.io bookworm/main arm64 pd-gendyflext arm64 1.0.0-1 [54.4 kB]
Get:6 http://apt.blokas.io bookworm/main arm64 blokas-puredata-patches all 1.02-1 [14.9 MB]
Get:7 http://apt.blokas.io bookworm/main arm64 blokas-telemetry arm64 1.0.2-1 [72.8 kB]
Get:8 http://apt.blokas.io bookworm/main arm64 mec-blokas arm64 0.1.1-3 [194 kB]
Get:9 http://apt.blokas.io bookworm/main arm64 osc2midi arm64 1.01-2 [13.8 kB] 
Get:10 http://apt.blokas.io bookworm/main arm64 pisound-btn arm64 1.16-1 [19.6 kB]
Get:11 http://apt.blokas.io bookworm/main arm64 pisound-ctl-scripts-common all 1.03-7 [2,600 B]
Get:12 http://apt.blokas.io bookworm/main arm64 pisound-ctl arm64 1.03-12 [286 kB]
Get:15 http://apt.blokas.io bookworm/main arm64 pisound all 1.05-1 [1,156 B]   
Get:16 http://apt.blokas.io bookworm/main arm64 pisound-ctl-scripts-puredata all 1.03-7 [2,560 B]
Get:17 http://apt.blokas.io bookworm/main arm64 pisound-ctl-scripts-system all 1.03-7 [2,232 B]
Fetched 20.8 MB in 15s (1,359 kB/s)                                            
Extracting templates from packages: 100%
Selecting previously unselected package patchbox-wifi.
(Reading database ... 125261 files and directories currently installed.)
Preparing to unpack .../00-patchbox-wifi_1.3.0-1_all.deb ...
Unpacking patchbox-wifi (1.3.0-1) ...
Selecting previously unselected package pd-blokas.
Preparing to unpack .../01-pd-blokas_0.1.1-4_arm64.deb ...
Unpacking pd-blokas (0.1.1-4) ...
Selecting previously unselected package libportaudio2:arm64.
Preparing to unpack .../02-libportaudio2_19.6.0-1.2_arm64.deb ...
Unpacking libportaudio2:arm64 (19.6.0-1.2) ...
Selecting previously unselected package puredata-core.
Preparing to unpack .../03-puredata-core_0.53.1+ds-2_arm64.deb ...
Unpacking puredata-core (0.53.1+ds-2) ...
Selecting previously unselected package puredata-dev.
Preparing to unpack .../04-puredata-dev_0.53.1+ds-2_all.deb ...
Unpacking puredata-dev (0.53.1+ds-2) ...
Selecting previously unselected package puredata-doc.
Preparing to unpack .../05-puredata-doc_0.53.1+ds-2_all.deb ...
Unpacking puredata-doc (0.53.1+ds-2) ...
Selecting previously unselected package puredata-extra.
Preparing to unpack .../06-puredata-extra_0.53.1+ds-2_arm64.deb ...
Unpacking puredata-extra (0.53.1+ds-2) ...
Selecting previously unselected package tcl8.6.
Preparing to unpack .../07-tcl8.6_8.6.13+dfsg-2_arm64.deb ...
Unpacking tcl8.6 (8.6.13+dfsg-2) ...
Selecting previously unselected package tcl.
Preparing to unpack .../08-tcl_8.6.13_arm64.deb ...
Unpacking tcl (8.6.13) ...
Selecting previously unselected package tk8.6.
Preparing to unpack .../09-tk8.6_8.6.13-2_arm64.deb ...
Unpacking tk8.6 (8.6.13-2) ...
Selecting previously unselected package tk.
Preparing to unpack .../10-tk_8.6.13_arm64.deb ...
Unpacking tk (8.6.13) ...
Selecting previously unselected package puredata-gui.
Preparing to unpack .../11-puredata-gui_0.53.1+ds-2_all.deb ...
Unpacking puredata-gui (0.53.1+ds-2) ...
Selecting previously unselected package puredata-utils.
Preparing to unpack .../12-puredata-utils_0.53.1+ds-2_arm64.deb ...
Unpacking puredata-utils (0.53.1+ds-2) ...
Selecting previously unselected package puredata.
Preparing to unpack .../13-puredata_0.53.1+ds-2_all.deb ...
Unpacking puredata (0.53.1+ds-2) ...
Selecting previously unselected package pd-iemlib.
Preparing to unpack .../14-pd-iemlib_1.22.2-3_arm64.deb ...
Unpacking pd-iemlib (1.22.2-3) ...
Selecting previously unselected package pd-gendyflext.
Preparing to unpack .../15-pd-gendyflext_1.0.0-1_arm64.deb ...
Unpacking pd-gendyflext (1.0.0-1) ...
Selecting previously unselected package pd-zexy.
Preparing to unpack .../16-pd-zexy_2.4.1-4_arm64.deb ...
Unpacking pd-zexy (2.4.1-4) ...
Selecting previously unselected package pd-moonlib.
Preparing to unpack .../17-pd-moonlib_0.5-3_arm64.deb ...
Unpacking pd-moonlib (0.5-3) ...
Selecting previously unselected package pd-ggee.
Preparing to unpack .../18-pd-ggee_0.28-3_arm64.deb ...
Unpacking pd-ggee (0.28-3) ...
Selecting previously unselected package pd-creb.
Preparing to unpack .../19-pd-creb_0.9.2+darcs20151027-7_arm64.deb ...
Unpacking pd-creb (0.9.2+darcs20151027-7) ...
Selecting previously unselected package pd-cyclone.
Preparing to unpack .../20-pd-cyclone_0.6.1-2_arm64.deb ...
Unpacking pd-cyclone (0.6.1-2) ...
Selecting previously unselected package blokas-puredata-patches.
Preparing to unpack .../21-blokas-puredata-patches_1.02-1_all.deb ...
Unpacking blokas-puredata-patches (1.02-1) ...
Selecting previously unselected package blokas-telemetry.
Preparing to unpack .../22-blokas-telemetry_1.0.2-1_arm64.deb ...
Blokas Telemetry - https://blokas.io/patchbox-os/docs/telemetry/
Unpacking blokas-telemetry (1.0.2-1) ...
Selecting previously unselected package mec-blokas.
Preparing to unpack .../23-mec-blokas_0.1.1-3_arm64.deb ...
Unpacking mec-blokas (0.1.1-3) ...
Selecting previously unselected package node-html5shiv.
Preparing to unpack .../24-node-html5shiv_3.7.3+dfsg-5_all.deb ...
Unpacking node-html5shiv (3.7.3+dfsg-5) ...
Selecting previously unselected package osc2midi.
Preparing to unpack .../25-osc2midi_1.01-2_arm64.deb ...
Unpacking osc2midi (1.01-2) ...
Selecting previously unselected package python3-urwid.
Preparing to unpack .../26-python3-urwid_2.1.2-4+b1_arm64.deb ...
Unpacking python3-urwid (2.1.2-4+b1) ...
Selecting previously unselected package pisound-btn.
Preparing to unpack .../27-pisound-btn_1.16-1_arm64.deb ...
Unpacking pisound-btn (1.16-1) ...
Selecting previously unselected package pisound-ctl-scripts-common.
Preparing to unpack .../28-pisound-ctl-scripts-common_1.03-7_all.deb ...
Unpacking pisound-ctl-scripts-common (1.03-7) ...
Selecting previously unselected package pisound-ctl.
Preparing to unpack .../29-pisound-ctl_1.03-12_arm64.deb ...
Backing up /usr/local/pisound-ctl to /usr/local/pisound-ctl-backups/2024-02-28.11:37:07
Unpacking pisound-ctl (1.03-12) ...
Selecting previously unselected package pisound.
Preparing to unpack .../30-pisound_1.05-1_all.deb ...
Unpacking pisound (1.05-1) ...
Selecting previously unselected package pisound-ctl-scripts-puredata.
Preparing to unpack .../31-pisound-ctl-scripts-puredata_1.03-7_all.deb ...
Unpacking pisound-ctl-scripts-puredata (1.03-7) ...
Selecting previously unselected package pisound-ctl-scripts-system.
Preparing to unpack .../32-pisound-ctl-scripts-system_1.03-7_all.deb ...
Unpacking pisound-ctl-scripts-system (1.03-7) ...
Selecting previously unselected package puredata-gui-l10n.
Preparing to unpack .../33-puredata-gui-l10n_0.53.1+ds-2_all.deb ...
Unpacking puredata-gui-l10n (0.53.1+ds-2) ...
Setting up tk8.6 (8.6.13-2) ...
Setting up pd-blokas (0.1.1-4) ...
Setting up libportaudio2:arm64 (19.6.0-1.2) ...
Setting up tcl8.6 (8.6.13+dfsg-2) ...
Setting up puredata-doc (0.53.1+ds-2) ...
Setting up osc2midi (1.01-2) ...
Setting up node-html5shiv (3.7.3+dfsg-5) ...
Setting up python3-urwid (2.1.2-4+b1) ...
Setting up puredata-utils (0.53.1+ds-2) ...
Setting up blokas-telemetry (1.0.2-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/blokas-telemetry.target → /lib/systemd/system/blokas-telemetry.target.
Setting up tcl (8.6.13) ...
Setting up patchbox-wifi (1.3.0-1) ...

Creating the Hotspot Network with ssid 'patchbox'... WiFi connection may be interrupted. Will use IP 172.24.1.1 while the hotspot is enabled.
Once done, use the command `sudo systemctl enable --now wifi-hotspot` to turn it on. Use 'disable' in place of 'enable' to turn it off.

The default password is 'blokaslabs'. Run `change_wifi_hotspot_password.sh` to change it.
Setting up pd-gendyflext (1.0.0-1) ...
Setting up tk (8.6.13) ...
Setting up puredata-core (0.53.1+ds-2) ...
update-alternatives: using /usr/bin/puredata to provide /usr/bin/pd (pd) in auto mode
Setting up puredata-dev (0.53.1+ds-2) ...
Setting up mec-blokas (0.1.1-3) ...
Setting up puredata-extra (0.53.1+ds-2) ...
Setting up pd-zexy (2.4.1-4) ...
Setting up pd-iemlib (1.22.2-3) ...
Setting up pd-ggee (0.28-3) ...
Setting up pd-creb (0.9.2+darcs20151027-7) ...
Setting up pd-moonlib (0.5-3) ...
Setting up pisound-btn (1.16-1) ...
Cloning pisound repository from https://github.com/BlokasLabs/pisound...
Cloning into '/usr/local/pisound'...
fatal: unable to access 'https://github.com/BlokasLabs/pisound.git/': Could not resolve host: github.com
Created symlink /etc/systemd/system/multi-user.target.wants/pisound-btn.service → /lib/systemd/system/pisound-btn.service.
Setting up pd-cyclone (0.6.1-2) ...
Setting up puredata-gui (0.53.1+ds-2) ...
Setting up pisound-ctl-scripts-common (1.03-7) ...
Setting up blokas-puredata-patches (1.02-1) ...
Setting up pisound-ctl (1.03-12) ...
Cloning pisound repository from https://github.com/BlokasLabs/pisound...
Cloning into '/usr/local/pisound'...
fatal: unable to access 'https://github.com/BlokasLabs/pisound.git/': Could not resolve host: github.com
Created symlink /etc/systemd/system/multi-user.target.wants/pisound-ctl.service → /lib/systemd/system/pisound-ctl.service.
Setting up puredata-gui-l10n (0.53.1+ds-2) ...
Setting up pisound-ctl-scripts-puredata (1.03-7) ...
Setting up pisound-ctl-scripts-system (1.03-7) ...
Setting up puredata (0.53.1+ds-2) ...
Setting up pisound (1.05-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u3) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for shared-mime-info (2.2-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Updating /usr/local/pisound...
sh: 1: cd: can't cd to /usr/local/pisound

N
ow you may run 'sudo pisound-config' to customize your installation!
patchbox@patchbox:~ $ 

The real problem on your system is this:

fatal: unable to access 'https://github.com/BlokasLabs/pisound.git/': Could not resolve host: github.com

You have to figure out why github.com or GitHub - BlokasLabs/pisound: pisound kernel module and user-mode button is not accessible for your system, it seems to be a network problem, or a git client problem.