Gracefully mute pd before closing patch

#1

Hi folks,

Is there are neat way to gracefully mute then close pd when closing out of a patch? Right now Iā€™m using the button to jump between patches. There is a jarring zipper sound every time I switch patches.

0 Likes

#2

The PD is being closed by sending the process a SIGTERM (usually number 15) signal. This is the polite way to ask for a process to close. I think I remember running into this issue and the solution was to actually close the process less gracefully by issuing it a SIGKILL (usually number 9) signal instead. You may try modifying the /usr/local/pisound/scripts/common/stop_puredata.sh and change the killall puredata to:

killall -s SIGKILL puredata

# or

killall -s 9 puredata
0 Likes

#3

OK cool thank you Giedrius! I will try that and report back :slight_smile:

0 Likes