-
... en.color = Color.white.alpha_(0.4); Pen.width = vw.pixelScale.asArray.mean; Pen.line( -200 @ 0, 200 @ 0 ); Pen.line( 0 @ -200, 0 @ 200 ); Pen.stroke; }); this.prDrawContents( vw ); Pen.use({ this.drawFunc.value( vw ); }); }; view.unscaledDr ...
-
... sequences of chords from a string of roman degree numbers: In this string, each line represents a tonality and FUNDAMENTAL,MAJOR/MINOR, separeted by a colon. After this a sequence of roman numerals are added, and you can add secondary funct ...
-
... .translate(point.x, point.y); GUI.pen.moveTo(0@0); GUI.pen.rotate(rot); GUI.pen.line(0@0, 12@3); GUI.pen.line(0@0, 12@ -3); GUI.pen.color = Color.new(0,0,0,0.3); GUI.pen.strokeOval(Rect(-1*rangeradius, -1*rangeradius, rangeradius*2, rangera ...
-
... sPoint, force * scaling, force * scaling)); Pen.fill; Pen.color = avgColor; Pen.line((pos * extent).asPoint, (avgPos * extent).asPoint); Pen.stroke; Pen.color = wavgColor; Pen.line((pos * extent).asPoint, (avgWPos * extent).asPoint); Pen.st ...
-
... ir, { Pen.color = crosshaircolor; Pen.addRect( b.moveTo( 0, 0 )); Pen.clip; Pen.line( 0@mouseY, b.width@mouseY); Pen.line(mouseX @ 0, mouseX @ b.height); Pen.font = Font( "Helvetica", 10 ); Pen.stringAtPoint( "freq: "+freq.asString, mouseX ...
-
... emove any tab characters synthArgs = sString.split($\n); // we'll print one per line, including any comments ("SynthDef " ++ synth.asString ++ " args:\n").postln; // header text synthArgs.do({ |i| i.postln }); // post one per line ^synthArg ...
-
... } } }; finalF = { |array,clusterobject| clusterobject.items.collect{ |adas,i| ("line "++i); recursF2.(array,i) }}; ^finalF.(recursF1.(array,clusterObject), clusterObject) } *searchArrayForCluster{ |array| array.postln; array.do{ |item| item ...
-
... 2.0, 4.0) ) .value_( 0.5038806200027466 ); */ w.drawHook = { GUI .pen.width_(5).line( 10@10, 390@390 ).stroke }; w.refresh; w.asCode; // includes drawHook functions. But only if they use GUI.pen /* w = GUI.window.new("test-asCode", Rect(128 ...
-
... ; buf = Buffer.loadCollection(s, origdata, d+1); 0.2.wait; s.sync; thesynth = { Line.kr(0,0,1,doneAction:2); KMeansRT.kr(buf, {PinkNoise.kr}.dup(d), numclust, gate:1, reset:0, learn:0); }.play(s); 0.2.wait; s.sync; 1.0.wait; buf.loadToFloat ...
-
... tons, freezeButtons; var lengthSliders, skipButtons; var dirtyBuffers; var firstlineX, firstlineY, gapY; var stereoChList, monoChList; var win, canvas1, sampling, numChannels; // var style; var logo; // SND INPUT bus channels //*********** ...