///////////////////////////////////////////////////
// History, as it was on Tue Jun 19 01:06:50 2007.
///////////////////////////////////////////////////

// - 0:0:0 -  
p= ProxySpace.push(s.boot)

// - 0:0:7.37 -  
p.makeTempoClock(2)

// - 0:0:11.99 -  
c= p.clock

// - 0:0:16.54 -  
~out.ar(2)

// - 0:0:22.29 -  
~out.play

// - 0:1:24.84 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| Pan2.ar(SinOsc.ar(freq, 0, amp), pan)}

// - 0:1:33.26 -  
~out= ~bas

// - 0:2:2.22 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp), 500), pan)}

// - 0:2:38.16 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 1), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp*e), 500), pan)}

// - 0:2:43.43 -  
~bas.set(\t_trig, 1)

// - 0:2:59.28 -  
Tdef(\bas).play(c, quant:4)

// - 0:3:18.01 -  
(
Tdef(\bas, {
	inf.do{|i|
		~bas.set(\t_trig, 1);
		1.wait;
	}
})
);

// - 0:4:20.51 -  
(
Tdef(\bas, {
	var f= Pseq([60, 62, 55, 55], inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next);
		4.wait;
	}
})
);

// - 0:4:35.67 -  
(
Tdef(\bas, {
	var f= Pseq([60, 62, 55, 55], inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps);
		4.wait;
	}
})
);

// - 0:5:3.69 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]*0.5, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps);
		4.wait;
	}
})
);

// - 0:5:20.37 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps);
		4.wait;
	}
})
);

// - 0:5:28.57 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps);
		4.wait;
	}
})
);

// - 0:5:43.46 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps);
		8.wait;
	}
})
);

// - 0:5:59.45 -  
c.beatDur

// - 0:6:3.72 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.perc(0.05, c.beatDur*8), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp*e), 500), pan)}

// - 0:6:27.89 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.asr(0.05, c.beatDur*7.9, 0.1), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp*e), 500), pan)}

// - 0:6:41.13 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7.9, 0.1), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp*e), 500), pan)}

// - 0:7:2.48 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7.5, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp*e), 500), pan)}

// - 0:7:17.56 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp*e), 500), pan)}

// - 0:7:51.68 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(freq, 0, amp)*e, 500), pan)}

// - 0:8:3.55 -  
Tdef(\bas).pause

// - 0:9:10.22 -  
~fm= {|freq= 60, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(BPF.ar(SinOsc.ar(freq+SinOsc.ar(freq2, 0, amp2), 0, amp)*e, 500), pan)}

// - 0:9:18.14 -  
~out= ~bas+~fm

// - 0:9:25.3 -  
~fm.set(\t_trig, 1)

// - 0:9:51.39 -  
~fm= {|freq= 60, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(BPF.ar(SinOsc.ar(freq*SinOsc.ar(freq2, 0, amp2), 0, amp)*e, 500), pan)}

// - 0:9:53.33 -  
~fm.set(\t_trig, 1)

// - 0:10:26.55 -  
~fm= {|freq= 60, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(SinOsc.ar(freq*SinOsc.ar(freq2, 0, amp2), 0, amp)*e, pan)}

// - 0:10:28.99 -  
~fm.set(\t_trig, 1)

// - 0:10:33.26 -  
~fm= {|freq= 600, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(SinOsc.ar(freq*SinOsc.ar(freq2, 0, amp2), 0, amp)*e, pan)}

// - 0:10:35.14 -  
~fm.set(\t_trig, 1)

// - 0:10:49.56 -  
~fm= {|freq= 600, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(SinOsc.ar(freq+SinOsc.ar(freq2, 0, amp2), 0, amp)*e, pan)}

// - 0:10:57.21 -  
~fm.set(\t_trig, 1, \amp2, 100)

// - 0:11:6.04 -  
~fm= {|freq= 600, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(SinOsc.ar(freq+SinOsc.ar(freq2, 0, amp2*e), 0, amp)*e, pan)}

// - 0:11:9.76 -  
~fm.set(\t_trig, 1, \amp2, 100)

// - 0:11:16.98 -  
~fm= {|freq= 600, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 0.5), t_trig); Pan2.ar(SinOsc.ar(freq+SinOsc.ar(freq2*e, 0, amp2*e), 0, amp)*e, pan)}

