|
|
@ -74,9 +74,11 @@
|
|
|
|
~play.set(\sel, ~currentSection % 2);
|
|
|
|
~play.set(\sel, ~currentSection % 2);
|
|
|
|
~patterns[~sectionOrder[~currentSection]].play(~tempoClock, quant: 0);
|
|
|
|
~patterns[~sectionOrder[~currentSection]].play(~tempoClock, quant: 0);
|
|
|
|
if(~interludes && ((~currentSection % 4) == 3) && (~currentSection != (~sectionOrder.size - 1)), {
|
|
|
|
if(~interludes && ((~currentSection % 4) == 3) && (~currentSection != (~sectionOrder.size - 1)), {
|
|
|
|
var freq1, freq2, tremRate;
|
|
|
|
var center, interval, freq1, freq2, tremRate;
|
|
|
|
freq1 = (50 + 7.rand2).midicps;
|
|
|
|
center = 43 + 7.rand2;
|
|
|
|
freq2 = (freq1.cpsmidi + 3.0.rand + 2).midicps;
|
|
|
|
interval = 3.0.rand + 2;
|
|
|
|
|
|
|
|
freq1 = (center + (interval / 2)).midicps;
|
|
|
|
|
|
|
|
freq2 = (center - (interval / 2)).midicps;
|
|
|
|
tremRate = 50 + 4.0.rand2;
|
|
|
|
tremRate = 50 + 4.0.rand2;
|
|
|
|
~interludeTremelo.set(\gate, 1, \amp, 1, \freq1, freq1, \freq2, freq2, \tremRate, tremRate);
|
|
|
|
~interludeTremelo.set(\gate, 1, \amp, 1, \freq1, freq1, \freq2, freq2, \tremRate, tremRate);
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -151,9 +153,11 @@
|
|
|
|
~play.set(\sel, ~currentSection % 2);
|
|
|
|
~play.set(\sel, ~currentSection % 2);
|
|
|
|
~patterns[~sectionOrder[~currentSection]].play(~tempoClock, quant: 0);
|
|
|
|
~patterns[~sectionOrder[~currentSection]].play(~tempoClock, quant: 0);
|
|
|
|
if(~interludes && ((~currentSection % 4) == 3) && (~currentSection != (~sectionOrder.size - 1)), {
|
|
|
|
if(~interludes && ((~currentSection % 4) == 3) && (~currentSection != (~sectionOrder.size - 1)), {
|
|
|
|
var freq1, freq2, tremRate;
|
|
|
|
var center, interval, freq1, freq2, tremRate;
|
|
|
|
freq1 = (50 + 7.rand2).midicps;
|
|
|
|
center = 43 + 7.rand2;
|
|
|
|
freq2 = (freq1.cpsmidi + 3.0.rand + 2).midicps;
|
|
|
|
interval = 3.0.rand + 2;
|
|
|
|
|
|
|
|
freq1 = (center + (interval / 2)).midicps;
|
|
|
|
|
|
|
|
freq2 = (center - (interval / 2)).midicps;
|
|
|
|
tremRate = 50 + 4.0.rand2;
|
|
|
|
tremRate = 50 + 4.0.rand2;
|
|
|
|
~interludeTremelo.set(\gate, 1, \amp, 1, \freq1, freq1, \freq2, freq2, \tremRate, tremRate);
|
|
|
|
~interludeTremelo.set(\gate, 1, \amp, 1, \freq1, freq1, \freq2, freq2, \tremRate, tremRate);
|
|
|
|
});
|
|
|
|
});
|
|
|
|