Skip to content
This repository
branch: topic/qimage
Fetching contributors…

Cannot retrieve contributors at this time

file 299 lines (215 sloc) 9.596 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
-*-text-*---------------------------------------------------------------
supercollider 3 for linux
------------------------------------------------------------------------

------------------------------------------------------------------------
intro
------------------------------------------------------------------------

SuperCollider is a synthesis engine (scsynth) and programming language
(sclang), originally Mac-based but now very widely used on Linux
(since Stefan Kersten ported the code in 2003). SuperCollider is free
software under the GPL - its main homepage is at

   http://supercollider.sourceforge.net

to get further information on supercollider usage or development, you
might consider subscribing to the mailing lists

  http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml

------------------------------------------------------------------------
build requirements
(most of these will be available in your linux distribution as packages )
------------------------------------------------------------------------

 * gcc >= 3.0
   http://www.gnu.org/software/gcc/
   gcc versions < 3.0 are missing some required c++ features

 * jack and libjack
   http://jackit.sourceforge.net/
   jack audio connection kit

 * libsndfile >= 1.0
   http://www.mega-nerd.com/libsndfile/
   _the_ soundfile i/o library

 * pkg-config >= 0.14.0
   http://www.freedesktop.org/software/pkgconfig/
   facilitates checking for installed packages when compiling from
   source

 * cmake >= 2.8
   http://www.cmake.org/
   cross-platform build system

 * fftw >= 3.0
   http://www.fftw.org/
   fast FFT transform library (for frequency-domain analysis,
                                        phase-vocoder effects)

 * libxt
   http://www.X.org/
   X toolkit intrinsics

 * libicu
   http://www.icu-project.org/
   unicode libraries