// - 0:11:18.74 -  
~fm.set(\t_trig, 1, \amp2, 100)

// - 0:11:29.58 -  
~fm= {|freq= 600, freq2= 80, t_trig= 0, amp= 0.1, amp2= 0.2, pan= 0| var e= EnvGen.ar(Env.perc(0.05, 3), t_trig); Pan2.ar(SinOsc.ar(freq+SinOsc.ar(freq2*e, 0, amp2*e), 0, amp)*e, pan)}

// - 0:11:51.96 -  
Tdef(\arp).play(c, quant:4)

// - 0:13:36.82 -  
(
Tdef(\arp, {
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \amp2, (j*3+60).midicps);
			(1/6).wait;
		};
		3.wait;
	}
})
);

// - 0:13:47.57 -  
Tdef(\bas).resume

// - 0:14:22.35 -  
(
Tdef(\arp, {
	inf.do{|i|
		//6.do{|j|
			~fm.set(\t_trig, 1, \amp2, (80).midicps);
		//	(1/6).wait;
		//};
		1.wait;
		3.wait;
	}
})
);

// - 0:15:4.3 -  
(
Tdef(\arp, {
	inf.do{|i|
		//6.do{|j|
			~fm.set(\t_trig, 1, \amp2, (82).midicps);
		//	(1/6).wait;
		//};
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (75).midicps);
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (82).midicps);
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (84).midicps);
		1.wait;
	}
})
);

// - 0:15:19.73 -  
(
Tdef(\arp, {
	inf.do{|i|
		//6.do{|j|
			~fm.set(\t_trig, 1, \amp2, (82).midicps, \freq, 400);
		//	(1/6).wait;
		//};
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (75).midicps);
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (82).midicps);
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (84).midicps);
		1.wait;
	}
})
);

// - 0:15:39.58 -  
(
Tdef(\arp, {
	inf.do{|i|
		//6.do{|j|
			~fm.set(\t_trig, 1, \freq, (82).midicps, \amp2, 4);
		//	(1/6).wait;
		//};
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (75).midicps);
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (82).midicps);
		1.wait;
		~fm.set(\t_trig, 1, \amp2, (84).midicps);
		1.wait;
	}
})
);

// - 0:15:48.39 -  
Tdef(\arp).pause

// - 0:16:6.05 -  
~fm.set(\t_trig, 1, \freq, 84.midicps, \freq2, 10, \amp2, 10);

// - 0:16:14.31 -  
~fm.set(\t_trig, 1, \freq, 55.midicps, \freq2, 10, \amp2, 10);

// - 0:16:18.2 -  
~fm.set(\t_trig, 1, \freq, 75.midicps, \freq2, 10, \amp2, 10);

// - 0:16:23 -  
~fm.set(\t_trig, 1, \freq, 76.midicps, \freq2, 10, \amp2, 10);

// - 0:16:27.08 -  
~fm.set(\t_trig, 1, \freq, 78.midicps, \freq2, 10, \amp2, 10);

// - 0:16:34.06 -  
~fm.set(\t_trig, 1, \freq, 80.midicps, \freq2, 10, \amp2, 10);

// - 0:16:39.55 -  
~fm.set(\t_trig, 1, \freq, 82.midicps, \freq2, 10, \amp2, 10);

// - 0:16:46.16 -  
~fm.set(\t_trig, 1, \freq, 78.midicps, \freq2, 10, \amp2, 10);

// - 0:16:48.89 -  
~fm.set(\t_trig, 1, \freq, 76.midicps, \freq2, 10, \amp2, 10);

// - 0:16:56.9 -  
~fm.set(\t_trig, 1, \freq, 75.midicps, \freq2, 10, \amp2, 10);

// - 0:18:12.2 -  
(
Tdef(\arp, {
	var f= Pseq([76, 80, 82, 75], inf).asStream;
	inf.do{|i|
		//6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
		//	(1/6).wait;
		//};
		1.wait;
		
	}
})
);

// - 0:18:18.39 -  
Tdef(\arp).resume

// - 0:18:30.99 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		//6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
		//	(1/6).wait;
		//};
		1.wait;
		
	}
})
);

// - 0:18:55.54 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
			(1/6).wait;
		};
		1.wait;
		
	}
})
);

