- Raspberry Pi
- MicroSD Card (class 10, 8GB or larger)
- Power Supply
- (Optional) USB Audio Adapter (this one is fine)
- Download
Raspbian Stretch Lite
from the Raspberry Pi Foundation here (note:Raspbian Buster Lite
does not currently work with this standalone, it will be fixed when SC3.10.3
is released [soon]) - Follow the instructions here to write the
.img
to yourMicro SD
card - Insert Micro SD card into RPi, boot it up, and run the
raspi-config
tool. At a minimum one should:- change the password
- enter WIFI credentials
- enable
ssh
- change default volume output to headphone jack (even if you do not plan to use it)
- Build SC Standalone for
Raspbian Stretch Lite
following Fredrik's instructions here (in two parts): - Turn up the (weirdly low) default volume for
alsamixer
:alsamixer
(I suggest80
as a starting point) - Reboot the RPi and confirm SC is working:
cd supercolliderStandaloneRPI2
xvfb-run --auto-servernum ./sclang -a -l ~/supercolliderStandaloneRPI2/sclang.yaml
- (at the SC command prompt)
s.boot;
- (still at the SC command prompt)
{SinOsc.ar(300, 0.0, 0.9)}.play;
- (assuming you hear the sine tone)
s.quit;
- control-d to exit SC
- Shutdown RPi:
sudo shutdown now
- Remove the Micro SD card
Once one RPi is setup and functional scaling is as simple as archiving the functional .img
to a CPU and duplicating it for the desired quantity of RPis