------------------------------------------------------------------------
build requirements (optional features)
(most of these will be available in your linux distribution as packages )
------------------------------------------------------------------------

 * Qt >= 4.7 (+ qtwebkit)
   http://qt-project.org/
   cross-platform graphical user interface library, for Qt IDE and
   sclang's Qt GUI kit

 * alsa
   http://www.alsa-project.org/
   advanced linux sound architecture drivers and library, for sclang's
   MIDI interface

 * libreadline >= 5
   http://savannah.gnu.org/projects/readline
   provides convenient CLI interface for sclang

 * libavahi-client
   http://www.avahi.org/
   a more powerful zeroconf service discovery implementation

 * libcwiid
   http://abstrakraft.org/cwiid/
   library for wiimote support

 * linux kernel >= 2.6
   http://www.kernel.org/
   for sclang's linux input device (LID) interface

 * for scel: the Emacs interface see the README in the directory
   `editors/scel'

 * for sced: the gedit interface see the README in the directory
   `editors/sced'

 * for scvim: the vim interface see the README in the directory
   `editors/scvim'


------------------------------------------------------------------------
build requirements (debian users)
------------------------------------------------------------------------

on debian (unstable) you can install the following packages and be set
for building supercollider:

   build-essential
   libqt4-dev
   libqtwebkit-dev
   libjack-dev or libjack-jackd2-dev
   libsndfile1-dev
   libasound2-dev
   libavahi-client-dev
   libicu-dev
   libreadline6-dev
   libfftw3-dev
   libxt-dev
   libcwiid-dev (for wiimote support)
   pkg-config
   cmake
   subversion (required by the Quarks class at run-time)

------------------------------------------------------------------------
building
------------------------------------------------------------------------

to build supercollider with cmake, it is suggested to do out-of-tree
builds in a specific build directory:

mkdir build
cd build
cmake ..

to run the build process run:
make

the build process can be configured using the cmake program, cmake
frontends like ccmake or cmake-gui, or by simply editing the
build/CMakeCache.txt file.

for example to enable a release build run the following in your build
directory:
cmake -DCMAKE_BUILD_TYPE=Release ..

to install the whole program, run:
make install

for the above step you will probably need super-user privileges,
e.g. using "sudo".

also, please run "sudo ldconfig" after installing for the first time.

to uninstall:
make uninstall

Qt GUI:
-------

By default the experimental Qt GUI support will be built into sclang.
If you want to build without it configure cmake like this:

        cmake -DSC_QT=OFF ..

------------------------------------------------------------------------
Building a Debian package
------------------------------------------------------------------------

The most up-to-date debian packaging rules are maintained by the
Debian Multimedia team. Repository (with debian/ folder):

  http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary

At time of writing they support 3.4.x, but we expect updates once 3.5
is available.

------------------------------------------------------------------------
running scsynth (standalone)
------------------------------------------------------------------------

run scsynth without options to get an option summary. don't forget to
start jackd before trying to use scsynth. if you want to add
directories to supercollider's search path or assign default jack
ports, set up your environment as described below.

you can specify the number of jack input/output channels created with
the options -i and -o, respectively.

the -H option can be used to specify a jack server to connect to and
to set the jack client identifier. the format is either

    <SERVER-NAME>:<CLIENT-NAME>

or just

    <CLIENT-NAME>

when connecting to the default server.

------------------------------------------------------------------------
running sclang
------------------------------------------------------------------------

it is recommended to use sclang in combination with your preferred text
editor out of emacs/vim/gedit. see the README files in `linux/*' for
installation and usage. as an alternative you can simply run the
`sclang' executable which will provide a readline-based interface.

sclang executes the startup file `~/.config/SuperCollider/startup.scd' after class library
initialization. this file can contain statements to set up your
supercollider environment, like setting default variables. an example can
be found in `linux/examples/sclang.sc'.

you _have_ to have a directory `~/.local/share/SuperCollider/'. This is where
automatically a synthdefs directory is created. It is also the place
to put Extensions to the class library, in a folder called Extensions.

the runtime directory is either the current working directory or the
path specified with the `-d' option.

------------------------------------------------------------------------
environment
------------------------------------------------------------------------

the jack audio driver interface is configured based on various
environment variables:

 * SC_JACK_DEFAULT_INPUTS comma separated list of jack ports that
   scsynth's inputs should connect to by default

   $ export SC_JACK_DEFAULT_INPUTS="system:capture_1,system:capture_2"

   in order to connect the first ports of one jack client, it is possible
   to specify only the client name

   $ export SC_JACK_DEFAULT_INPUTS="system"

 * SC_JACK_DEFAULT_OUTPUTS comma separated list of jack ports that
   scsynth's outputs should be connected to by default.

   $ export SC_JACK_DEFAULT_OUTPUTS="system:playback_1,system:playback_2"

   in order to connect the first ports of one jack client, it is possible
   to specify only the client name

   $ export SC_JACK_DEFAULT_OUTPUTS="system"

two additional environment variables substitute directories for the default
search path for plugins and synth definitions, respectively. directory
names are separated by ':' as in the unix PATH variable:

 * SC_PLUGIN_PATH, SC_SYNTHDEF_PATH

   $ export SC_SYNTHDEF_PATH="./synthdefs:/home/sk/SuperCollider/synthdefs"

------------------------------------------------------------------------
documentation
------------------------------------------------------------------------

apart from the sites listed above, some more documentation links ...

a wiki for supercollider, set up by julian rohrhuber, is at

    http://swiki.hfbk-hamburg.de/MusicTechnology/6

linux specific information can be found at

    http://swiki.hfbk-hamburg.de/MusicTechnology/478

------------------------------------------------------------------------
reporting bugs
------------------------------------------------------------------------

please report bugs either to the sc-users or sc-dev mailing lists.

------------------------------------------------------------------------
contributors to this document
------------------------------------------------------------------------

stefan kersten <sk AT k-hornz DOT de>
andi pieper
maurizio umberto puxeddu
rohan drape
mario lang
john yates
nescivi (marije baalman)
dan stowell
tim blechmann

------------------------------------------------------------------------
outro
------------------------------------------------------------------------

thanks to james mccartney, for making this great piece of audio
software publically and freely available.

------------------------------------------------------------------------
eof
------------------------------------------------------------------------
Something went wrong with that request. Please try again.