-
... useTracker.refresh; }); }.defer; }); } lazyRefresh { if( refreshDeferred.not, { AppClock.sched( 0.02, lazyRefreshFunc ); refreshDeferred = true; }); } // NODES setNodeShape_ {arg row, col, shape; if(col == nil, { shape = row; // 1st argumen ...
-
... rollSize) ); scroller = Routine.run({ loop { this.updateNav; 10.wait; } },clock:AppClock); },bounds ?? {Rect(0,0,1200,1300)}) } updateNav { if(nav.notClosed,{ navMax = this.messages.size + scrollSize; pixelsPerEvent = nav.bounds.width / nav ...
-
... and(buf) }, \gridrand, { this.initBufGridRand(buf, netsize, numdims) } ) }.play(AppClock); }; ^buf; } *initBufRand { |buf, minval = -1, maxval = 1| if(minval.isArray.not){ minval = minval.dup(buf.numChannels) }; if(maxval.isArray.not){ maxv ...
-
... l , the routine's clock will not be changed. (Note: Currently incompatible with AppClock ; rescheduling depends upon the method schedAbs , which AppClock does not implement.) quant A quantization specifier, identifying a time later than the ...
-
... it; }; this.prValue_(currentLeaf, true); }); }); this.prCloseAll(x, y); }).play(AppClock); } prOpen {|tree, offset, value| var window, userView; var width, height, x, y, wh, scroll; var items; //array of associations var selectedIndex; //in ...
-
... hing == false, { //"starting".postln; refreshRoutine.reset; refreshRoutine.play(AppClock); isRefreshing = true; }); mouseXY = (args[1]@args[2]); }) .mouseUpAction_ ({ if(isRefreshing, { //"stopping".postln; refreshRoutine.stop; isRefreshing ...
-
... dur, scaleOval * mul); 0.1.wait; }); n.renderAndDisplayImage }); routine.play( AppClock ); ) /* ----- ----- ----- ----- */ /* ----- ----- ----- ----- */ ( n = NB .new( "testing" , 500, 400); n.publish( " fill(random(), random(), random(), ...
-
... ib.servers.do(_.bootSync); bootFunc.value; "all servers booted".postln; }.fork( AppClock ); }) }, Platform.userAppSupportDir +/+ "wfs_synthdefs", true, buildArrayPanners ); }.bench; UEvent.nrtStartBundle = [ [ "/d_loadDir", Platform.userApp ...
-
... The default clock used is the SystemClock, but you may also specify to use the AppClock. An optional clientSideFunction can also be supplied that will be evaluated on the client at the exact time as the OSC bundle is scheduled to happen. T ...
-
... ; CmdPeriod.add( cper = { if(startbutt.value == 1, { startbutt.valueAction_(0); AppClock.sched(0.5, { startbutt.valueAction_(1) }); }); }); window.onClose_({ image.free; try{ fftSynth.free }; try{ fftbuf.free }; scopeOpen = false; this.stop ...