///////////////////////////////////////////////////
// History, as it was on Sun Aug  6 22:00:21 2006.
///////////////////////////////////////////////////

//today playing with envelopes and trying out new History class

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

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

sound=Saw.ar(freq,EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0],[0.5,0.25,0.5,0.25,0.5,0.25,0.5],'sine',6,0)));

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

// - 0:3:0.3 -  
~p1= Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+60).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,0.1).play;	

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

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

sound=Saw.ar(freq,EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0],[0.5,0.25,0.5,0.25,0.5,0.25,0.5],'sine',6,0)));

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

// - 0:3:47.6 -  
~p1.stop

// - 0:3:49.6 -  
~p1= Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+60).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,Pfunc({exprand(0.1,1.0)})).play;	

// - 0:4:16 -  
Pdef(\pdef1, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+60).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,Pfunc({exprand(0.1,1.0)}))).play;

// - 0:4:47.6 -  
Pdef(\pdef2, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+49.7).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,Pfunc({exprand(0.1,1.0)}))).play;

// - 0:5:9.8 -  
Pdef(\pdef1, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+50).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,Pfunc({exprand(0.1,1.0)})));

//now use looped envelope for frequency multiplier?

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

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5],'sine',6,0)));

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

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

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.25,'sine',6,0)));

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

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

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.125,'sine',6,0)));

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

// - 0:7:24.2 -  
~p1.stop

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

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.125*0.25,'sine',6,0)));

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

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

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

sound=Resonz.ar(Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.125*0.25,'sine',6,0))),ExpRand(500,5000),ExpRand(0.1,1.0));

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

//fx time?

