///////////////////////////////////////////////////
// History, as it was on Fri Aug 11 20:54:14 2006.
///////////////////////////////////////////////////

// - 0:0:0 -  
// ok, this is a session with prepared code
p = ProxySpace.push(s.boot);

// - 0:0:5.58 -  
~x.ar; ~y.ar; ~listen.ar; ~z.ar;

// - 0:0:9.44 -  
q = ();

// - 0:0:11.78 -  
(
q.use {
	~hg = { |e, x=0, y=0| sin(x) * sin(y) };
	~fe = { |e, x=0, y=0, c=0.5| blend(x, y, c) };
	~am = { |e, x=0, y=0| (x * y).atan };
}
);

// - 0:0:17.84 -  
(
~x = {
	
	SinOsc.ar(440, BrownNoise.ar(0.1 ! 2))

}
);

// - 0:0:19.37 -  
(
~y = {
	
	Pulse.ar([30, 34] * 0.2).lag(0.01)
}
);

// - 0:0:25.62 -  
(
~z = {
	K2A.ar(MouseX.kr(0, 1) ! 2)
}
);

// - 0:0:27.63 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~x.ar, ~z.ar);
	a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:0:42.84 -  
// start..

// - 0:0:46.02 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~x.ar, ~z.ar);
	a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:0:55.21 -  
p.fadeTime = 10;

// - 0:0:56.7 -  
~listen.play;

// - 0:1:8.28 -  
(
~y = {
	
	Pulse.ar([30, 1] * 0.2).lag(0.01)
}
);

// - 0:1:14.47 -  
(
~x = {
	
	SinOsc.ar(420, BrownNoise.ar(0.1 ! 2))

}
);

// - 0:1:21.18 -  
(
~x = {
	
	SinOsc.ar(420, BrownNoise.ar(0.2 ! 2))

}
);

// - 0:1:27.86 -  
(
q.use {
	~hg = { |e, x=0, y=0| sin(x) + sin(y) };
	~fe = { |e, x=0, y=0, c=0.5| blend(x, y, c) };
	~am = { |e, x=0, y=0| (x * y).atan };
}
);

// - 0:1:29.81 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~x.ar, ~z.ar);
	a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:1:57.59 -  
(
~z = {
	LFTri.ar([0.1, 0.12])
}
);

// - 0:2:7.99 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~x.ar, ~z.ar);
	//a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:2:14.59 -  
(
~y = {
	
	Pulse.ar([30, 1].reverse * 0.2).lag(0.01)
}
);

// - 0:2:23.56 -  
(
~y = {
	
	Pulse.ar([30, 1].reverse * 0.2).lag(0.02)
}
);

// - 0:2:31.71 -  
(
~y = {
	
	Pulse.ar([30, 1] * 0.1).lag(0.02)
}
);

// - 0:2:41.31 -  
(
~y = {
	
	Pulse.ar([30, 2] * 0.1).lag(0.02)
}
);

// - 0:2:56.74 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~z.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	//a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:3:5.18 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	//a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:3:10.21 -  
(
~x = {
	
	SinOsc.ar(220, BrownNoise.ar(0.2 ! 2))

}
);

// - 0:3:13.71 -  
(
~x = {
	
	SinOsc.ar(220, BrownNoise.ar(0.4 ! 2))

}
);

// - 0:3:27.17 -  
(
~x = {
	
	SinOsc.ar(220, BrownNoise.ar(~z.ar))

}
);

// - 0:3:38.17 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a * 0.1
	
}
);

// - 0:4:5.3 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 10, 7000, 0.01);
	a * 0.1
	
}
);

// - 0:4:42.37 -  
~rate.ar;

// - 0:4:49.25 -  
~rate = [30, 2];

// - 0:4:57.03 -  
(
~y = {
	
	Pulse.ar(~rate.ar * 0.1).lag(0.02)
}
);

// - 0:5:47.28 -  
(
~z = {
	LFTri.ar([0.1, 0.12])
}
);

~rate = {
	q.hg(~z.ar, ~listen.ar) * 5 + 10
};

// - 0:6:4.2 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 10, 2000, 0.01);
	a * 0.1
	
}
);

// - 0:6:45.84 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 10, [2000, 2340, 2430, 3240], 0.01).clump(2).sum;
	a * 0.1
	
}
);

// - 0:6:53.64 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 5 + 10
}
);

// - 0:7:0.2 -  
(
q.use {
	~hg = { |e, x=0, y=0| sin(x) * sin(y) };
	~fe = { |e, x=0, y=0, c=0.5| blend(x, y, c) };
	~am = { |e, x=0, y=0| (x * y).atan };
}
);

// - 0:7:6.05 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 10, [2000, 2340, 2430, 3240], 0.01).clump(2).sum;
	a * 0.1
	
}
);

