{"id":24355324,"url":"https://github.com/redfrik/supercolliderstandalonerpi1","last_synced_at":"2025-04-10T02:30:34.376Z","repository":{"id":49203213,"uuid":"54064083","full_name":"redFrik/supercolliderStandaloneRPI1","owner":"redFrik","description":"Standalone for Raspberry Pi 1 or Zero including the full IDE","archived":false,"fork":false,"pushed_at":"2024-05-11T20:19:30.000Z","size":46392,"stargazers_count":33,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-11T21:26:30.203Z","etag":null,"topics":["raspberry-pi","supercollider"],"latest_commit_sha":null,"homepage":"","language":"SuperCollider","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redFrik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-16T20:27:06.000Z","updated_at":"2024-05-11T20:19:38.000Z","dependencies_parsed_at":"2024-01-13T11:13:41.756Z","dependency_job_id":"53c65204-9d85-49a7-b902-c44b4bfa818d","html_url":"https://github.com/redFrik/supercolliderStandaloneRPI1","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneRPI1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneRPI1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneRPI1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneRPI1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redFrik","download_url":"https://codeload.github.com/redFrik/supercolliderStandaloneRPI1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144153,"owners_count":21054876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["raspberry-pi","supercollider"],"created_at":"2025-01-18T17:30:02.494Z","updated_at":"2025-04-10T02:30:34.351Z","avatar_url":"https://github.com/redFrik.png","language":"SuperCollider","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supercolliderStandaloneRPI1\nStandalone for Raspberry Pi 1 and Zero including the full IDE\n\nThis is the audio synthesis program [SuperCollider](https://github.com/supercollider/supercollider) version 3.13.0 (branch main, commit 3188503, 19feb2023) + [sc3-plugins](https://github.com/supercollider/sc3-plugins) (branch main, commit ab7f94e, 24feb2023) compiled for **Raspberry Pi 1** and **Raspberry Pi Zero**.\n\nThe standalone was built on a RPi Zero using [this guide](https://github.com/supercollider/supercollider/blob/develop/README_RASPBERRY_PI.md) and tested to run under [Raspberry Pi OS](https://www.raspberrypi.com/software/operating-systems/) 32-bit with desktop (2022-09-22-raspios-bullseye-armhf) and Lite (2022-09-22-raspios-bullseye-armhf-lite).\n\nFor 32-bit Legacy (raspios buster, desktop and Lite) download the previous release [sc3.12.0](https://github.com/redFrik/supercolliderStandaloneRPI1/releases/tag/v1.9) and follow the instructions in that README instead.\n\nFor 64-bit (**RPi4, Zero2**...) use [this repository](https://github.com/redFrik/supercolliderStandaloneRPI64/).\n\nFor **Raspberry Pi 2** and **Raspberry Pi 3** use [this repository](https://github.com/redFrik/supercolliderStandaloneRPI2).\n\nA quick (4:33) screencast showing the installation in realtime can be seen here... https://vimeo.com/397466041\n\n**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](https://doc.sccode.org) until this is resolved.\n\nThis 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).\n\ninstallation\n--\n\n_(this assumes you have done all the usual initialisation... burned the disk image, booted, changed password, optionally enabled ssh)_\n\nopen the terminal on the RPi and type...\n\n* `sudo apt-get update`\n* `sudo apt-get install qjackctl`\n* `git clone https://github.com/redFrik/supercolliderStandaloneRPI1 --depth 1`\n* `mkdir -p ~/.config/SuperCollider`\n* `cp supercolliderStandaloneRPI1/sc_ide_conf_temp.yaml ~/.config/SuperCollider/sc_ide_conf.yaml`\n\n**NOTE:** Double check the name in the last `cp` command. The resulting file must be called `sc_ide_conf.yaml`\n\nThis 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.\n\n**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.\n\n* `nano ~/supercolliderStandaloneRPI1/SuperColliderIDE.desktop`\n* `nano ~/.config/SuperCollider/sc_ide_conf.yaml`\n\nstartup\n--\n\nTo run the full IDE first open a terminal window and type...\n\n* `qjackctl`\n\nSelect the correct soundcard (under setup/interfaces) and then start jackd. _(if USB soundcard is used also set periods to 3)_\n\nThen open another terminal window and type...\n\n* `cd supercolliderStandaloneRPI1`\n* `export PATH=.:$PATH`\n* `scide`\n\nor simply just double click the desktop icon. SuperCollider IDE should start and run like normal - with scope, meter, plot, GUI, animation, quarks etc.\n\nThe 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).\n\nKNOWN ISSUES:\n\n* 'libEGL warning: DRI2: failed to authenticate' that is posted in the terminal at ScIDE startup is harmless\n* 'Open startup file' and 'Open user support directory' menu selections do not open the right file/folder.\n\njack\n--\n\nIf 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...\n\n* `nano ~/.jackdrc`\n\n_(this file is created by qjackctl so if you never ran qjackctl you might need to create this file manually.)_\n\nThe recommended jack audio settings are...\n\n* `/usr/bin/jackd -P75 -dalsa -dhw:0 -p1024 -n3 -s -r44100`\n\nand to set up Jack to use an external USB sound card change `-dhw:0` to `-dhw:1` like this...\n\n* `/usr/bin/jackd -P75 -dalsa -dhw:1 -p1024 -n3 -s -r44100`\n\nNOTE: 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.\n\nautostart\n--\n\n* `crontab -e` #and add the following line to the end\n  * `@reboot cd /home/pi/supercolliderStandaloneRPI1 \u0026\u0026 ./autostart.sh`\n* `sudo reboot` #and supercollider should automatically start after a while and play some beating sine tones.\n\nThen edit the autostart script to load whichever file. By default, it will load `mycode.scd`.\n\nheadless\n--\n\nTo run sclang+scsynth only from ssh...\n\n* `export QT_QPA_PLATFORM=offscreen`\n* `cd supercolliderStandaloneRPI1`\n* `./sclang -a -l ~/supercolliderStandaloneRPI1/sclang.yaml`\n\nNOTE: one can also specify a .scd file to load when starting sclang like this: `./sclang -a -l ~/supercolliderStandaloneRPI1/sclang.yaml mycode.scd`\n\n- - -\n\nLite\n==\n\nThe standalone also works under Raspberry Pi OS Lite but the installation process is a little bit different...\n\ninstallation:\n\n* `sudo apt-get update`\n* `sudo apt-get install libqt5network5 libqt5printsupport5 git libasound2-dev libsamplerate0-dev libsndfile1-dev`\n* `sudo apt remove '*jack*'`\n* `git clone --branch master --single-branch https://github.com/jackaudio/jack2.git`\n* `cd jack2`\n* `./waf configure --alsa`\n* `./waf build`\n* `sudo ./waf install`\n* `sudo ldconfig`\n* `cd ..`\n* `rm -rf jack2`\n* `sudo sh -c \"echo @audio - memlock 256000 \u003e\u003e /etc/security/limits.conf\"`\n* `sudo sh -c \"echo @audio - rtprio 75 \u003e\u003e /etc/security/limits.conf\"`\n* `echo /usr/local/bin/jackd -P75 -p16 -dalsa -dhw:0 -r44100 -p1024 -n3 \u003e ~/.jackdrc` #use -dhw:1 for USB soundcard\n* `cd ~; git clone https://github.com/redFrik/supercolliderStandaloneRPI1 --depth 1`\n* `sudo reboot`\n\nstartup:\n\n* `export QT_QPA_PLATFORM=offscreen`\n* `cd supercolliderStandaloneRPI1`\n* `./sclang -a -l ~/supercolliderStandaloneRPI1/sclang.yaml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredfrik%2Fsupercolliderstandalonerpi1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredfrik%2Fsupercolliderstandalonerpi1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredfrik%2Fsupercolliderstandalonerpi1/lists"}