>SuperCollider
Extensions
SuperCollider is able to add remove various extensions by using so-called Quarks. All my Extensions are located in the Quarks package and may be catched up there. The >Sourceforge SuperCollider page has a >list of all Quarks currently available. For installation of Quarks see the >Quarks helpfile.A selection:
- JInT
- Just InTerface lib for easy interfacing to various HCI devices
- TUIO
- Tangible User Interface Object (SETO) library.
- Turtle
- A small turtle implementation
- lfsaw.de
- Various Language additions
Code
Graphics
Schön
Thoughts on Beauty
Grafer
Do you know these little drawing-boards with two knobs to control a pen?
Font
LFSaw Font.
Plain Example Code
s.boot;
x = {SinOsc.ar}.play;
x.free;
JITLib Example
A simple one:
p = ProxySpace.push(s);
s.boot;
~toll = SinOsc.ar(257);
~toll.play;
A more complex one:
p = ProxySpace.push(s);
s.boot;
~toll = SinOsc.ar(257);
~toll.play;
~toll.fadeTime = 5;
~toll = {RLPF.ar(WhiteNoise.ar, 400)};
A nice one:
// ( p = ProxySpace.new(s).push; )
p.clock = TempoClock.default;
(
~arhu = {|freq, dur|
Splay.ar(
LFSaw.ar(XLine.kr([1, 4, 2]*freq, [0.2, 0.4, 0.6]*freq, 0.5*dur))
*
EnvGen.kr(Env.perc(0.001, dur-0.0001), doneAction: 2)
)
};
);
~arhu.play;
~arhu.vol = 0.3;
(
~loco = {|modFreq = 10|
SinOsc.ar(Saw.ar(modFreq.lag(20)).lag(0.01).exprange(10, 1000))!2
};
);
~loco.set('modFreq', 10.312);
~gne = {SinOsc.ar(~lfmod.kr)!2};
~lfmod = 30;
~lfmod.set('fadeTime', 10);
~lfmod = 300;
~arhu.play;
~gne.play;
~loco.play;
Tdef(\player).clock = TempoClock.default;
Tdef(\player, {loop{
~arhu.spawn([\freq, exprand(500, 10000), \dur, exprand(1, 0.1)]);
([0.25, 0.1, 0.5]*0.2).choose.wait;
}})
Tdef(\player).play
Tdef(\player).stop