Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.88 KB

01-RPi-setup.md

File metadata and controls

44 lines (35 loc) · 2.88 KB

RPi for David Tudor's Rainforest

References

Materials

  • Raspberry Pi
  • MicroSD Card (class 10, 8GB or larger)
  • Power Supply
  • (Optional) USB Audio Adapter (this one is fine)

Installation Procedure

  1. 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 SC 3.10.3 is released [soon])
  2. Follow the instructions here to write the .img to your Micro SD card
  3. Insert Micro SD card into RPi, boot it up, and run the raspi-config tool. At a minimum one should:
    1. change the password
    2. enter WIFI credentials
    3. enable ssh
    4. change default volume output to headphone jack (even if you do not plan to use it)
  4. Build SC Standalone for Raspbian Stretch Lite following Fredrik's instructions here (in two parts):
    1. general installation instructions here (note: you will need to also install git to clone the standalone repo: sudo apt-get install git)
    2. lite-specific installation instructions here
  5. Turn up the (weirdly low) default volume for alsamixer: alsamixer (I suggest 80 as a starting point)
  6. Reboot the RPi and confirm SC is working:
    1. cd supercolliderStandaloneRPI2
    2. xvfb-run --auto-servernum ./sclang -a -l ~/supercolliderStandaloneRPI2/sclang.yaml
    3. (at the SC command prompt) s.boot;
    4. (still at the SC command prompt) {SinOsc.ar(300, 0.0, 0.9)}.play;
    5. (assuming you hear the sine tone) s.quit;
    6. control-d to exit SC
  7. Shutdown RPi: sudo shutdown now
  8. Remove the Micro SD card

Cloning Procedure

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

  1. archive the .img: follow the instructions here to backup the configured .img file to a CPU
  2. duplicate the .img: follow the instructions here to clone the archived .img
  3. repeat step 2. for the desired quantity of RPis