///////////////////////////////////////////////////
// History, as it was on Tue Aug 22 21:27:13 2006.
///////////////////////////////////////////////////

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

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

sound=SinOsc.ar(50,pi*0.5,amp)*env;

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

// - 0:0:20.26 -  
Tdef(\lctask1,{

inf.do {

Synth(\lcsynth1);
1.0.wait;
};

}).play(quant:1.0);

// - 0:0:44.82 -  
Tdef(\lctask1,{

inf.do {

Synth(\lcsynth1);
4.0.wait;
};

}).play(quant:1.0);

// - 0:1:50.08 -  
SynthDef(\lcsynth2, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=BRF.ar(PinkNoise.ar(amp),3500,0.5)*env;

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

// - 0:2:10.33 -  
Tdef(\lctask2,{

inf.do {

1.0.wait;
Synth(\lcsynth2);
1.0.wait;
};

}).play(quant:2.0);

// - 0:2:24.94 -  
Tdef(\lctask1,{

inf.do {

Synth(\lcsynth1);
4.0.wait;
};

}).play(quant:4.0);

// - 0:2:39.94 -  
Tdef(\lctask1,{

inf.do {

Synth(\lcsynth1);
4.0.wait;
};

}).play(quant:2.0);

// - 0:2:45.94 -  
Tdef(\lctask2,{

inf.do {

1.0.wait;
Synth(\lcsynth2);
1.0.wait;
};

}).play(quant:2.0);

// - 0:3:31.27 -  
SynthDef(\lcsynth3, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=HPF.ar(BrownNoise.ar(amp),3500)*env;

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

// - 0:4:56.38 -  
Tdef(\lctask2,{
var patt;

inf.do {

patt=[1,1,1,0]++([1,0,0,1].scramble);

patt.do({var val;

if(val>0.5,{

Synth(\lcsynth3);
});

0.5.wait;
});

};

}).play(quant:2.0);

// - 0:5:4.55 -  
Tdef(\lctask2,{
var patt;

inf.do {

patt=[1,1,1,0]++([1,0,0,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth3);
});

0.5.wait;
});

};

}).play(quant:2.0);

// - 0:5:13.31 -  
Tdef(\lctask2,{

inf.do {

1.0.wait;
Synth(\lcsynth2);
1.0.wait;
};

}).play(quant:2.0);

// - 0:5:24.49 -  
Tdef(\lctask2).stop

// - 0:5:27.81 -  
Tdef(\lctask2,{

inf.do {

1.0.wait;
Synth(\lcsynth2);
1.0.wait;
};

}).play(quant:2.0);

// - 0:5:32.14 -  
Tdef(\lctask3,{
var patt;

inf.do {

patt=[1,1,1,0]++([1,0,0,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth3);
});

0.5.wait;
});

};

}).play(quant:2.0);

// - 0:6:54.8 -  
SynthDef(\lcsynth4, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=Resonz.ar(SinOsc.ar(SinOsc.ar(20,0,20*3,XLine.kr(freq,freq*0.25,sustain*0.25))),500,0.25,amp)*env;

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

// - 0:7:36.36 -  
Tdef(\lctask4,{
var patt;

inf.do {

patt=[100,90,80,0]++([100,0,0,70].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth4, [\freq, val]);
});

0.5.wait;
});

};

}).play(quant:2.0);

// - 0:8:4.74 -  
Synth(\lcsynth4,[\amp,1])

// - 0:8:5.84 -  
Synth(\lcsynth4,[\amp,1])

// - 0:8:6.77 -  
Synth(\lcsynth4,[\amp,1])

// - 0:8:7.77 -  
Synth(\lcsynth4,[\amp,1])

// - 0:8:8.71 -  
Synth(\lcsynth4,[\amp,1])

// - 0:8:18.42 -  
Tdef(\lctask4,{
var patt;

inf.do {

patt=[100,90,80,0]++([100,0,0,70].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth4, [\freq, val, \amp, 1]);
});

0.5.wait;
});

};

}).play(quant:2.0);

// - 0:9:15.29 -  
Tdef(\lctask4,{
var patt, freqmult;

freqmult= 1;

inf.do {

if(0.4.coin,{
freqmult= 4.rand+1;
});

patt=([100,90,80,0]++([100,0,0,70].scramble))*freqmult;

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth4, [\freq, val, \amp, 1]);
});

0.5.wait;
});

};

}).play(quant:2.0);

// - 0:10:14.89 -  
Tdef(\lctask5,{

10.do {arg val;

TempoClock.default.tempo_(val*0.1+1);

1.0.wait;
};

}).play;

// - 0:10:33.54 -  
Tdef(\lctask4,{
var patt, freqmult;

freqmult= 1;

inf.do {

if(0.4.coin,{
freqmult= 4.rand+1;
});

patt=([100,90,80,0]++([100,0,0,70].scramble))*freqmult;

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth4, [\freq, val, \amp, 1]);
});

0.25.wait;
});

};

}).play(quant:2.0);

// - 0:10:44.51 -  
Tdef(\lctask1,{

inf.do {

Synth(\lcsynth1);
1.0.wait;
};

}).play(quant:2.0);

// - 0:11:35.55 -  
Tdef(\lctask2,{
var patt;

1.0.wait;

inf.do {

patt=[1,1,1,0]++([1,0,0,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth2);
});

1.0.wait;
});

};

}).play(quant:2.0);

// - 0:11:47.82 -  
Tdef(\lctask2,{
var patt;

1.0.wait;

inf.do {

patt=[1,1,1,0]++([1,0,0,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth2);
});

0.25.wait;
});

};

}).play(quant:2.0);

// - 0:12:0.16 -  
Tdef(\lctask3,{
var patt;

inf.do {

patt=[1,1,1,0]++([1,0,0,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth3);
});

0.125.wait;
});

};

}).play(quant:2.0);

// - 0:12:10.89 -  
Tdef(\lctask3,{
var patt;

inf.do {

patt=[1,1,1,1]++([1,0,0,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth3);
});

0.25.wait;
});

};

}).play(quant:2.0);

// - 0:12:19.64 -  
Tdef(\lctask3,{
var patt;

inf.do {

patt=[1,1,1,1]++([1,0,1,1].scramble);

patt.do({arg val;

if(val>0.5,{

Synth(\lcsynth3);
});

0.25.wait;
});

};

}).play(quant:2.0);

// - 0:14:3.73 -  
Tdef(\lctask6,{

inf.do {

if(0.25.coin,{Tdef(\lctask1).stop},{Tdef(\lctask1).play});
if(0.25.coin,{Tdef(\lctask2).stop},{Tdef(\lctask2).play});
if(0.25.coin,{Tdef(\lctask3).stop},{Tdef(\lctask3).play});
if(0.25.coin,{Tdef(\lctask4).stop},{Tdef(\lctask4).play});

4.0.wait;
};

}).play(quant:4.0);

// - 0:15:27.72 -  
SynthDef(\lcsynth5, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=Resonz.ar(LFSaw.ar(freq,0,amp),LFNoise0.kr(0.5,500,1000),0.1);

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

// - 0:16:2 -  
Tdef(\lctask7,{

inf.do {

Synth(\lcsynth5,[\sustain,2.0]);
4.0.wait;
};

}).play(quant:4.0);

// - 0:16:30.21 -  
	~freq=440;

// - 0:16:32.08 -  
Tdef(\lctask7,{

inf.do {

Synth(\lcsynth5,[\sustain,2.0, \freq, ~freq]);
4.0.wait;
};

}).play(quant:4.0);

// - 0:16:59.98 -  
SynthDef(\lcsynth5, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=Resonz.ar(LFSaw.ar(freq,0,amp),LFNoise0.kr(0.125,500,1000),0.1);

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

// - 0:17:8.58 -  
SynthDef(\lcsynth5, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=Resonz.ar(LFSaw.ar(freq,0,amp),LFNoise0.kr(8,500,1000),0.1);

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

// - 0:17:28.06 -  
SynthDef(\lcsynth5, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=Resonz.ar(LFSaw.ar(freq,0,amp),LFNoise0.kr(4,500,1000),0.1);

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

// - 0:18:5.62 -  
Tdef(\lctask7,{

inf.do {

Synth(\lcsynth5,[\sustain,2.0, \freq, ~freq]);
Synth(\lcsynth5,[\sustain,3.0, \freq, ~freq*5/3]);
4.0.wait;
};

}).play(quant:4.0);

// - 0:18:58.17 -  
Tdef(\lctask8,{
var patt;

inf.do {

patt=([100,90,80,0]++([100,0,0,70].scramble))+400;

patt.do({arg val;
~freq=val;
4.0.wait;
});

};

}).play(quant:4.0);

// - 0:19:33.46 -  
Tdef(\lctask5,{

10.do {arg val;

TempoClock.default.tempo_(2-(val*0.1));

1.0.wait;
};

}).play;

// - 0:20:12.32 -  
SynthDef(\lcsynth2, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=BRF.ar(PinkNoise.ar(amp),LFNoise1.kr(Rand(10,20),1000,3500),0.5)*env;

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

// - 0:20:28.11 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=SinOsc.ar(Rand(50,100),pi*0.5,amp)*env;

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

// - 0:20:44.58 -  
SynthDef(\lcsynth3, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=HPF.ar(BrownNoise.ar(amp),Rand(1000,4000))*env;

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

// - 0:20:58.88 -  
SynthDef(\lcsynth4, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1; 
var sound, env;

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

sound=Resonz.ar(SinOsc.ar(SinOsc.ar(20,0,20*3,XLine.kr(freq*2,freq*0.5,sustain*0.25))),500,0.25,amp)*env;

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

// - 0:21:33.65 -  
Tdef(\lctask5,{

100.do {arg val;

TempoClock.default.tempo_(val*0.04+1);

1.0.wait;
};

}).play;

// - 0:22:18.71 -  
Tdef(\lctask7,{

inf.do {

Synth(\lcsynth5,[\sustain,4.0, \freq, ~freq]);
Synth(\lcsynth5,[\sustain,5.0, \freq, ~freq*5/3]);
Synth(\lcsynth5,[\sustain,3.0, \freq, ~freq*7/3]);
4.0.wait;
};

}).play(quant:4.0);

// - 0:22:44.81 -  
Tdef(\lctask6,{

inf.do {

if(0.25.coin,{Tdef(\lctask1).stop},{Tdef(\lctask1).play});
if(0.25.coin,{Tdef(\lctask2).stop},{Tdef(\lctask2).play});
if(0.25.coin,{Tdef(\lctask3).stop},{Tdef(\lctask3).play});
if(0.25.coin,{Tdef(\lctask4).stop},{Tdef(\lctask4).play});

1.0.wait;
};

}).play(quant:4.0);

// - 0:22:54.58 -  
Tdef(\lctask6,{

inf.do {

if(0.25.coin,{Tdef(\lctask1).stop},{Tdef(\lctask1).play});
if(0.25.coin,{Tdef(\lctask2).stop},{Tdef(\lctask2).play});
if(0.25.coin,{Tdef(\lctask3).stop},{Tdef(\lctask3).play});
if(0.25.coin,{Tdef(\lctask4).stop},{Tdef(\lctask4).play});

0.25.wait;
};

}).play(quant:4.0);

// - 0:23:1.41 -  
Tdef(\lctask6,{

inf.do {

if(0.5.coin,{Tdef(\lctask1).stop},{Tdef(\lctask1).play});
if(0.5.coin,{Tdef(\lctask2).stop},{Tdef(\lctask2).play});
if(0.5.coin,{Tdef(\lctask3).stop},{Tdef(\lctask3).play});
if(0.5.coin,{Tdef(\lctask4).stop},{Tdef(\lctask4).play});

0.25.wait;
};

}).play(quant:4.0);

// - 0:23:11.51 -  
Tdef(\lctask6,{

inf.do {

if(0.75.coin,{Tdef(\lctask1).stop},{Tdef(\lctask1).play});
if(0.75.coin,{Tdef(\lctask2).stop},{Tdef(\lctask2).play});
if(0.75.coin,{Tdef(\lctask3).stop},{Tdef(\lctask3).play});
if(0.75.coin,{Tdef(\lctask4).stop},{Tdef(\lctask4).play});

0.25.wait;
};

}).play(quant:4.0);

// - 0:23:19.85 -  
Tdef(\lctask6,{

inf.do {

if(0.85.coin,{Tdef(\lctask1).stop},{Tdef(\lctask1).play});
if(0.85.coin,{Tdef(\lctask2).stop},{Tdef(\lctask2).play});
if(0.85.coin,{Tdef(\lctask3).stop},{Tdef(\lctask3).play});
if(0.85.coin,{Tdef(\lctask4).stop},{Tdef(\lctask4).play});

0.25.wait;
};

}).play(quant:4.0);

// - 0:23:31.83 -  
Tdef(\lctask7,{

inf.do {

Synth(\lcsynth5,[\sustain,4.0, \freq, ~freq]);
Synth(\lcsynth5,[\sustain,5.0, \freq, ~freq*5/3]);
//Synth(\lcsynth5,[\sustain,3.0, \freq, ~freq*7/3]);
4.0.wait;
};

}).play(quant:4.0);

// - 0:23:36.08 -  
Tdef(\lctask7,{

inf.do {

Synth(\lcsynth5,[\sustain,4.0, \freq, ~freq]);
//Synth(\lcsynth5,[\sustain,5.0, \freq, ~freq*5/3]);
//Synth(\lcsynth5,[\sustain,3.0, \freq, ~freq*7/3]);
4.0.wait;
};

}).play(quant:4.0);

// - 0:23:48.03 -  
Tdef(\lctask7,{

inf.do {

//Synth(\lcsynth5,[\sustain,4.0, \freq, ~freq]);
//Synth(\lcsynth5,[\sustain,5.0, \freq, ~freq*5/3]);
//Synth(\lcsynth5,[\sustain,3.0, \freq, ~freq*7/3]);
4.0.wait;
};

}).play(quant:4.0);