// - 0:19:23.55 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
			(1/8).wait;
		};
		(1/8).wait;
		(1/8).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
		1.wait;
		
	}
})
);

// - 0:19:45.63 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		4.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
			(1/8).wait;
		};
		(1/8*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
		1.wait;
		
	}
})
);

// - 0:20:4.82 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		4.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 1);
			(1/8).wait;
		};
		(1/8*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:20:12.91 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		4.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j, \freq2, 10);
			(1/8).wait;
		};
		(1/8*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:20:20.27 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		4.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j, \freq2, 40);
			(1/8).wait;
		};
		(1/8*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:20:31.63 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		4.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*40, \freq2, 40);
			(1/8).wait;
		};
		(1/8*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:20:43.8 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		4.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/8).wait;
		};
		(1/8*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:21:3.54 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/8).wait;
		};
		(1/6*2).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:21:12.6 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/6).wait;
		};
		(1/6*2).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:21:26.02 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/6).wait;
		};
		(1/6*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:21:42.81 -  
(
Tdef(\arp, {
	var f= Pseq([77, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/6).wait;
		};
		//(1/6*4).wait;
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:22:1.86 -  
(
Tdef(\arp, {
	var f= Pseq([75, 80, 82, 75], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:22:11.12 -  
(
Tdef(\arp, {
	var f= Pseq([75, 80, 82, 77], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 15);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:22:25.87 -  
(
Tdef(\arp, {
	var f= Pseq([75, 80, 82, 77], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:23:45.74 -  
~sn= {|t_trig= 0, pan= 0| Pan2.ar(BPF.ar(PinkNoise.ar(EnvGen.ar(Env.perc, t_trig)), 2000, 0.2), pan)}

// - 0:23:57.17 -  
~out= ~sn+~arp+~bas

// - 0:24:3.79 -  
~out= ~sn+~fm+~bas

// - 0:24:16.68 -  
Tdef(\sn).play(c, quant:4)

// - 0:24:52.37 -  
(
Tdef(\sn, {
	0.5.wait;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2);
		1.wait;
	}
})
);

// - 0:25:11.5 -  
~sn= {|t_trig= 0, pan= 0| Pan2.ar(BPF.ar(PinkNoise.ar(EnvGen.ar(Env.perc(0.001, 0.1), t_trig)), 2000, 0.2), pan)}

// - 0:25:27.45 -  
~sn= {|cutoff= 2000, t_trig= 0, pan= 0| Pan2.ar(BPF.ar(PinkNoise.ar(EnvGen.ar(Env.perc(0.001, 0.1), t_trig)), cutoff, 0.2), pan)}

// - 0:26:7.73 -  
(
Tdef(\sn, {
	var f= Pseq([2000, 4000, 2000, 6000], inf).asStream;
	0.5.wait;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next);
		1.wait;
	}
})
);

// - 0:27:2.21 -  
a= {[1.0.rand, 0].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:27:31.95 -  
(
Tdef(\sn, {
	var f= Pseq([2000, 4000, 2000, 6000], inf).asStream;
	0.5.wait;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i));
		1.wait;
	}
})
);

// - 0:27:50.88 -  
~sn= {|amp= 0.1, cutoff= 2000, t_trig= 0, pan= 0| Pan2.ar(BPF.ar(PinkNoise.ar(EnvGen.ar(Env.perc(0.001, 0.1), t_trig)), cutoff, 0.2), pan, amp)}

// - 0:28:3.58 -  
(
Tdef(\sn, {
	var f= Pseq([2000, 4000, 2000, 6000], inf).asStream;
	0.5.wait;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i));
		0.25.wait;
	}
})
);

// - 0:28:15.83 -  
(
Tdef(\sn, {
	var f= Pseq([2000, 4000, 2000, 6000], inf).asStream;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i));
		0.25.wait;
	}
})
);

// - 0:28:57.58 -  
a= a.collect{|x, y| if(y%4==2, 1, x)}

// - 0:29:20.46 -  
(
Tdef(\sn, {
	var f= Pseq([2000, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i));
		0.25.wait;
	}
})
);

// - 0:30:17.46 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Pseq([60, 60, 80, 80], 4)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:31:38.54 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([59, 59, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:31:57.44 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([58, 58, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:32:10.64 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([61, 61, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:32:26.55 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([62, 62, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 1, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:32:37.88 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([62, 62, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 10, \freq2, 10);
		1.wait;
		
	}
})
);

