-
... .if({ // 12.midiratio has rounding error, should be 2, is 1.999etc num = tuning.pop; (num == 12).if ({ // octave octaveRatio = 2; }, { octaveRatio = ratios.pop; }); }, { octaveRatio=2 }); } scale { /*@ desc: Generates a Scale which contains ...
-
... ues.pow(spread).integrate; values = values / (values.last); // normalize values.pop; // remove last item ^spec.map( values ); } } Scramble { // scramble an array // if trig == 1, scrambling will be performed once at init // trig can not be ...
-
... s( Main.elapsedTime, 0.0); }}, { var currentState = cohortState.at(\stateQueue).pop; cohortState.put(\current, currentState); }); } prSendState { | cohortState, wire | var msg = cohortState.at(\current).toMessage; msg[0] = '/clockUpdate'; w ...
-
... h, theta, noise| stack.add(List.new); nil; }, $]: {|length, theta, noise| stack.pop.reverseDo{|revert| revert.value; }; nil; }, $|: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.stroke; Pen.translate(0, length); {Pen. ...
-
... nDict[i].value(i, val, *history[i]); this.midiRecorderAdd( i, val ); history[i].pop; history[i].insert(0,val); }; midiSliders = Array.fill(nC, { |i| SCStaticText(window, Rect(20 + (i*40), windowH - 28, 30, 20)) .string_(i + 1).align_(\cente ...
-
... elocitiesText; var stringToFloats; //--gui var minNumber, maxNumber; var presetsPop; var clearButton; var usrView; var midiNotesText, midiVelocitiesText; var midiSendPop, midiSendBut; var win= Window("sKeyboard", winRect); win.layout= VLayo ...
-
... / 8.asAscii in Qt?? if (key == 127.asAscii) { "delete last line.".postln; lines.pop } } } checkUpdate { } }
-
... / 8.asAscii in Qt?? if (key == 127.asAscii) { "delete last line.".postln; lines.pop } } } checkUpdate { } }
-
... ringCenteredIn( lastLine, uv.bounds, Font("Monaco", 24), Color.grey(0.7) ); Pen.pop; }); // make draw window: Butz.add(\DRAW, { WinBounds.showOrMake(\DRAW) }); WinBounds.addMake(\DRAW, { // make a window ... q.draw.win = Window("DRAW", WinB ...
-
... tic.isNil), // if no argument, then... { if(changes.size>0, {this.root_(changes.pop.neg)}, //... return to the previous key {"already in original key!".error} ); }, { newRoot = chromatic; newRoot.isNil.if({ newRoot = scale.degrees.wrapAt(de ...