SuperCollider

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

SuperCollider is a platform for audio synthesis and algorithmic composition.

Installation

USE flags

USE flags for media-sound/supercollider Environment and programming language for real time audio synthesis

+fftw Use FFTW library for computing Fourier transforms
+gpl3 Build GPL-3 licensed code (recommended)
+sndfile Add support for libsndfile
+zeroconf Support for DNS Service Discovery (DNS-SD)
X Add support for X11
ableton-link Enable support for Ableton Link
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
emacs Enable the SCEL user interface
gedit Enable the SCED user interface
jack Add support for the JACK Audio Connection Kit
qt5 Add support for the Qt 5 application and UI framework
server Build with internal server
static-libs Build static versions of dynamic libraries as well
vim Enable the SCVIM user interface
webengine Enable the internal help system using QtWebengine

Emerge

root #emerge --ask media-sound/supercollider

Usage

The media-sound/supercollider package provides three binaries:

  • sclang, the interpreter for the SuperCollider language. An interactive session can be started from the command line via sclang; a server can be started via sclang -D.
  • scide, the IDE. An introduction to its use can be found in the " Getting started with SC" tutorial.
  • scsynth, a SuperCollider synthesizer.

There are no man pages for these binaries, but command-line options for sclang and scsynth can be listed by passing the -help option to either.

Emacs

Warning
Although SuperCollider provides an Emacs Lisp interface to the SuperCollider system, via the inclusion of scel, scel has not been updated since September 2021. Additionally, the sclang-extensions Emacs package, available via MELPA, has not been updated since May 2016, and is listed as unmaintained. Both might or might work adequately, depending on system configuration and use-case. In particular, note that starting an sclang server via sclang-start might result in issues, due to the command-line options -iscel being hard-coded in sclang-interp.el.

To make scel available in Emacs:

CODE
(add-to-list 'load-path "/usr/share/emacs/site-lisp/SuperCollider/")
(require 'sclang)