// - 0:33:5.82 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([63, 63, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 10, \freq2, i%10);
		1.wait;
		
	}
})
);

// - 0:33:21.85 -  
(
Tdef(\arp, {
	var f= Pseq([Pseq([75, 80, 82, 77], 4), Prand([Pseq([60, 60, 80, 80], 4), Pseq([64, 64, 80, 80], 4)], 1)], inf).asStream;
	inf.do{|i|
		6.do{|j|
			~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, j*10, \freq2, 150);
			(1/6).wait;
		};
		~fm.set(\t_trig, 1, \freq, f.next.midicps, \amp2, 10, \freq2, i%10);
		1.wait;
		
	}
})
);

// - 0:33:35.87 -  
a= {[1.0.rand, 0].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:33:47.94 -  
a= a.collect{|x, y| if(y%4==2, 1, x)}

// - 0:34:23.74 -  
~bas= {|freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(freq, 0, amp)*e, 1500), pan)}

// - 0:34:45.17 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(freq, 0, amp)*e, cutoff), pan)}

// - 0:35:39.89 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps);
		if(i%4==0, {
			4.wait;
			~bas.set(\t_trig, 1, \freq, f.next.midicps);
			4.wait;
		}, {
			8.wait;
		});
	}
})
);

// - 0:36:23.51 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500);
		if(i%4==0, {
			4.wait;
			~bas.set(\t_trig, 1, \freq, f.next.midicps);
			4.wait;
		}, {
			8.wait;
		});
	}
})
);

// - 0:37:15.75 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(freq+EnvGen.kr(Env.perc, t_trig, 30), 0, amp)*e, cutoff), pan)}

// - 0:37:35.33 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), 0, amp)*e, cutoff), pan)}

// - 0:38:3.76 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), 0, amp*2)*e, cutoff), pan)}

// - 0:38:55.92 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.1, 0.2), t_trig, 2pi), amp*2)*e, cutoff), pan)}

// - 0:39:5.1 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*2)*e, cutoff), pan)}

// - 0:39:15.33 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:42:8.89 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, 0.1), t_trig); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.5, 0.25]*amp))+t_trig, 0)}

// - 0:42:17.64 -  
~out= ~sn+~fm+~bas+~bd

// - 0:42:23.01 -  
~bd.set(\t_trig, 1)

// - 0:42:26.35 -  
~bd.set(\t_trig, 1)

// - 0:42:27.34 -  
~bd.set(\t_trig, 1)

// - 0:42:34.93 -  
~bd.set(\t_trig, 1, \amp, 0.7)

// - 0:42:38.07 -  
~bd.set(\t_trig, 1, \amp, 1)

// - 0:42:51.7 -  
~out.fadeTime_(5)

// - 0:42:55.59 -  
~out= ~sn+~bas+~bd

// - 0:43:3.59 -  
~out= ~sn+~bd

// - 0:43:8.03 -  
~bd.set(\t_trig, 1, \amp, 1)

// - 0:43:14.91 -  
~out= ~sn+~fm+~bas+~kik

// - 0:43:21.13 -  
~kik.set(\t_trig, 1)

// - 0:43:23.69 -  
~kik.set(\t_trig, 1)

// - 0:43:25.92 -  
~kik.set(\t_trig, 1, \amp, 0.7)

// - 0:43:29.9 -  
~kik.set(\t_trig, 1, \amp, 1)

// - 0:43:44.08 -  
~out.fadeTime_(5)

// - 0:43:47.47 -  
~out= ~sn+~bas

// - 0:43:59.71 -  
~out= ~sn+~kik

// - 0:44:12.45 -  
~kik.set(\t_trig, 1, \amp, 1)

// - 0:44:23.87 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, 0.1), t_trig); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.5, 0.25]*amp*e))+t_trig, 0)}

// - 0:44:26.62 -  
~kik.set(\t_trig, 1, \amp, 1)

// - 0:44:28.63 -  
~kik.set(\t_trig, 1, \amp, 1)

// - 0:44:30.64 -  
~kik.set(\t_trig, 1, \amp, 1)

