|
|
@ -255,13 +255,12 @@ finalizeAccompHigh = {arg sectionSeq;
|
|
|
|
|
|
|
|
|
|
|
|
sectionSeq.do({arg secData, secIndex;
|
|
|
|
sectionSeq.do({arg secData, secIndex;
|
|
|
|
var secEnd, freq, noRestCount, shortCount;
|
|
|
|
var secEnd, freq, noRestCount, shortCount;
|
|
|
|
secEnd = secData.postln[0];
|
|
|
|
secEnd = secData[0];
|
|
|
|
//freq = if(secType == 0, {62.midicps * 8}, {62.midicps * 8 * 6/5});
|
|
|
|
//freq = if(secType == 0, {62.midicps * 8}, {62.midicps * 8 * 6/5});
|
|
|
|
freq = if(secIndex.even, {62.midicps * 8}, {62.midicps * 8 * 6/5});
|
|
|
|
freq = if(secIndex.even, {62.midicps * 8}, {62.midicps * 8 * 6/5});
|
|
|
|
if(secData.last, {secType = ((secType + 1) % 2)});
|
|
|
|
if(secData.last, {secType = ((secType + 1) % 2)});
|
|
|
|
noRestCount = 0;
|
|
|
|
noRestCount = 0;
|
|
|
|
shortCount = 0;
|
|
|
|
shortCount = 0;
|
|
|
|
secIndex.postln;
|
|
|
|
|
|
|
|
while({timeStamp < secEnd}, {
|
|
|
|
while({timeStamp < secEnd}, {
|
|
|
|
var dur, sus, isShort, insertRest;
|
|
|
|
var dur, sus, isShort, insertRest;
|
|
|
|
|
|
|
|
|
|
|
@ -356,8 +355,8 @@ finalizeAccompLow = {arg guitarSeq, sectionSeq;
|
|
|
|
|
|
|
|
|
|
|
|
initSeq = genInitSeq.value;
|
|
|
|
initSeq = genInitSeq.value;
|
|
|
|
finalSeqs = finalizeSeqs.value(initSeq);
|
|
|
|
finalSeqs = finalizeSeqs.value(initSeq);
|
|
|
|
guitarSeq = finalSeqs[0].postln;
|
|
|
|
guitarSeq = finalSeqs[0];
|
|
|
|
accompHighSeq = finalizeAccompHigh.value(finalSeqs[1].postln.add([finalSeqs[0].slice(nil, 2).sum, -1, false]));
|
|
|
|
accompHighSeq = finalizeAccompHigh.value(finalSeqs[1].add([finalSeqs[0].slice(nil, 2).sum, -1, false]));
|
|
|
|
accompLowSeq = finalizeAccompLow.value(finalSeqs[0], finalSeqs[1]);
|
|
|
|
accompLowSeq = finalizeAccompLow.value(finalSeqs[0], finalSeqs[1]);
|
|
|
|
sectionSeq = finalSeqs[1];
|
|
|
|
sectionSeq = finalSeqs[1];
|
|
|
|
timeSigSeq = finalSeqs[2];
|
|
|
|
timeSigSeq = finalSeqs[2];
|
|
|
|