Programmiersprachen für Audio, Proseminar Medienverarbeitung I - Audio, WS.99/00, Stefan Reich, Oliver Leistert.

[Teil II: Spezielle Audio-Programmiersprachen]

Supercollider-Beispiele (2)


"Hell is busy"
var n = 8; // number of simultaneous events
{
	OverlapTexture.ar({
		Pan2.ar(
			FSinOsc.ar(400+2000.0.rand,
			    LFPulse.kr(1+10.0.rand, 0.7.rand, 0.04)),
		1.0.rand2)
	}, 4, 4, n, 2)
}.play
"Birdies"
{
    var n = 4;		// number of simultaneous events
    OverlapTexture.ar({
        Pan2.ar(SinOsc.ar(
            Lag.kr(LFSaw.kr(
                LFPulse.kr(0.4+1.0.rand, 0.8.rand+0.1, 3.0.rand+4, 2)
                +LFPulse.kr(0.4+1.0.rand, 0.8.rand+0.1, 3.0.rand+4),
                (1000 + 800.rand).neg, 4000+1200.rand2), 0.05),
            0, Lag.kr(LFPulse.kr(0.5.rand+0.2, 0.4, 0.02), 0.3)), 1.0.rand2);
    }, 7, 4, n, 2)
}.play
 zurück 
 weiter