// - 0:44:44.07 -  
Tdef(\kik).play(c, quant:4)

// - 0:45:3.38 -  
(
Tdef(\kik, {
	inf.do{|i|
		~kik.set(\t_trig, 1, \amp, 0.7);
		1.wait;
	}
})
);

// - 0:45:21.11 -  
a= {[1.0.rand, 0].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:45:27.11 -  
a= a.collect{|x, y| if(y%4==2, 1, x)}

// - 0:46:57.17 -  
(
Tdef(\kik, {
	var hick;
	inf.do{|i|
		~kik.set(\t_trig, 1, \amp, 0.7);
		if(0.1.coin, {
			hick= 1.0.rand.round(0.1);
			hick.wait;
			~kik.set(\t_trig, 1, \amp, 0.3.rand);
			(1-hick).wait;
		}, {
			1.wait;
		});
	}
})
);

// - 0:47:29.09 -  
(
Tdef(\kik, {
	var hick;
	inf.do{|i|
		~kik.set(\t_trig, 1, \amp, 0.7);
		if(0.1.coin, {
			hick= [0.25, 0.5, 0.75].choose;
			hick.wait;
			~kik.set(\t_trig, 1, \amp, 0.3.rand);
			(1-hick).wait;
		}, {
			1.wait;
		});
	}
})
);

// - 0:48:0.93 -  
(
Tdef(\kik, {
	var hick;
	inf.do{|i|
		~kik.set(\t_trig, 1, \amp, 0.7);
		if(0.1.coin, {
			hick= [0.125, 0.125, 0.25, 0.5, 0.75].choose;
			hick.wait;
			~kik.set(\t_trig, 1, \amp, 0.3.rand);
			(1-hick).wait;
		}, {
			1.wait;
		});
	}
})
);

// - 0:48:33.07 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, 0.1), t_trig); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.6, 0.4]*amp*e))+t_trig, 0)}

// - 0:48:39.2 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, 0.13), t_trig); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.6, 0.4]*amp*e))+t_trig, 0)}

// - 0:49:21.07 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, SinOsc.kr(0.2, 0, 0.05, 0.11), t_trig)); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.6, 0.4]*amp*e))+t_trig, 0)}

// - 0:50:17.06 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 1, 0, SinOsc.kr(0.2, 0, 0.05, 0.11)); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.6, 0.4]*amp*e))+t_trig, 0)}

// - 0:50:41.15 -  
~kik= {|t_trig= 0, freq= 40, amp= 0.1| var e= EnvGen.ar(Env.perc(0.01, 0.11), t_trig); Pan2.ar(Mix(SinOsc.ar(freq*[1, 2.01, 3.02], 0, [1, 0.6, 0.4]*amp*e))+t_trig, 0)}

// - 0:51:17.22 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)*SinOsc.ar(400)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:51:27.2 -  
~out= ~sn+~bas

// - 0:51:35.16 -  
~out= ~sn+~kik

// - 0:51:40.49 -  
~out= ~sn+~kik+~bas

// - 0:51:51.65 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)*SinOsc.ar(4000)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:51:57.42 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)*SinOsc.ar(4000, 0, 2)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:52:7.63 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)*SinOsc.ar(140, 0, 2)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:52:15.63 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(freq, 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:52:31.75 -  
a= {[1.0.rand, 0].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:52:35.68 -  
a= {[1.0.rand, 0].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:52:39.52 -  
a= {[1.0.rand, 0].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:52:49.24 -  
a= {[1.0.rand, 0, 1].wchoose([0.3, 0.6, 0.1])}.dup(16)

// - 0:52:55.66 -  
a= a.collect{|x, y| if(y%4==2, 1, x)}

// - 0:53:27.6 -  
(
Tdef(\sn, {
	var f= Pseq([200, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i));
		0.25.wait;
	}
})
);

// - 0:53:47.73 -  
(
Tdef(\sn, {
	var f= Pseq([500, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i));
		0.25.wait;
	}
})
);

// - 0:54:11.44 -  
(
Tdef(\sn, {
	var f= Pseq([500, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, f.next, \amp, a.wrapAt(i)*2);
		0.25.wait;
	}
})
);

// - 0:55:8.85 -  
(
Tdef(\sn, {
	var f= Pseq([500, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		var fnext= f.next;
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, fnext, \amp, a.wrapAt(i)*2, \dur, 6000/fnext);
		0.25.wait;
	}
})
);

// - 0:55:27.33 -  
~sn= {|dur= 0.1, amp= 0.1, cutoff= 2000, t_trig= 0, pan= 0| Pan2.ar(BPF.ar(PinkNoise.ar(EnvGen.ar(Env.perc(0.001, dur), t_trig)), cutoff, 0.2), pan, amp)}

// - 0:55:49.69 -  
~sn= {|q= 0.2, dur= 0.1, amp= 0.1, cutoff= 2000, t_trig= 0, pan= 0| Pan2.ar(BPF.ar(PinkNoise.ar(EnvGen.ar(Env.perc(0.001, dur), t_trig)), cutoff, q), pan, amp)}

// - 0:56:27.41 -  
(
Tdef(\sn, {
	var f= Pseq([500, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		var fnext= f.next;
		~sn.set(\t_trig, 1, \pan, 0.4.rand2, \cutoff, fnext, \amp, a.wrapAt(i)*2, \dur, 6000/fnext/2, \q, i%64/63+0.05);
		0.25.wait;
	}
})
);

// - 0:56:56.23 -  
(
Tdef(\sn, {
	var f= Pseq([500, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		var fnext= f.next;
		~sn.set(\t_trig, 1, \pan, i%12/11*0.5-0.5, \cutoff, fnext, \amp, a.wrapAt(i)*2, \dur, 6000/fnext/2, \q, i%64/63+0.05);
		0.25.wait;
	}
})
);

// - 0:57:19.34 -  
(
Tdef(\sn, {
	var f= Pseq([500, 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		var fnext= f.next;
		~sn.set(\t_trig, 1, \pan, i%12/11-0.5, \cutoff, fnext, \amp, a.wrapAt(i)*2, \dur, 6000/fnext/2, \q, i%64/63+0.05);
		0.25.wait;
	}
})
);

// - 0:57:45.23 -  
(
Tdef(\sn, {
	var f= Pseq([Prand([500, 250, 750], 1), 4000, 2000, 6000, 2000, 1500, 2000], inf).asStream;
	inf.do{|i|
		var fnext= f.next;
		~sn.set(\t_trig, 1, \pan, i%12/11-0.5, \cutoff, fnext, \amp, a.wrapAt(i)*2, \dur, 6000/fnext/2, \q, i%64/63+0.05);
		0.25.wait;
	}
})
);

// - 0:58:2.37 -  
(
Tdef(\sn, {
	var f= Pseq([Prand([500, 250, 750], 1), 4000, 2000, 6000, 2000, Prand([500, 250, 750], 1), 2000], inf).asStream;
	inf.do{|i|
		var fnext= f.next;
		~sn.set(\t_trig, 1, \pan, i%12/11-0.5, \cutoff, fnext, \amp, a.wrapAt(i)*2, \dur, 6000/fnext/2, \q, i%64/63+0.05);
		0.25.wait;
	}
})
);

// - 0:58:35.4 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.05, c.beatDur*7, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq, 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:58:47.37 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.01, c.beatDur*6, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq, 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.1), t_trig, 2pi), amp*3)*e, cutoff), pan)}

// - 0:59:7.43 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.01, c.beatDur*6, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq, 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.07), t_trig, 2pi*2), amp*3)*e, cutoff), pan)}

// - 0:59:34.84 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.01, c.beatDur*6, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq, 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.07), t_trig, 2pi*2), amp*3)*e, cutoff+LFNoise2.kr(0.5, 100)), pan)}

// - 0:59:59.53 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.01, c.beatDur*6, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq+LFNoise2.kr(0.5, 10), 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.07), t_trig, 2pi*2), amp*3)*e, cutoff+LFNoise2.kr(0.5, 100)), pan)}

// - 1:0:6.42 -  
~bas= {|cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.01, c.beatDur*6, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq+LFNoise2.kr(0.5, 2), 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.07), t_trig, 2pi*2), amp*3)*e, cutoff+LFNoise2.kr(0.5, 100)), pan)}

