|
|
|
@ -259,9 +259,11 @@ post(" ");
|
|
|
|
|
|
|
|
|
|
~mainTimeline = Routine({
|
|
|
|
|
|
|
|
|
|
arg layer = 0;
|
|
|
|
|
|
|
|
|
|
var delta, playhead, frequency, amp, step=0,
|
|
|
|
|
nextdelta, nextplayhead, nextfrequency, nextamp,
|
|
|
|
|
frequency_alt, nextfrequency_alt, siLines;
|
|
|
|
|
nextdelta, nextplayhead, nextfrequency, nextamp,
|
|
|
|
|
frequency_alt, nextfrequency_alt, siLines;
|
|
|
|
|
|
|
|
|
|
siLines = ~siLinesData;
|
|
|
|
|
postln(siLines);
|
|
|
|
@ -270,12 +272,11 @@ post(" ");
|
|
|
|
|
while {
|
|
|
|
|
|
|
|
|
|
step < siLines.size;
|
|
|
|
|
layer == siLines[step]
|
|
|
|
|
|
|
|
|
|
} {
|
|
|
|
|
// exposition
|
|
|
|
|
//frequency = siLines[step][0].asFloat.linexp(3900, 7200, 16000, 40);
|
|
|
|
|
frequency = siLines[step][4].asFloat;
|
|
|
|
|
// frequency_alt = siLines[step][0].asFloat.linexp(3900, 7200, 40, 16000);
|
|
|
|
|
frequency_alt = siLines[step][5].asFloat;
|
|
|
|
|
playhead = siLines[step][0].asFloat;
|
|
|
|
|
nextfrequency = siLines[step+1][4].asFloat;
|
|
|
|
@ -293,7 +294,7 @@ post(" ");
|
|
|
|
|
post("| ");
|
|
|
|
|
post((playhead/60).round(1).asString.padLeft(2));
|
|
|
|
|
post(":");
|
|
|
|
|
post((playhead%60).round(1).asString.padLeft(2);
|
|
|
|
|
post((playhead%60).round(1).asString.padLeft(2));
|
|
|
|
|
post(" | ");
|
|
|
|
|
// post(siLines[step][2]);
|
|
|
|
|
// post( "nm | " );
|
|
|
|
|