home - plugins - tutorials - showcase - history - manual - design
supercollider pluginplugin for SuperCollider real-time audio synthesis and algorithmic composition environment
supercollider plugin can execute SuperCollider programming
language through the sclang client
example (SuperCollider sine wave synth)
#!supercollider
SynthDef("osc", {
arg freq;
Out.ar([0,1], SinOsc.ar(freq, 0, 0.25));
}).add;
x = Synth("osc", ["freq", 420]);
x.set("freq", 280);
x.free;
the dublang supercollider service can run some boot
files automatically when the supercollider service is
started
those boot files are useful to run SuperCollider code usually needed
by other plugins, such as SuperDirt.start() required by the
tidalcycles or sardine, or the
FoxDot.start() required by foxdot
currently on dublang version 0.6.0 there are the following boot files
for supercollider
supercollider plugin define some lua functions for
common cases such as loading SuperDirt samples, as those
are lua functions it must be executed under #!dublang
region
example (loading sounds from "./samples/*")
#!dublang
supercollider():samples()
samples([path]) - load SuperDirt sound samples to use
with Tidal Cycleshome - plugins - tutorials - showcase - history - manual - design