{"id":24355338,"url":"https://github.com/redfrik/supercolliderstandalonebbbheadless","last_synced_at":"2025-04-10T02:31:35.137Z","repository":{"id":67934783,"uuid":"54402205","full_name":"redFrik/supercolliderStandaloneBBBheadless","owner":"redFrik","description":"Standalone SuperCollider for BeagleBone","archived":false,"fork":false,"pushed_at":"2023-02-25T17:25:15.000Z","size":33297,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T04:01:42.186Z","etag":null,"topics":["beaglebone-black","linux","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-21T15:49:40.000Z","updated_at":"2022-01-16T23:43:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"cccacb97-9dbb-422d-88c7-86e2f9bcf267","html_url":"https://github.com/redFrik/supercolliderStandaloneBBBheadless","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneBBBheadless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneBBBheadless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneBBBheadless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redFrik%2FsupercolliderStandaloneBBBheadless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redFrik","download_url":"https://codeload.github.com/redFrik/supercolliderStandaloneBBBheadless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144158,"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":["beaglebone-black","linux","supercollider"],"created_at":"2025-01-18T17:30:07.691Z","updated_at":"2025-04-10T02:31:35.130Z","avatar_url":"https://github.com/redFrik.png","language":"SuperCollider","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supercolliderStandaloneBBBheadless\nStandalone for BeagleBone Black with Debian.\n\nThis is the audio synthesis program [SuperCollider](https://github.com/supercollider/supercollider) version 3.13.0 (branch main, commit 3188503, 20feb2023) + [sc3-plugins](https://github.com/supercollider/sc3-plugins) (branch main, commit ab7f94e, 24feb2023) compiled for BeagleBone Black.\n\nThe standalone was built using [this guide](https://github.com/supercollider/supercollider/blob/develop/README_BEAGLEBONE_BLACK.md) and tested to run under [AM3358 Debian 10.3 2020-04-06 4GB SD IoT](https://beagleboard.org/latest-images), [bone-debian-10.3-console-armhf-2020-04-06-1gb](https://beagleboard.org/latest-images) and [bone-debian-10.13-console-armhf-2023-02-05-1gb](https://elinux.org/Beagleboard:Latest-images-testing#Debian_10_.28Buster.29_Console). It also works on the **PocketBeagle** and likely the other beagleboard models.\n\nThis standalone is self-contained and all files are in one directory.\n\ninstallation\n--\n\n_(this assumes you have done all the usual initialisation... burned the disk image, booted, logged in via ssh or monitor, changed password, expanded the filesystem (`sudo /opt/scripts/tools/grow_partition.sh`))_\n\nIn a BBB terminal window type...\n\n* `sudo apt-get update`\n* `sudo apt-get install git libfftw3-bin libavahi-client3`\n* `git clone https://github.com/redFrik/supercolliderStandaloneBBBheadless --depth 1`\n\nand then build and install jack2...\n\n* `sudo apt-get install build-essential libasound2-dev libsamplerate0-dev libsndfile1-dev`\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:1 -r44100 -p1024 -n3 \u003e ~/.jackdrc` #-dhw:1 is for USB soundcard\n* `sudo reboot`\n\nstartup\n--\n\nStart by opening a terminal window (or log in via SSH) and type...\n\n* `cd supercolliderStandaloneBBBheadless`\n* `./sclang -a -l ~/supercolliderStandaloneBBBheadless/sclang.yaml`\n\nNOTE: one can also specify a .scd file to load when starting sclang like this: `./sclang -a -l ~/supercolliderStandaloneBBBheadless/sclang.yaml mycode.scd`\n\nautostart\n--\n\n* `crontab -e` #and add the following line to the end\n  * `@reboot cd /home/debian/supercolliderStandaloneBBBheadless \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\nCPU speed\n--\n\nTo avoid audio dropouts on the BBB make sure you are running at 1GHz. The following command will change the governor from *ondemand* to *performance*.\n\n* `sudo apt-get install cpufrequtils`\n* `sudo cpufreq-set -g performance`\n\nalso power the BBB from the DC barrel jack or GPIO pins - the mini USB port will cap the CPU at 300MHz.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredfrik%2Fsupercolliderstandalonebbbheadless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredfrik%2Fsupercolliderstandalonebbbheadless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredfrik%2Fsupercolliderstandalonebbbheadless/lists"}