///////////////////////////////////////////////////
// History, as it was on Thu Aug 24 21:36:36 2006.
///////////////////////////////////////////////////

// - 0:0:0 -  
//droning on

// - 0:0:13.34 -  
~b = Buffer.alloc(s, 512, 1);

// - 0:0:13.86 -  
~b.sine1(1.0/[1,2,3,4,5,6], true, true, true);

// - 0:1:7.25 -  
~b2 = Buffer.alloc(s, 512, 1, {arg buf; buf.chebyMsg([1,0,1,1,0,1])});

// - 0:1:28.76 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, bufnum1, bufnum2; 
var sound; //, env;

//env=EnvGen.ar(Env([1,0],[sustain],'lin'),doneAction:2);

sound=Shaper.ar(bufnum2, Osc.ar(bufnum1, 200, 0, 0.5),amp);

Out.ar(out, Pan2.ar(sound,pan))
}).store;

// - 0:2:8.06 -  
~b1 = Buffer.alloc(s, 512, 1);

// - 0:2:9.27 -  
~b1.sine1(1.0/[1,2,3,4,5,6], true, true, true);

// - 0:2:13.15 -  
~s1=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:2:41.52 -  
~b1.sine1(1.0/[1,2,3,2,5,2], true, true, true);

// - 0:2:50.73 -  
~b2 = Buffer.alloc(s, 512, 1, {arg buf; buf.chebyMsg([1,0,1,1,0,1,1,0,1])});

// - 0:3:34.43 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, bufnum1, bufnum2, lagtime=0.01; 
var sound; //, env;

//env=EnvGen.ar(Env([1,0],[sustain],'lin'),doneAction:2);

sound=Shaper.ar(bufnum2, Osc.ar(bufnum1, 200, 0, 0.5),amp.lag(0.01));

Out.ar(out, Pan2.ar(sound,pan))
}).store;

// - 0:3:36.36 -  
~s1.free	

// - 0:3:37.14 -  
~s1=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:3:49.8 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.01,0.5));
1.0.wait;
};

}).play;

// - 0:4:2.08 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.01,0.5));
0.1.wait;
};

}).play;

// - 0:4:24.44 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, bufnum1, bufnum2, lagtime=0.01; 
var sound; //, env;

//env=EnvGen.ar(Env([1,0],[sustain],'lin'),doneAction:2);

sound=Shaper.ar(bufnum2, Osc.ar(bufnum1, freq, 0, 1),amp.lag(0.1));

Out.ar(out, Pan2.ar(sound,pan))
}).store;

// - 0:4:25.52 -  
~s1.free	

// - 0:4:26.26 -  
~s1=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:4:50.83 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.01,0.5), \freq, exprand(50,190).round(20));
0.1.wait;
};

}).play;

// - 0:5:19.51 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.01,0.5), \freq, exprand(50,190).round(20));
rrand(0.1,1.3).wait;
};

}).play;

// - 0:5:33.73 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, bufnum1, bufnum2, lagtime=0.01; 
var sound; //, env;

//env=EnvGen.ar(Env([1,0],[sustain],'lin'),doneAction:2);

sound=Shaper.ar(bufnum2, Osc.ar(bufnum1, freq.lag(0.3), 0, 1),amp.lag(0.3));

Out.ar(out, Pan2.ar(sound,pan))
}).store;

// - 0:5:35.26 -  
~s1.free	

// - 0:5:35.95 -  
~s1=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:6:1.49 -  
~s2=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:6:11.15 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.01,0.5), \freq, exprand(50,190).round(20));
rrand(0.1,1.3).wait;
};

}).play;

// - 0:6:23.27 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.01,0.5), \freq, exprand(50,290).round(10));
rrand(0.1,1.3).wait;
};

}).play;

// - 0:6:45.98 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.1,0.5), \freq, exprand(50,190).round(20));
rrand(0.1,1.3).wait;
};

}).play;

// - 0:6:47.19 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.1,0.5), \freq, exprand(50,290).round(10));
rrand(0.1,1.3).wait;
};

}).play;

// - 0:7:1.54 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.1,0.5), \freq, exprand(50,190).round(20));
rrand(0.1,4.3).wait;
};

}).play;

// - 0:7:2.75 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.1,0.5), \freq, exprand(50,290).round(10));
rrand(0.1,3.3).wait;
};

}).play;

// - 0:7:17.24 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.1,0.5), \freq, exprand(50,290).round(10));
rrand(1.1,3.3).wait;
};

}).play;

// - 0:7:20.44 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.1,0.5), \freq, exprand(50,190).round(20));
rrand(1.1,4.3).wait;
};

}).play;

// - 0:8:31.61 -  
~s3=Array.fill(4, {arg i; Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum,\pan, 2*(i/3)-1, \freq, 60*i])});

