From Noisebridge
Revision as of 20:23, 24 March 2016 by SteeleNivenson (talk | contribs) (what sc does)
Jump to: navigation, search


Supercollider (SC) operates in the same vein as the bytebeat project but at a higher level. The computer music workstation has SC installed.

Example code

The following is an algorithmic composition in the SC language by Fredrik Olofsson, published on Twitter. It must be executed in the SC virtual machine.


This is not a limitation of the language though. It can be written in a much more expressive way, and lends itself to livecoding as a performative activity.

For example, the following creates a synth definition, followed by four instances of that synth with different parameters. Each code block can be executed as a piece, and the engine runs the code blocks in realtime.

// Define a single synth that takes parameters"impulse-sinefunc", { |
	impulseLFO = 0.49,
	panPos = 0.5,
	lfoRange = 833,
	sinFreq = 435 |,,0.33,1,impulseLFO),

// mess around with these four starting at different times
x ="impulse-sinefunc",[\impulseLFO,5.5,\panPos, 0.2, \sinFreq, 457]);;
y ="impulse-sinefunc", [\impulseLFO,5, \panPos, 0.7]);;
z ="impulse-sinefunc", [\impulseLFO,4, \panPos, 0.3,\sinFreq, 488]);;
a ="impulse-sinefunc", [\impulseLFO,4.2, \panPos, 0.8,\sinFreq, 444]);;