1 -*-text-*---------------------------------------------------------------
2 supercollider 3 for linux
3 ------------------------------------------------------------------------
5 ------------------------------------------------------------------------
7 ------------------------------------------------------------------------
9 SuperCollider is a synthesis engine (scsynth) and programming language
10 (sclang), originally Mac-based but now very widely used on Linux
11 (since Stefan Kersten ported the code in 2003). SuperCollider is free
12 software under the GPL - its main homepage is at
14 http://supercollider.sourceforge.net
16 to get further information on supercollider usage or development, you
17 might consider subscribing to the mailing lists
19 http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
21 ------------------------------------------------------------------------
23 (most of these will be available in your linux distribution as packages )
24 ------------------------------------------------------------------------
27 http://www.gnu.org/software/gcc/
28 gcc versions < 3.0 are missing some required c++ features
31 http://jackit.sourceforge.net/
32 jack audio connection kit
35 http://www.mega-nerd.com/libsndfile/
36 _the_ soundfile i/o library
38 * pkg-config >= 0.14.0
39 http://www.freedesktop.org/software/pkgconfig/
40 facilitates checking for installed packages when compiling from
45 cross-platform build system
49 fast FFT transform library (for frequency-domain analysis,
50 phase-vocoder effects)
57 http://www.icu-project.org/
60 ------------------------------------------------------------------------
61 build requirements (optional features)
62 (most of these will be available in your linux distribution as packages )
63 ------------------------------------------------------------------------
65 * qt >= 4.5 (+ qtwebkit)
67 cross-platform graphical user interface library, for sclang's GUI
71 http://www.alsa-project.org/
72 advanced linux sound architecture drivers and library, for sclang's
76 http://savannah.gnu.org/projects/readline
77 provides convenient CLI interface for sclang
81 a more powerful zeroconf service discovery implementation
84 http://abstrakraft.org/cwiid/
85 library for wiimote support
88 http://www.kernel.org/
89 for sclang's linux input device (LID) interface
91 * for scel: the Emacs interface see the README in the directory
94 * for sced: the gedit interface see the README in the directory
97 * for scvim: the vim interface see the README in the directory
101 ------------------------------------------------------------------------
102 build requirements (debian users)
103 ------------------------------------------------------------------------
105 on debian (unstable) you can install the following packages and be set
106 for building supercollider:
111 libjack-dev or libjack-jackd2-dev
119 libcwiid-dev (for wiimote support)
122 subversion (required by the Quarks class at run-time)
124 ------------------------------------------------------------------------
126 ------------------------------------------------------------------------
128 to build supercollider with cmake, it is suggested to do out-of-tree
129 builds in a specific build directory:
135 to run the build process run:
138 the build process can be configured using the cmake program, cmake
139 frontends like ccmake or cmake-gui, or by simply editing the
140 build/CMakeCache.txt file.
142 for example to enable a release build run the following in your build
144 cmake -DCMAKE_BUILD_TYPE=Release ..
146 to install the whole program, run:
149 for the above step you will probably need super-user privileges,
152 also, please run "sudo ldconfig" after installing for the first time.
160 By default the experimental Qt GUI support will be built into sclang.
161 If you want to build without it configure cmake like this:
165 ------------------------------------------------------------------------
166 Building a Debian package
167 ------------------------------------------------------------------------
169 The most up-to-date debian packaging rules are maintained by the
170 Debian Multimedia team. Repository (with debian/ folder):
172 http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary
174 At time of writing they support 3.4.x, but we expect updates once 3.5
177 ------------------------------------------------------------------------
178 running scsynth (standalone)
179 ------------------------------------------------------------------------
181 run scsynth without options to get an option summary. don't forget to
182 start jackd before trying to use scsynth. if you want to add
183 directories to supercollider's search path or assign default jack
184 ports, set up your environment as described below.
186 you can specify the number of jack input/output channels created with
187 the options -i and -o, respectively.
189 the -H option can be used to specify a jack server to connect to and
190 to set the jack client identifier. the format is either
192 <SERVER-NAME>:<CLIENT-NAME>
198 when connecting to the default server.
200 ------------------------------------------------------------------------
202 ------------------------------------------------------------------------
204 it is recommended to use sclang in combination with your preferred text
205 editor out of emacs/vim/gedit. see the README files in `linux/*' for
206 installation and usage. as an alternative you can simply run the
207 `sclang' executable which will provide a readline-based interface.
209 sclang executes the startup file `~/.config/SuperCollider/startup.scd' after class library
210 initialization. this file can contain statements to set up your
211 supercollider environment, like setting default variables. an example can
212 be found in `linux/examples/sclang.sc'.
214 you _have_ to have a directory `~/.local/share/SuperCollider/'. This is where
215 automatically a synthdefs directory is created. It is also the place
216 to put Extensions to the class library, in a folder called Extensions.
218 the runtime directory is either the current working directory or the
219 path specified with the `-d' option.
221 for advanced setups, sclang's compilation search path can be
222 customized with a library configuration file. an example is provided
223 in `linux/examples/sclang.cfg'; install it as `/etc/sclang.cfg' or
224 `~/.config/SuperCollider/sclang.cfg'. This config file is only needed when you want to
225 _exclude_ directories from the class library. Otherwise (so in most cases)
228 ------------------------------------------------------------------------
230 ------------------------------------------------------------------------
232 the jack audio driver interface is configured based on various
233 environment variables:
235 * SC_JACK_DEFAULT_INPUTS comma separated list of jack ports that
236 scsynth's inputs should connect to by default
238 $ export SC_JACK_DEFAULT_INPUTS="system:capture_1,system:capture_2"
240 in order to connect the first ports of one jack client, it is possible
241 to specify only the client name
243 $ export SC_JACK_DEFAULT_INPUTS="system"
245 * SC_JACK_DEFAULT_OUTPUTS comma separated list of jack ports that
246 scsynth's outputs should be connected to by default.
248 $ export SC_JACK_DEFAULT_OUTPUTS="system:playback_1,system:playback_2"
250 in order to connect the first ports of one jack client, it is possible
251 to specify only the client name
253 $ export SC_JACK_DEFAULT_OUTPUTS="system"
255 two additional environment variables substitute directories for the default
256 search path for plugins and synth definitions, respectively. directory
257 names are separated by ':' as in the unix PATH variable:
259 * SC_PLUGIN_PATH, SC_SYNTHDEF_PATH
261 $ export SC_SYNTHDEF_PATH="./synthdefs:/home/sk/SuperCollider/synthdefs"
263 ------------------------------------------------------------------------
265 ------------------------------------------------------------------------
267 apart from the sites listed above, some more documentation links ...
269 a wiki for supercollider, set up by julian rohrhuber, is at
271 http://swiki.hfbk-hamburg.de/MusicTechnology/6
273 linux specific information can be found at
275 http://swiki.hfbk-hamburg.de/MusicTechnology/478
277 ------------------------------------------------------------------------
279 ------------------------------------------------------------------------
281 please report bugs either to the sc-users or sc-dev mailing lists.
283 ------------------------------------------------------------------------
284 contributors to this document
285 ------------------------------------------------------------------------
287 stefan kersten <sk AT k-hornz DOT de>
289 maurizio umberto puxeddu
293 nescivi (marije baalman)
297 ------------------------------------------------------------------------
299 ------------------------------------------------------------------------
301 thanks to james mccartney, for making this great piece of audio
302 software publically and freely available.
304 ------------------------------------------------------------------------
306 ------------------------------------------------------------------------