// - 0:7:8.15 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 5 + 10
}
);

// - 0:7:21.97 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 15 + 10
}
);

// - 0:7:31.86 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 150 + 10
}
);

// - 0:7:42.14 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 1050 + 10
}
);

// - 0:7:53.86 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 10050 + 10
}
);

// - 0:8:1.64 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 10, [2000, 2340, 2430, 3240] * 0.333, 0.01).clump(2).sum;
	a * 0.1
	
}
);

// - 0:8:7.68 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 20050 + 10
}
);

// - 0:8:19.71 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = a * q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 5, [2000, 2340, 2430, 3240] * 0.333, 0.03).clump(2).sum;
	a * 0.1
	
}
);

// - 0:8:29.04 -  
(
~x = {
	
	SinOsc.ar(220, BrownNoise.ar(~z.ar.reverse))

}
);

// - 0:8:36.27 -  
(
~x = {
	
	SinOsc.ar(2020, BrownNoise.ar(~z.ar.reverse))

}
);

// - 0:8:58.58 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 5, [2000, 2340, 2430, 3240] * 0.333, 0.03).clump(2).sum;
	a * 0.1
	
}
);

// - 0:9:12.54 -  
(
~y = {
	
	Pulse.ar(~rate.ar).lag(0.02)
}
);

// - 0:9:36.86 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 5, [2000, 2340, 2430, 3240] * 0.333, 0.03).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1
	
}
);

// - 0:10:15.02 -  
(
q.use {
	~hg = { |e, x=0, y=0| sin(x) + sin(y * x) };
	~fe = { |e, x=0, y=0, c=0.5| blend(x, y, c) };
	~am = { |e, x=0, y=0| (x - y).atan };
}
);

// - 0:10:22.01 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 5, [2000, 2340, 2430, 3240] * 0.333, 0.03).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1
	
}
);

// - 0:10:23.67 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 20050 + 10
}
);

// - 0:10:42.39 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a * 5, [2000, 2340, 2430, 3240] * 0.333, 0.03).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:10:55.62 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:11:4.92 -  
(
~x = {
	
	SinOsc.ar(80, BrownNoise.ar(~z.ar.reverse))

}
);

// - 0:11:9.69 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 2050 + 10
}
);

// - 0:11:19.46 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 250 + 10
}
);

// - 0:11:31.65 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 25 + 10
}
);

// - 0:11:38.38 -  
(
~z = {
	LFTri.ar([0.1, 0.12] * 1.3)
}
);

// - 0:11:44.61 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar * 10) * 2 + 3
}
);

// - 0:11:53.29 -  
(
~rate = {
	q.hg(~z.ar, ~listen.ar) * 2 + 3
}
);

// - 0:12:9.69 -  
(
~x = {
	
	SinOsc.ar(80, BrownNoise.ar(Line.kr(1, 0, 10)))

}
);

// - 0:12:28.86 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	//a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:12:32.18 -  
(
~x = {
	
	SinOsc.ar(80, BrownNoise.ar(Line.kr(1, 0, 10)))

}
);

// - 0:13:2.1 -  
(
~x = {
	
	SinOsc.ar(50, BrownNoise.ar(Line.kr(1, 0, 10)))

}
);

// - 0:13:10.74 -  
// more electricity

// - 0:13:23.91 -  
~e.play;

// - 0:13:57.87 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.001, Pulse.ar(9000)) };

// - 0:14:5.52 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.001, Pulse.ar(9000)) * 0.3 };

// - 0:14:10.66 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.01, Pulse.ar(9000)) * 0.3 };

// - 0:14:14.47 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.01, Pulse.ar(9000)) * 0.1 };

// - 0:14:32.41 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.01, Pulse.ar([9000, 11000]).sum) * 0.1 };

// - 0:14:41.24 -  
~rate = [30, 2];

// - 0:14:54.01 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.01, SinOsc.ar([9000, 11000]).sum) * 0.1 };

// - 0:14:58.22 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.03, SinOsc.ar([9000, 11000]).sum) * 0.1 };

// - 0:15:0.94 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.05, SinOsc.ar([9000, 11000]).sum) * 0.1 };

// - 0:15:3.92 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.06, SinOsc.ar([9000, 11000]).sum) * 0.1 };

// - 0:15:39.36 -  
Tdef(\fader, { loop {¬†rrand(0.2, 10).wait; p.fadeTime = rrand(1, 10.0) } }).play;

// - 0:16:13.03 -  
(
~y = {
	
	SinOsc.ar(~rate.ar).lag(0.02)
}
);

// - 0:16:17.77 -  
(
~x = {
	
	SinOsc.ar(100, BrownNoise.ar(Line.kr(1, 0, 10)))

}
);

// - 0:16:28.45 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
//	a = q.fe(a, ~z.ar, ~x.ar);
//	a = q.am(a, ~y.ar);
	//a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:16:34.36 -  