// - 0:10:10.2 -  
a={Out.ar(0,CombL.ar((In.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,0.1))}.play;

// - 0:10:19.9 -  
a.free;

// - 0:10:23.1 -  
a={Out.ar(0,CombL.ar((In.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,0.5))}.play;

// - 0:10:27.2 -  
a.free;

// - 0:10:30 -  
a={Out.ar(0,CombL.ar((In.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,2))}.play;

// - 0:11:4 -  
a.free;

// - 0:11:5.1 -  
a={Out.ar(0,CombL.ar((InFeedback.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,2))}.play;

// - 0:11:11.9 -  
a.free;

// - 0:11:14 -  
a={Out.ar(0,CombL.ar((InFeedback.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,5))}.play;

// - 0:11:34.5 -  
a.free;

// - 0:11:36.7 -  
a={Out.ar(0,CombL.ar(((InFeedback.ar(0,2)).distort.cubed*10).clip2(0.5),0.1,0.1,5,5))}.play;

//ah, got it

// - 0:12:4 -  
~p1.stop

// - 0:12:37.3 -  
Pdef(\pdef2).stop

// - 0:13:38.8 -  
Pdef(\pdef2, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+39.7).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, Pseq((0.5.dup(5))++(0.25.dup(5))), \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:13:47.7 -  
Pdef(\pdef1).stop

// - 0:14:9.3 -  
a.free;

// - 0:14:10.4 -  
a={Out.ar(0,CombL.ar(((InFeedback.ar(0,2)).distort.cubed*10).clip2(0.5),0.1,0.1,5,5))}.play;

// - 0:14:21.2 -  
Pdef(\pdef1, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+50).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:14:27.4 -  
Pdef(\pdef2).stop

// - 0:14:29.3 -  
Pdef(\pdef2, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+39.7).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, Pseq((0.5.dup(5))++(0.25.dup(5))), \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:14:44 -  
Pdef(\pdef2, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+89.7).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, Pseq((0.5.dup(5))++(0.25.dup(5))), \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:15:3.7 -  
Pdef(\pdef1, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+88.4).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 2, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

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

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

sound=Resonz.ar(Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.5,'sine',6,0))),ExpRand(500,5000),ExpRand(0.1,1.0));

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

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

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

sound=Resonz.ar(PinkNoise.ar,freq,0.01,10);

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

// - 0:16:57.8 -  
Pdef(\pdef3, Pbind(\instrument, \lcsynth1, \freq, Pfunc({((rrand(1,10)/11)+88.4).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 0.5, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:17:10.6 -  
Pdef(\pdef3, Pbind(\instrument, \lcsynth2, \freq, Pfunc({((rrand(1,10)/11)+88.4).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 0.5, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:17:31.5 -  
Pdef(\pdef3, Pbind(\instrument, \lcsynth2, \freq, Pfunc({((rrand(1,10)/11)+40.4).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 0.5, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:17:47.7 -  
Pdef(\pdef4, Pbind(\instrument, \lcsynth2, \freq, Pfunc({((rrand(1,10)/11)+50.4).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 0.5, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:18:0.5 -  
Pdef(\pdef5, Pbind(\instrument, \lcsynth2, \freq, Pfunc({((rrand(1,10)/11)+60.4).midicps}),\sustain,Pfunc({rrand(1,4)}),\dur, 0.5, \amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);

// - 0:18:5.3 -  
Pdef(\pdef2).stop

// - 0:18:10.1 -  
Pdef(\pdef1).stop

// - 0:18:14.2 -  
a.free;

//7 seconds left

// - 0:18:35.4 -  
a={Out.ar(0,CombL.ar(((InFeedback.ar(0,2)).distort.cubed*100).clip2(0.5),0.1,0.1,5,5))}.play;

//over time...

// - 0:18:55.5 -  
Pdef(\pdef3).stop

// - 0:18:57.9 -  
Pdef(\pdef4).stop

// - 0:19:0.3 -  
Pdef(\pdef5).stop

// - 0:19:8.4 -  
a.free;

///OVER, included below is History compile string output for playback use

List[ [ 1148.387933647, 'me', "a.free;" ], [ 1140.308436186, 'me', "Pdef(\\pdef5).stop" ], [ 1137.876335058, 'me', "Pdef(\\pdef4).stop" ], [ 1135.485545948, 'me', "Pdef(\\pdef3).stop" ], [ 1129.195626249, 'me', "//over time..." ], [ 1115.443782643, 'me', "a={Out.ar(0,CombL.ar(((InFeedback.ar(0,2)).distort.cubed*100).clip2(0.5),0.1,0.1,5,5))}.play;" ], [ 1106.246610849, 'me', "//7 seconds left" ], [ 1094.157127757, 'me', "a.free;" ], [ 1090.135572427, 'me', "Pdef(\\pdef1).stop" ], [ 1085.272967151, 'me', "Pdef(\\pdef2).stop" ], [ 1080.519223828, 'me', "Pdef(\\pdef5, Pbind(\\instrument, \\lcsynth2, \\freq, Pfunc({((rrand(1,10)/11)+60.4).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 0.5, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 1067.703241044, 'me', "Pdef(\\pdef4, Pbind(\\instrument, \\lcsynth2, \\freq, Pfunc({((rrand(1,10)/11)+50.4).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 0.5, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 1051.453782652, 'me', "Pdef(\\pdef3, Pbind(\\instrument, \\lcsynth2, \\freq, Pfunc({((rrand(1,10)/11)+40.4).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 0.5, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 1030.583271208, 'me', "Pdef(\\pdef3, Pbind(\\instrument, \\lcsynth2, \\freq, Pfunc({((rrand(1,10)/11)+88.4).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 0.5, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 1017.806246939, 'me', "Pdef(\\pdef3, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+88.4).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 0.5, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 984.08631799901, 'me', "SynthDef(\\lcsynth2, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Resonz.ar(PinkNoise.ar,freq,0.01,10);

Out.ar(out, Pan2.ar(sound,pan))
}).store;" ], [ 928.63132395501, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Resonz.ar(Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.5,'sine',6,0))),ExpRand(500,5000),ExpRand(0.1,1.0));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 903.696636276, 'me', "Pdef(\\pdef1, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+88.4).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 884.0327504, 'me', "Pdef(\\pdef2, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+89.7).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, Pseq((0.5.dup(5))++(0.25.dup(5))), \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 869.31286752301, 'me', "Pdef(\\pdef2, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+39.7).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, Pseq((0.5.dup(5))++(0.25.dup(5))), \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 867.44134369101, 'me', "Pdef(\\pdef2).stop" ], [ 861.177808397, 'me', "Pdef(\\pdef1, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+50).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 850.42385738701, 'me', "a={Out.ar(0,CombL.ar(((InFeedback.ar(0,2)).distort.cubed*10).clip2(0.5),0.1,0.1,5,5))}.play;" ], [ 849.25754880901, 'me', "a.free;" ], [ 827.66579818001, 'me', "Pdef(\\pdef1).stop" ], [ 818.80233752901, 'me', "Pdef(\\pdef2, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+39.7).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, Pseq((0.5.dup(5))++(0.25.dup(5))), \\amp,Pfunc({exprand(0.1,1.0)}))).play(quant:1.0);" ], [ 757.291687417, 'me', "Pdef(\\pdef2).stop" ], [ 723.987330783, 'me', "~p1.stop" ], [ 706.788419538, 'me', "//ah, got it" ], [ 696.65843585701, 'me', "a={Out.ar(0,CombL.ar(((InFeedback.ar(0,2)).distort.cubed*10).clip2(0.5),0.1,0.1,5,5))}.play;" ], [ 694.47649490301, 'me', "a.free;" ], [ 674.042017053, 'me', "a={Out.ar(0,CombL.ar((InFeedback.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,5))}.play;" ], [ 671.876772403, 'me', "a.free;" ], [ 665.06641157001, 'me', "a={Out.ar(0,CombL.ar((InFeedback.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,2))}.play;" ], [ 663.974096451, 'me', "a.free;" ], [ 630.027225023, 'me', "a={Out.ar(0,CombL.ar((In.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,2))}.play;" ], [ 627.18223127001, 'me', "a.free;" ], [ 623.11443756901, 'me', "a={Out.ar(0,CombL.ar((In.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,0.5))}.play;" ], [ 619.853199135, 'me', "a.free;" ], [ 610.179341735, 'me', "a={Out.ar(0,CombL.ar((In.ar(0,2)).distort.cubed*10.clip2(0.5),0.1,0.1,5,0.1))}.play;" ], [ 520.19868739101, 'me', "//fx time?" ], [ 502.93836482501, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Resonz.ar(Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.125*0.25,'sine',6,0))),ExpRand(500,5000),ExpRand(0.1,1.0));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 458.30598139101, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.125*0.25,'sine',6,0)));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 444.21720745701, 'me', "~p1.stop" ], [ 441.378281408, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.125,'sine',6,0)));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 434.64461123801, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5]*0.25,'sine',6,0)));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 376.18695178301, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Saw.ar(freq*EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0]+0.5,[0.5,0.25,0.5,0.25,0.5,0.25,0.5],'sine',6,0)));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 357.72212505, 'me', "//now use looped envelope for frequency multiplier?" ], [ 309.833736941, 'me', "Pdef(\\pdef1, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+50).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,Pfunc({exprand(0.1,1.0)})));" ], [ 287.61817062501, 'me', "Pdef(\\pdef2, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+49.7).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,Pfunc({exprand(0.1,1.0)}))).play;" ], [ 255.955214128, 'me', "Pdef(\\pdef1, Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+60).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,Pfunc({exprand(0.1,1.0)}))).play;" ], [ 229.643696889, 'me', "~p1= Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+60).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,Pfunc({exprand(0.1,1.0)})).play;	" ], [ 227.58835430301, 'me', "~p1.stop" ], [ 200.742352937, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Saw.ar(freq,EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0],[0.5,0.25,0.5,0.25,0.5,0.25,0.5],'sine',6,0)));

Out.ar(out, Pan2.ar(sound*amp,pan))
}).store;" ], [ 180.27646894801, 'me', "~p1= Pbind(\\instrument, \\lcsynth1, \\freq, Pfunc({((rrand(1,10)/11)+60).midicps}),\\sustain,Pfunc({rrand(1,4)}),\\dur, 2, \\amp,0.1).play;	" ], [ 9.6161142199999, 'me', "SynthDef(\\lcsynth1, {arg out=0, amp=0.1, pan=0.0, freq=440, sustain=0.1, gate=1, releaseTime=0.01; 
var sound, env;

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

sound=Saw.ar(freq,EnvGen.ar(Env([0.0,1.0,0.5,1.0,0.75,0.25,1.0,0.0],[0.5,0.25,0.5,0.25,0.5,0.25,0.5],'sine',6,0)));

Out.ar(out, Pan2.ar(sound,pan))
}).store;" ], [ 2.1160085452721e-06, 'me', "//today playing with envelopes and trying out new History class" ] ]