-
... arts = this.sortParts; theseParts.do({arg aPart; var guidoPart; aPart.splitAtBarline; aPart.fillWithRests; guidoPart = aPart.asGuidoPart; guidoScore.add(guidoPart); }); ^guidoScore; } asLPScore { var lpScore, theseParts; lpScore = LPScore.n ...
-
... to use some example hack from function-hacks.scd // for convenience, here is a line of code that will open it for you. // resolveRelative expands the path to the directory of the current document Document.open("function-hacks.scd".resolveR ...
-
... umChannels)*i), bounds.width, bounds.height/numChannels)) .readOnly_(true) .drawLines_(discrete.not) .drawRects_(discrete) .canFocus_(false) .thumbSize_(thumbsize) .valueThumbSize_(1) .background_(XiiColors.lightgreen) .colors_(XiiColors.da ...
-
... ct, freq), Silent.ar()] ); verb = FreeVerb.ar(resonance*ampCtl, ampCtl, 1, 0.5, Line.kr(0, 0.6, 0.5, mul: 0.7)); verb = LeakDC.ar(verb); verb * envGen * amp; }; ~setup = {};
-
... e.ar) + Rand (0, 10), 0, 0.1) }; ~ensemble = 1; // tune up a bit; ~ensemble = { Line .ar(0, 2, 10) }; // Henry pushes his proxyspace r.push; ~out.play; ~out = { Ringz .ar( Impulse .ar(9, 0, 0.8), ~ensemble.ar * 300 + 400, 0.2) }; ~ensemble ...
-
... OS: // look in System Prefs/Network/WiFi, // or in Terminal with ifconfig, find lines with "inet " and IP4 pattern xxx.xxx.xxx.xxx // or in SC, select those lines: unixCmdGetStdOutLines("ifconfig").select(_.contains("inet ")).printcsAll; "" ...
-
... trig=0, pitch=1, startPos=0, endPos= -1; var playbuf, env; env = EnvGen.ar(Env.linen(0.00001, (endPos-startPos)/44100, 0.0001), doneAction:2); playbuf = LoopBuf.ar(1, bufnum, pitch, trig, startPos, startPos, endPos) * vol * env; Out.ar(out ...
-
... en.width= 1; world.objects.do{|o| //--render ploc= o.pendulumLoc2D.asPoint; Pen.line(o.loc.asPoint, ploc); Pen.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; o= world.objects; }; w.play; CmdPeriod.doOnce({w.close}); ) /* ...
-
... e data to plot. ns Number of rows. Each row will be plotted as a separate graph line. label Labels to use. - Example - // create an instance and plot data: g = GNUPlot .new; g.plot( [0,2,3,2,1,0.4] ); // plot several sets of data in one fig ...
-
... e data to plot. ns Number of rows. Each row will be plotted as a separate graph line. label Labels to use. - Example - // create an instance and plot data: g = GNUPlot .new; g.plot( [0,2,3,2,1,0.4] ); // plot several sets of data in one fig ...