I want to launch Pd when my raspberry pi boots, so in /etc/rc.local I wrote the following, just before 'exit 0'
usr/local/bin/pd -nogui -open ~/pd_patches/load_test.pd
The patch that's supposed to open turns the DSP on on load and outputs a sine tone at 440 Hz. But when I power up the pi, I hear nothing out of the headphones (I tested the patch and it works if I launch Pd from the terminal).
If I type 'top' in the terminal, I see that there's pd taking some small CPU, but after I exit top, if I type 'killall pd', I get this: pd(2097): Operation not permitted pd: no process found
Is this 2097 Pd's pid?
What am I doing wrong?