// - 1:1:44.33 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500);
		if(i%4==0, {
			if(0.2.coin, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80);
				4.wait;
			}, {
				4.wait;
				~bas.set(\t_trig, 1, \freq, f.next.midicps);
				4.wait;
			})
		}, {
			8.wait;
		});
	}
})
);

// - 1:2:33.52 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500);
		if(i%4==i.div(3), {
			if(0.2.coin, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80);
				4.wait;
			}, {
				4.wait;
				~bas.set(\t_trig, 1, \freq, f.next.midicps);
				4.wait;
			})
		}, {
			8.wait;
		});
	}
})
);

// - 1:3:17.93 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
		if(i%4==i.div(3), {
			if(0.2.coin, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.wait;
				~bas.set(\t_trig, 1, \freq, f.next.midicps, \dur, 1);
				4.wait;
			})
		}, {
			8.wait;
		});
	}
})
);

// - 1:3:35.43 -  
~bas= {|dur= 1, cutoff= 500, freq= 60, t_trig= 0, amp= 0.1, pan= 0| var e= EnvGen.ar(Env.linen(0.01, c.beatDur*6*dur, 0.5), t_trig); Pan2.ar(LPF.ar(LFSaw.ar(Lag2.kr(freq+LFNoise2.kr(0.5, 2), 0.5), 0, amp)+SinOsc.ar(EnvGen.kr(Env.perc, t_trig, 30, freq), EnvGen.ar(Env.perc(0.01, 0.07), t_trig, 2pi*2), amp*3)*e, cutoff+LFNoise2.kr(0.5, 100)), pan)}

