Follow these instructions to install supercollider on RPI:
https://github.com/supercollider/supercollider/blob/develop/README_RASPBERRY_PI.md
Create your Jack configuration file:
"dhw:3" is your desired audio I/O device. For me, that is my audio interface.
echo /usr/bin/jackd -P75 -dalsa -dhw:3 -r44100 -p512 -n3 > ~/.jackdrc
You might want to change your audio I/O device. To see your available devices:
aplay -l
Make sure your terminal is in the appropriate environment. For my system, I created an environment called synthenv with the associated dependencies.
. ~/synthenv/bin/activate
Make sure your audio interface is connected and turned on!
Run main
python3 main.py