-
+ ScaledUserView { drawTempoGrid { |tempoMap| var viewRect, pixelScale; var barLines, firstBar; var tempos, signatures, temposSignatures; var top, bottom, left60, leftRounded; var round, width, scaleAmt; if( tempoMap.isNil ) { tempoMap = Te ...
-
+ ScaledUserView { drawTempoGrid { |tempoMap| var viewRect, pixelScale; var barLines, firstBar; var tempos, signatures, temposSignatures; var top, bottom, left60, leftRounded; var round, width, scaleAmt; if( tempoMap.isNil ) { tempoMap = Te ...
-
... of FileWriter stamp Whether or not to add a time stamp at the beginning of each line (default false) del The delimiter to use (default a space, or rather the classvar delim ) mode Mode of writing (default "w"). Other useful option could be ...
-
... ghtObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftObj.loc.asPoint, leftWall.loc.asPoint); Pen.line(~rightObj.loc.asPoint, rightWall.loc.asPoint); Pen.stroke; Pen.strokeColor= Color.green; Pen.line(~le ...
-
... ialDict, partials; #freqs, levels, phases, attacks, ringtimes = data.collect { |line, j| line.first.split($,).drop(-1).collect(_.interpret); }; // missing last value // ringtimes = ringtimes.clipExtend(freqs.size); partials = [ freqs, ringt ...
-
... o = 0.1; var thisSymbolMinSize = 24; var thisSymbolMaxSize = 96; var thisDisplayLine = false; var thisDisplayValues = true; var thisFontRatio = 0.1; var thisRoundValues; var thisXDisplayFunction = nil; var thisYDisplayFunction = nil; var th ...
-
... ); }; } update { { this.refresh }.defer } drawContents { |scale = 1| var conf, lines; var count = 0; var letters; scale = scale.asArray.mean; conf = this.conf; if( conf.notNil ) { Pen.use({ var subArrays; // show selection Pen.scale(1,-1); ...
-
... t the posted data is in a regular array syntax, and each object starts at a new line. #[ a, b, c, d, e ].dopost; dopost returns an empty string (""), to ensure that the whole array is not posted again when using dopost on a single line eval ...
-
... oint(fs, Point(ub.width-fs.bounds(f1).width/2, wb.height-ub.bottom/2), f1); Pen.line(Point(0, 6), Point(ub.width, 6)); horizontalScale.do{|freq, i| var str= freq.asString; var x= freq.linlin(0, maxFreq, 0, ub.width-1); Pen.stringAtPoint(str ...
-
... =========================================== // Read in tab-separated values, on lines // e.g. in Arduino code: /* Serial.print(millis() - start); // check on performance in milliseconds Serial.print("\t"); // tab character for debug windown ...