// - 0:8:42.3 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.1,0.5), \freq, exprand(50,190).round(20));
rrand(2.1,5.3).wait;
};

}).play;

// - 0:8:49.81 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.1,0.5), \freq, exprand(50,90).round(10));
rrand(2.1,5.3).wait;
};

}).play;

// - 0:9:4.76 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.1,0.5), \freq, exprand(100,190).round(20));
rrand(3.1,6.3).wait;
};

}).play;

// - 0:9:51.26 -  
Tdef(\lctask3,{

inf.do {

~s3.do({arg val; val.set(\amp, exprand(0.1,0.5), \freq, exprand(100,190).round(5))});
rrand(3.1,6.3).wait;
};

}).play;

// - 0:10:18.58 -  
~b1.sine1(1.0/Array.fill(7,{rrand(1,3)}), true, true, true);

// - 0:10:19.39 -  
~b1.sine1(1.0/Array.fill(7,{rrand(1,3)}), true, true, true);

// - 0:10:20.48 -  
~b1.sine1(1.0/Array.fill(7,{rrand(1,3)}), true, true, true);

// - 0:10:21.13 -  
~b1.sine1(1.0/Array.fill(7,{rrand(1,3)}), true, true, true);

// - 0:10:21.7 -  
~b1.sine1(1.0/Array.fill(7,{rrand(1,3)}), true, true, true);

// - 0:10:24.98 -  
~b1.sine1(1.0/Array.fill(7,{rrand(1,3)}), true, true, true);

// - 0:10:39.31 -  
~b1.sine1(1.0/Array.fill(10,{rrand(1.0,7)}), true, true, true);

// - 0:11:19.03 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, bufnum1, bufnum2, lagtime=0.01, cutoff=1000,q=0.1; 
var sound; //, env;

//env=EnvGen.ar(Env([1,0],[sustain],'lin'),doneAction:2);

sound=Resonz.ar(Shaper.ar(bufnum2, Osc.ar(bufnum1, freq.lag(0.3), 0, 1),amp.lag(0.3)),cutoff.lag(0.1), q.lag(0.1));

Out.ar(out, Pan2.ar(sound,pan))
}).store;

// - 0:11:22.17 -  
~s1.free	

// - 0:11:23.04 -  
~s1=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:11:26.58 -  
~s2.free	

// - 0:11:27.41 -  
~s2=Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum]);

// - 0:11:50.12 -  
Tdef(\lctask3).stop

// - 0:11:51.99 -  
~s3.do({arg val; val.free;});

// - 0:12:12.36 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(1,5), \freq, exprand(100,190).round(20));
rrand(3.1,6.3).wait;
};

}).play;

// - 0:12:21.28 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(1,5), \freq, exprand(50,90).round(10));
rrand(2.1,5.3).wait;
};

}).play;

// - 0:12:49.21 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(1,5), \freq, exprand(50,90).round(10), \cutoff,exprand(500,5000).round(10) );
rrand(2.1,5.3).wait;
};

}).play;

// - 0:13:15.72 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.2,2), \freq, exprand(50,90).round(10), \cutoff,exprand(500,5000).round(10) );
rrand(2.1,5.3).wait;
};

}).play;

// - 0:13:16.73 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.2,2), \freq, exprand(100,190).round(20), \cutoff,exprand(500,5000).round(10) );
rrand(3.1,6.3).wait;
};

}).play;

// - 0:13:27.73 -  
Tdef(\lctask3,{

inf.do {

~s3.do({arg val; val.set(\amp, exprand(0.1,0.5), \freq, exprand(100,190).round(5))});
rrand(3.1,6.3).wait;
};

}).play;

// - 0:13:29.9 -  
~s3=Array.fill(4, {arg i; Synth(\lcsynth1,[\bufnum1, ~b1.bufnum, \bufnum2, ~b2.bufnum,\pan, 2*(i/3)-1, \freq, 60*i])});

// - 0:13:43.28 -  
Tdef(\lctask3,{

inf.do {

~s3.do({arg val; val.set(\amp, exprand(0.1,0.5), \freq, exprand(100,190).round(5))});
0.1.wait;
};

}).play;

// - 0:13:52.95 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.2,2), \freq, exprand(50,90).round(10), \cutoff,exprand(500,5000).round(10) );
0.1.wait;
};

}).play;

// - 0:13:59.42 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.2,2), \freq, exprand(100,190).round(20), \cutoff,exprand(500,5000).round(10) );
0.1.wait;
};

}).play;

// - 0:14:26.57 -  
Tdef(\lctask3,{

inf.do {

~s3.do({arg val; val.set(\amp, exprand(0.3,2.5), \freq, exprand(100,190).round(5), \cutoff,exprand(500,5000).round(10) )});
0.05.wait;
};

}).play;