// - 1:4:15.5 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
		if(i%4==i.div(3), {
			if(0.5.coin, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.wait;
				~bas.set(\t_trig, 1, \freq, f.next.midicps, \dur, 1);
				4.wait;
			})
		}, {
			8.wait;
		});
	}
})
);

// - 1:4:39.71 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
			if(0.5.coin, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			})
	}
})
);

// - 1:5:15.39 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-24, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.wait;
			});
	}
})
);

// - 1:5:41.47 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.wait;
			});
	}
})
);

// - 1:6:0.89 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				~bas.set(\t_trig, 1);
				1.wait;
			});
	}
})
);

// - 1:6:20.43 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next.midicps, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				~bas.set(\t_trig, 1, \dur, 0.01);
				1.wait;
			});
	}
})
);

// - 1:6:34.51 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				~bas.set(\t_trig, 1, \dur, 0.01);
				1.wait;
			});
	}
})
);

// - 1:6:55.58 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				~bas.set(\t_trig, 1, \dur, 0.001);
				0.5.wait;
			});
	}
})
);

// - 1:7:25.94 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.do{
				~bas.set(\t_trig, 1, \dur, 0.001);
				0.5.wait;
				}
			});
	}
})
);

// - 1:7:44 -  
(
Tdef(\bas, {
	var f= Pseq([60, 61.9, 55, 55]-12, inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.do{
				~bas.set(\t_trig, 1, \dur, 0.01);
				0.5.wait;
				}
			});
	}
})
);

// - 1:8:12.77 -  
(
Tdef(\bas, {
	var f= Pseq([40, 100], inf).asStream;
	inf.do{|i|
		~bas.set(\t_trig, 1, \freq, f.next, \cutoff, i%32*10+500, \dur, 1);
			if(i%4==2, {
				2.wait;
				~bas.set(\t_trig, 1, \freq, 40, \dur, 0.1);
				2.wait;
				~bas.set(\t_trig, 1, \freq, 80, \dur, 0.12);
				4.wait;
			}, {
				4.do{
				~bas.set(\t_trig, 1, \dur, 0.01);
				0.5.wait;
				}
			});
	}
})
);

// - 1:8:31.94 -  
Tdef(\bas).stop

// - 1:8:44.58 -  
Tdef(\sn).stop

// - 1:9:11.57 -  
Tdef(\fm).resume

// - 1:9:27.45 -  
~out= ~kik+~fm

// - 1:9:36.73 -  
~out= ~kik+~fm+~sn

// - 1:9:40.84 -  
Tdef(\sn).play

// - 1:9:52.33 -  
~out.release(30)

// - 1:9:58.85 -  
Tdef(\sn).stop

// - 1:10:3.83 -  
Tdef(\kik).stop

// - 1:10:20.09 -  
Tdef(\fm).stop

// - 1:10:26.09 -  
p.clear

// - 1:10:28.13 -  
p.pop