-
... width*2-1; synths[i].set(\amp, amp, \freq, freq, \pan, pan); }; sys.update; //--render Pen.fillColor= Color.grey(1, 0.4); sys.do{|o, i| if(i.odd, { Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.fillRect(Rect.aboutRedObject2D(o)); }); }; ...
-
... nlin(0, 5, 1200, 200), \pan, o.loc[0].linlin(0, width, dep.neg, dep) ); }); //--render Pen.fillColor= Color.grey(dep.clip(0, 1), 0.75); Pen.fillOval(Rect.aboutRedObject3D(o, ss, ff)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {s ...
-
... If not, see <http://www.gnu.org/licenses/>. */ UEvent : UArchivable { classvar >renderNumChannels = 2; classvar <>renderMaxTime = 60; classvar <>renderHeaderFormat = "WAV"; classvar <>renderSampleFormat = "int24"; classvar <>nrtMode = false ...
-
... elease this, I guess group release will sort that out //could refine CPU use by rendering one playbuf for all later repeats (need to know block.length-cuts[0][0] and sending retrigger messages for each cut //will have bbcutgroups providing ...
-
... ulumLoc2D; Pen.strokeColor= Color.white; Pen.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; }; ...
-
... n` points (optionally specified as directional pairs of `[azimuth, elevation]`) rendered through a 3-D or orthogonal projection. The model of points can be rotated or animated and the perspective can also be manipulated. Points can be displ ...
-
... t = 0.01 */ ~name = \stereoListener; ~description = "A listener with near-field rendering"; ~channelLayout = \mono; ~numChannels = 2; ~angles = [-90, 90]; ~function = { |in = 0, aziDeg = 0, eleDeg = 0, gainDB = -99, delayMs = 1, lpHz = 1500 ...
-
... dth; o.loc[1]= o.phase.cos*o.amp/2+0.5*height; o.size= o.delta.abs*40+4; }; //--render world.objects.do{|o| Pen.fillColor= Color.grey((o.delta.abs*10+0.25).min(1), 0.8); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce ...
-
... cklength=currphraselength; cuts=[blocklength]; //offsets are now decided by cut renderer bbcutsynth.chooseoffset(phrasepos,beatspersubdiv,currphraselength); this.updateblock; this.endBlockAccounting; } //don't call this.updateblock if infin ...
-
... }; o.update; //object update world.contain(o); //keep within world borders //--render if(o.isKindOf(RedRock), { Pen.fillColor= Color.blue(1, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }, { Pen.strokeColor= Color.grey(0.7, 0.9); Pen.stro ...