Home

Awesome

supercolliderStandaloneRPI1

Standalone for Raspberry Pi 1 and Zero including the full IDE

This is the audio synthesis program SuperCollider version 3.13.0 (branch main, commit 3188503, 19feb2023) + sc3-plugins (branch main, commit ab7f94e, 24feb2023) compiled for Raspberry Pi 1 and Raspberry Pi Zero.

The standalone was built on a RPi Zero using this guide and tested to run under Raspberry Pi OS 32-bit with desktop (2022-09-22-raspios-bullseye-armhf) and Lite (2022-09-22-raspios-bullseye-armhf-lite).

For 32-bit Legacy (raspios buster, desktop and Lite) download the previous release sc3.12.0 and follow the instructions in that README instead.

For 64-bit (RPi4, Zero2...) use this repository.

For Raspberry Pi 2 and Raspberry Pi 3 use this repository.

A quick (4:33) screencast showing the installation in realtime can be seen here... https://vimeo.com/397466041

Note since SuperCollider version 3.10 the ScIDE needs to be built without qt-webengine (-DSC_USE_QTWEBENGINE:BOOL=OFF) and that means that the built-in help system is not available for this standalone. You can browse help files at doc.sccode.org until this is resolved.

This standalone is self-contained and all files are in one directory (except for the sc_ide_conf.yaml file - see below). It can coexist with other programs using scsynth like Sonic Pi and can even run simultaneously (as long as Sonic Pi is started first).

installation

(this assumes you have done all the usual initialisation... burned the disk image, booted, changed password, optionally enabled ssh)

open the terminal on the RPi and type...

NOTE: Double check the name in the last cp command. The resulting file must be called sc_ide_conf.yaml

This last cp command will create a global sc_ide preference file from a template. At the moment SuperCollider IDE can not use a local configuration file, but hopefully, this will change in the future. Also, note that if you cloned or moved this repository somewhere else than in your home directory you should edit the yaml file to make the paths in there point to your standalone directory.

IMPORTANT: If you have set another user name than pi, edit the two files SuperColliderIDE.desktop and sc_ide_conf.yaml to match your username.

startup

To run the full IDE first open a terminal window and type...

Select the correct soundcard (under setup/interfaces) and then start jackd. (if USB soundcard is used also set periods to 3)

Then open another terminal window and type...

or simply just double click the desktop icon. SuperCollider IDE should start and run like normal - with scope, meter, plot, GUI, animation, quarks etc.

The startup file is located in the subdirectory share/user/ and extensions you can put in share/user/Extensions/ (first create that directory if it does not exist).

KNOWN ISSUES:

jack

If you start SuperCollider without having Jack already running (like when autostarting or running headless), Jack will automatically launch when you boot the server. The audio settings then used are found in the file...

(this file is created by qjackctl so if you never ran qjackctl you might need to create this file manually.)

The recommended jack audio settings are...

and to set up Jack to use an external USB sound card change -dhw:0 to -dhw:1 like this...

NOTE: the internal soundcard volume is by default set low (40). type alsamixer in terminal and adjust the PCM volume to 85 with the arrow keys, ESC key exits.

autostart

Then edit the autostart script to load whichever file. By default, it will load mycode.scd.

headless

To run sclang+scsynth only from ssh...

NOTE: one can also specify a .scd file to load when starting sclang like this: ./sclang -a -l ~/supercolliderStandaloneRPI1/sclang.yaml mycode.scd


Lite

The standalone also works under Raspberry Pi OS Lite but the installation process is a little bit different...

installation:

startup: