///////////////////////////////////////////////////
// History, as it was on Sun Aug 20 23:54:05 2006.
///////////////////////////////////////////////////

// - 0:0:0 -  
//a gentle Sunday

// - 0:2:0.25 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq,numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

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

// - 0:2:13.49 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq,numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

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

// - 0:2:19.37 -  
~s1=Synth(\lcsynth1);

// - 0:4:34.26 -  
Array.geom(10,0.1,1.5)

// - 0:4:45.46 -  
Array.geom(10,0.1,1.25)

// - 0:5:0.36 -  
Pdef(\pseq1,Pseq(Array.geom(10,0.1,1.25).reverse,1));

// - 0:6:1.55 -  
Pdef(\pseq1,Pseq(Array.geom(10,0.1,1.25).reverse,inf));

// - 0:6:22.36 -  
Tdef(\lctask1,{
var p;

p= Pdef(\pseq1).asStream;
inf.do {

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

}).play;

// - 0:6:30.72 -  
Tdef(\lctask1,{
var p;

p= Pdef(\pseq1).asStream;
inf.do {

Synth(\lcsynth1);
p.next.wait;
};

}).play;

// - 0:6:46.48 -  
Tdef(\lctask1,{
var p;

p= Pdef(\pseq1).asStream;
inf.do {

Synth(\lcsynth1);
p.next.postln;
1.0.wait;
};

}).play;

// - 0:7:4.84 -  
Tdef(\lctask1).stop

// - 0:7:8.3 -  
Tdef(\lctask1).play

// - 0:7:16.12 -  
Pdef(\pseq1,Pseq(Array.geom(10,0.1,1.25).reverse,inf));

// - 0:7:31.03 -  
Tdef(\lctask1,{
var p;

p= Pseq(Array.geom(10,0.1,1.25).reverse,inf).asStream;
inf.do {

Synth(\lcsynth1);
p.next.postln;
1.0.wait;
};

}).play;

// - 0:7:49.34 -  
Tdef(\lctask1,{
var p;

p= Pseq(Array.geom(10,0.1,1.25).reverse,inf).asStream;
inf.do {

Synth(\lcsynth1);
p.next.wait;
};

}).play;

// - 0:8:45.41 -  
Tdef(\lctask2,{
var p;

p= Pseq(Array.geom(10,0.1,1.24).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\numharm, val*100]);
val.wait;
};

}).play;

// - 0:9:17.39 -  
Tdef(\lctask2,{
var p;

p= Pseq(Array.geom(10,0.1,1.23).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:9:41.03 -  
Array.geom(15,0.1,1.23).reverse

// - 0:9:44.28 -  
Tdef(\lctask2,{
var p;

p= Pseq(Array.geom(15,0.1,1.23).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:10:40.41 -  
Tdef(\lctask3,{
var p;

p= Pseq(Array.geom(15,0.1,1.23).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:10:42.24 -  
Tdef(\lctask2,{
var p;

p= Pseq(Array.geom(10,0.1,1.24).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\numharm, val*100]);
val.wait;
};

}).play;

// - 0:10:49.07 -  
Tdef(\lctask4,{
var p;

p= Pseq(Array.geom(12,0.1,1.22).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*150)+50, \numharm, val*200]);
val.wait;
};

}).play;

// - 0:11:20.24 -  
Tdef(\lctask1,{
var p;

p= Pseq(Array.geom(10,0.1,1.15).reverse,inf).asStream;
inf.do {

Synth(\lcsynth1);
p.next.wait;
};

}).play;

// - 0:11:26.73 -  
Tdef(\lctask2,{
var p;

p= Pseq(Array.geom(10,0.1,1.14).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\numharm, val*100]);
val.wait;
};

}).play;

// - 0:11:31.25 -  
Tdef(\lctask3,{
var p;

p= Pseq(Array.geom(15,0.1,1.13).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:11:35.91 -  
Tdef(\lctask4,{
var p;

p= Pseq(Array.geom(12,0.1,1.12).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*150)+50, \numharm, val*200]);
val.wait;
};

}).play;

// - 0:11:43.03 -  
Tdef(\lctask4,{
var p;

p= Pseq(Array.geom(15,0.1,1.12).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*150)+50, \numharm, val*200]);
val.wait;
};

}).play;

// - 0:11:53.69 -  
Tdef(\lctask4,{
var p;

p= Pseq(Array.geom(15,0.1,1.12).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+50, \numharm, val*200]);
val.wait;
};

}).play;

// - 0:12:8.33 -  
Tdef(\lctask4,{
var p;

p= Pseq(Array.geom(15,0.1,1.12).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+50, \numharm, val*200, \cfreq, 1000*val]);
val.wait;
};

}).play;

// - 0:12:52.09 -  
Tdef(\lctask4,{
var p, longer;

longer=Array.geom(15,0.1,1.12).reverse;

p= Pseq(longer++(longer.reverse)++(longer.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+50, \numharm, val*200, \cfreq, 1000*val]);
val.wait;
};

}).play;

// - 0:12:56.72 -  
Tdef(\lctask3).stop

// - 0:13:9.09 -  
Tdef(\lctask2).stop

// - 0:13:11.2 -  
Tdef(\lctask1).stop

// - 0:13:53.17 -  
Tdef(\lctask5,{
var p, longer;

longer=Array.geom(15,0.1,1.12).reverse;

p= Pseq(longer++(longer.reverse)++(longer.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+100, \numharm, val*200, \cfreq, 10000*((1-val).max(0.1))]);
val.wait;
};

}).play;

// - 0:14:3.71 -  
Tdef(\lctask5,{
var p, longer;

longer=Array.geom(15,0.1,1.12).reverse;

p= Pseq(longer++(longer.reverse)++(longer.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+100, \numharm, val*200, \cfreq, 2000*((1-val).max(0.1))]);
val.wait;
};

}).play;

// - 0:15:3.04 -  
Tdef(\lctask3,{
var p, source;

source=Array.geom(15,0.1,1.13);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:15:27.46 -  
Tdef(\lctask3b,{
var p, source;

source=Array.geom(15,0.1,1.13);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, 445, \cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:15:43.33 -  
Tdef(\lctask3c,{
var p, source;

source=Array.geom(15,0.1,1.13);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, 450, \cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:16:9.25 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq*[1,1.97],numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

Out.ar(out, sound*env)
}).store;

// - 0:16:38.94 -  
Tdef(\lctask3b,{
var p, source;

source=Array.geom(15,0.1,1.13);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, 445, \cfreq, val*10000, \sustain, 1]);
val.wait;
};

}).play;

// - 0:16:51.62 -  
Tdef(\lctask5,{
var p, longer;

longer=Array.geom(15,0.1,1.22).reverse;

p= Pseq(longer++(longer.reverse)++(longer.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+100, \numharm, val*200, \cfreq, 2000*((1-val).max(0.1))]);
val.wait;
};

}).play;

// - 0:16:55.23 -  
Tdef(\lctask4,{
var p, longer;

longer=Array.geom(15,0.1,1.22).reverse;

p= Pseq(longer++(longer.reverse)++(longer.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, (val*400)+50, \numharm, val*200, \cfreq, 1000*val]);
val.wait;
};

}).play;

// - 0:17:39.4 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq*[1,1.97,2.05],numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

Out.ar(out, Pan2.ar(Mix(sound)*env,Rand(-1.0,1.0)))
}).store;

// - 0:17:52.28 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq*[1,1.97,2.05, 3.54, 4.1],numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

Out.ar(out, Pan2.ar(Mix(sound)*env,Rand(-1.0,1.0)))
}).store;

// - 0:18:11.17 -  
Tdef(\lctask3c,{
var p, source;

source=Array.geom(15,0.1,1.23);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, 450, \cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:18:16.92 -  
Tdef(\lctask3b,{
var p, source;

source=Array.geom(15,0.1,1.33);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\freq, 445, \cfreq, val*10000, \sustain, 1]);
val.wait;
};

}).play;

// - 0:18:25.92 -  
Tdef(\lctask3,{
var p, source;

source=Array.geom(15,0.1,1.27);

p= Pseq((source.scramble)++(source)++(source.scramble),inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\cfreq, val*10000]);
val.wait;
};

}).play;

// - 0:18:32.97 -  
Tdef(\lctask2,{
var p;

p= Pseq(Array.geom(10,0.1,1.14).reverse,inf).asStream;
inf.do {
var val;

val= p.next;
Synth(\lcsynth1, [\numharm, val*100]);
val.wait;
};

}).play;

// - 0:18:35.22 -  
Tdef(\lctask1,{
var p;

p= Pseq(Array.geom(10,0.1,1.15).reverse,inf).asStream;
inf.do {

Synth(\lcsynth1);
p.next.wait;
};

}).play;

// - 0:19:5.8 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq*Line.kr(1,0.25,sustain)*[1,1.97,2.05, 3.54, 4.1],numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

Out.ar(out, Pan2.ar(Mix(sound)*env,Rand(-1.0,1.0)))
}).store;

// - 0:19:25.96 -  
SynthDef(\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, numharm=100, cfreq=1000, q=0.1; 
var sound, env;

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

sound=BPF.ar(Blip.ar(freq*Line.kr(1,0.25,sustain*4)*[1,1.97,2.05, 3.54, 4.1],numharm, amp),cfreq, q, q.max(0.01).reciprocal.max(0.1).min(1.0));

Out.ar(out, Pan2.ar(Mix(sound)*env,Rand(-1.0,1.0)))
}).store;

// - 0:20:56.94 -  
{Out.ar(0,CombL.ar(In.ar(0,2),0.1,0.1,Line.kr(0.1,10,40),XLine.kr(0.1,1,40)))}.play(addAction:\addToTail)

// - 0:21:27.57 -  
{Out.ar(0,CombL.ar(In.ar(0,2),0.1,0.1,Line.kr(0.1,10,40),XLine.kr(0.1,1,40)))}.play(addAction:\addToTail)

// - 0:21:33.68 -  
{Out.ar(0,CombL.ar(In.ar(0,2),0.1,0.1,Line.kr(0.1,10,40),XLine.kr(0.1,1,40)))}.play(addAction:\addToTail)