// - 0:14:34.06 -  
Tdef(\lctask3,{

inf.do {

~s3.do({arg val; val.set(\amp, exprand(0.3,2.5), \freq, exprand(100,190).round(5), \cutoff,exprand(500,5000).round(10) )});
0.5.wait;
};

}).play;

// - 0:14:44.15 -  
Tdef(\lctask3,{

inf.do {

~s3.do({arg val; val.set(\amp, exprand(0.3,2.5), \freq, exprand(100,190).round(5), \cutoff,exprand(500,5000).round(10) )});
rrand(0.1,1).wait;
};

}).play;

// - 0:14:56.61 -  
Tdef(\lctask2,{

inf.do {

~s2.set(\amp, exprand(0.2,2), \freq, exprand(100,190).round(20), \cutoff,exprand(500,5000).round(10) );
rrand(0.1,1).wait;
};

}).play;

// - 0:15:1.16 -  
Tdef(\lctask1,{

inf.do {

~s1.set(\amp, exprand(0.2,2), \freq, exprand(50,90).round(10), \cutoff,exprand(500,5000).round(10) );
rrand(0.1,1).wait;
};

}).play;

// - 0:16:57.79 -  
a.stop

// - 0:17:19.68 -  
b = Buffer.alloc(s, s.sampleRate);

// - 0:17:23.1 -  
a={Out.ar(0,MultiTap.ar(`[0.1, 0.2, 0.3, 0.4], `[0.1, 0.2, 0.4, 0.8], In.ar(0,2), bufnum:b.bufnum))}.play(addAction:\addToTail);

// - 0:17:44.94 -  
a.stop

// - 0:17:46.18 -  
a={Out.ar(0,MultiTap.ar(`[0.7, 0.5, 0.6, 0.4], `[0.1, 0.2, 0.4, 0.8], In.ar(0,2), bufnum:b.bufnum))}.play(addAction:\addToTail);

// - 0:17:53.25 -  
a.stop

// - 0:18:12.8 -  
a={Out.ar(0,CombN.ar(MultiTap.ar(`[0.7, 0.5, 0.6, 0.4], `[0.1, 0.2, 0.4, 0.8], In.ar(0,2), bufnum:b.bufnum),0.1,0.1,5))}.play(addAction:\addToTail);

// - 0:18:24.06 -  
a.stop

// - 0:18:25.73 -  
a={ReplaceOut.ar(0,CombN.ar(MultiTap.ar(`[0.7, 0.5, 0.6, 0.4], `[0.1, 0.2, 0.4, 0.8], In.ar(0,2), bufnum:b.bufnum),0.1,0.1,5))}.play(addAction:\addToTail);

// - 0:18:27.72 -  
a.stop

// - 0:18:37.88 -  
a.free

// - 0:18:54.94 -  
a={ReplaceOut.ar(0,CombN.ar(MultiTap.ar(`[0.7, 0.5, 0.6, 0.4], `[0.1, 0.2, 0.4, 0.8], In.ar(0,2), bufnum:b.bufnum),0.1,0.1,5,10))}.play(addAction:\addToTail);

// - 0:18:55.98 -  
a.free

// - 0:19:37.75 -  
a={ReplaceOut.ar(0,CombN.ar(In.ar(0,2),0.1,0.1,5))}.play(addAction:\addToTail);

// - 0:19:39.48 -  
a.free

// - 0:19:40.82 -  
a={ReplaceOut.ar(0,CombN.ar(In.ar(0,2),0.1,0.1,5))}.play(addAction:\addToTail);

// - 0:19:42.84 -  
a.free

// - 0:19:51.05 -  
a={ReplaceOut.ar(0,CombN.ar(In.ar(0,2),0.1,0.01,1))}.play(addAction:\addToTail);

// - 0:20:0.38 -  
a.free

// - 0:20:20.71 -  
a={ReplaceOut.ar(0,CombN.ar(In.ar(0,2),0.1,XLine.kr(0.1,0.01,10),1))}.play(addAction:\addToTail);

// - 0:20:35.78 -  
a.free

// - 0:20:40.02 -  
Tdef(\lctask3).stop

// - 0:20:45.48 -  
Tdef(\lctask2).stop

// - 0:20:48.28 -  
a={ReplaceOut.ar(0,CombN.ar(In.ar(0,2),0.1,XLine.kr(0.1,0.01,10),1))}.play(addAction:\addToTail);

// - 0:20:59.71 -  
Tdef(\lctask1).stop

// - 0:21:3.13 -  
Tdef(\lctask1).stop

// - 0:21:7.73 -  
a.free

// - 0:21:16.72 -  
a={ReplaceOut.ar(0,CombN.ar(In.ar(0,2),0.1,XLine.kr(0.1,0.01,10),1))}.play(addAction:\addToTail);

// - 0:21:19.29 -  
~s2.free	

// - 0:21:22.89 -  
~s3.do({arg val; val.free;});

// - 0:21:27.6 -  
~s1.free