~e = { Decay.ar(Dust.ar(5 ! 2), 0.006, SinOsc.ar([9000, 11000]).sum) * 0.1 };

// - 0:16:47.49 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.006, SinOsc.ar([9000, 11000]).sum) * 0.01 };

// - 0:16:57.54 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.006, SinOsc.ar([9000, 11000] / 10).sum) * 0.01 };

// - 0:17:9.79 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.006, SinOsc.ar([50, 100]).sum) * 0.01 };

// - 0:17:23.36 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.06, SinOsc.ar([50, 100]).sum) * 0.01 };

// - 0:17:27.22 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.06, SinOsc.ar([50, 100, 200]).sum) * 0.01 };

// - 0:17:37.17 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.2, SinOsc.ar([50, 100, 200]).sum) * 0.01 };

// - 0:17:41.78 -  
~e = { Decay.ar(Dust.ar(5000 ! 2), 0.2, SinOsc.ar([50, 100, 200]).sum) * 0.001 };

// - 0:18:30.08 -  
Pdef(\x, Pbind(\freq, Pseq([1, 0, 2, 3], inf) + 50)).play;

// - 0:19:13.29 -  
Pdef(\y, Pbind(\freq, 50 * Pseq([8, 16], inf), \sustain, 0.01)).play;

// - 0:19:34.33 -  
Pdef(\y, Pbind(\freq, 50 * Pseq([8, 16, 32, 16], inf), \sustain, 0.01, \amp, 0.04)).play;

// - 0:19:41.17 -  
Pdef(\y, Pbind(\freq, 50 * Pseq([8, 16, 32, 16], inf), \sustain, 0.01, \amp, 0.04)).play;

// - 0:19:42.9 -  
Pdef(\x, Pbind(\freq, Pseq([1, 0, 2, 3], inf) + 50)).play;

// - 0:19:45.18 -  
Pdef(\y, Pbind(\freq, 50 * Pseq([8, 16, 32, 16], inf), \sustain, 0.01, \amp, 0.04)).play;

// - 0:19:56.91 -  
Pdef(\x).stop;

// - 0:20:1.61 -  
Pdef(\y);

// - 0:20:5.15 -  
Pdef(\y).stop;

// - 0:20:12.6 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	//a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:20:33.33 -  
(
~x = Pdef(\x);
~y = Pdef(\y);
);

// - 0:20:51.57 -  
~e.end(30);

// - 0:20:58.48 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:21:5.79 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	//a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:21:21.65 -  
Pdef(\x, Pbind(\freq, Pseq([1, 0, 2, 3], inf) + 50, \amp, 1))

// - 0:21:28.67 -  
Pdef(\y, Pbind(\freq, 50 * Pseq([8, 16, 32, 16], inf), \sustain, 0.01, \amp, 1));

// - 0:21:36.19 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:22:2.79 -  
(
q.use {
	~hg = { |e, x=0, y=0| sin(x) / sin(y * x) };
	~fe = { |e, x=0, y=0, c=0.5| blend(x * y, y, c) };
	~am = { |e, x=0, y=0| (x - y).atan };
}
);

// - 0:22:5.25 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.3).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:22:13.91 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.13).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:22:25.36 -  
(
q.use {
	~hg = { |e, x=0, y=0| sin(x) / sin(y * x) };
	~fe = { |e, x=0, y=0, c=0.5| blend(x, y, c) };
	~am = { |e, x=0, y=0| (x - y).atan };
}
);

// - 0:22:27.72 -  
(
~listen = {
	var a;
	a = q.hg(~x.ar, ~y.ar);
	a = q.fe(a, ~z.ar, ~x.ar);
	a = q.am(a, ~y.ar);
	a = BPF.ar(a, [2000, 2340, 2430, 3240] * 0.333, 0.13).clump(2).sum;
	Rotate2.ar(a[1], a[0], LFNoise2.kr(0.1)) * 0.1 * ~z.ar
	
}
);

// - 0:22:36.83 -  
(
~y = {
	
	SinOsc.ar(~rate.ar).lag(0.02)
}
);

// - 0:22:48.59 -  
Pdef(\y, Pbind(\freq, 50 * Pseq([8, 16, 32, 16], inf), \sustain, 0.01, \amp, 1));

// - 0:23:9.87 -  
(
~y = {
	
	SinOsc.ar(~rate.ar).lag(0.02)
}
);

(
~z = {
	K2A.ar(MouseX.kr(0, 1) ! 2)
}
);

// - 0:23:19.65 -  
(
~x = {
	
	SinOsc.ar(1000, BrownNoise.ar(Line.kr(1, 0, 10)))

}
);

// - 0:23:36.73 -  
p.clear;

// - 0:23:45.72 -  
p.clear.pop;