View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

woodworks

//your custom cupboard
(
play({
	var exc, freq1, freq2, dfreq, amp;
	
	freq1 = Plug.kr(0);
	dfreq = Plug.kr(50);
	amp = Plug.kr(0);
	
	Task({
		1.wait;
		amp.line(1, 3);
		freq1.line(1500, 3);
		5.wait;
		
		rrand(4, 6).do({
			var dt;
			wait(rrand(1.0, 4.0));
			dt = rrand(0.2, 2.0);
			freq1.line(1200 + 200.rand2, dt);
			dfreq.source = 1080 + 1000.0.rand;
			dt.wait;
			freq1.line(1500, 0.2 + 0.1.rand2);
			dfreq.source = 10;
		});
		2.wait;
		freq1.line(0, 10);
		amp.line(0, 10);
	
	});
	
	freq2 = MouseX.kr(1, 2000);
	exc = Impulse.ar(freq1) + Dust2.ar([dfreq, dfreq]) + WhiteNoise.ar([0.1, 0.1]);
	
	CombA.ar(exc, 0.0018, 0.5, 15) * 0.1 * amp + SinOsc.ar(freq1/10+100, 0, 0.05)


})
)
**
/*
authors so far:
jrh
*/
//sc2













Links to this Page