-
... score.isStopped } { score.prepareAndStart( ULib.servers, score.pos, true, score.loop); }; }, 48, { // 0 score.jumpTo( 0 ); }, ); }; }; }); ^view; } { ^view.front; }; } *asUGenInput { ^gain.asUGenInput } *asControlInput { ^gain.asControlInpu ...
-
... window.view.bounds.insetBy(10,10), d.hour, d.minute, d.second ) }; t = Task ({ loop { d.localtime; { if( w.notNil && { w.dataptr.notNil }) { w.refresh; } }.defer; 1.0.wait } }).start; w.onClose_({ t.stop; }); w.refresh; ) ( // post all key ...
-
... eView.new( w, Rect( 0, 0, 1200, 800 )) ; m.path_(path) ; w.front; task = Task({ loop({ time.wait; // counter = counter + time ; // ("refreshing after"+counter+"secs").postln; // m.path_(path) ; m.reload; }) }, AppClock).start } }
-
... ig, 1 ); // t = Task({ { a.set(\t_trig, 1); 1.wait; a=~function.play; s.sync; }.loop }); t = Task({ { a.set(\t_trig, 1); 0.2.wait; }.loop }); t.start; }.fork; a.set(\c1, 30); a.set(\c3, 50); */ /* //PLAY it. ( a = Scale.new( #[0, 1, 3, 5, 7 ...
-
... .05) .phase_(2pi.rand) .phase2_(2pi.rand) .amp_(0.85) }; ~showLinks= false; //--loop w.draw{ Pen.strokeColor= Color.grey(0.5, 0.5); world.objects.do{|o, i| o.couple(world.objects.wrapAt(i-1), world.objects.wrapAt(i+1)); }; world.objects.do{ ...
-
... oxy(server, \control, nBands + 1); ampsPx.source = this.ampsFunc; task = Task { loop { max(0.1, dt).wait; this.poll({ |mAmps| { this.setAmps(mAmps) }.defer; }); }; }; } midDb_ { |val| midDb = val.clip(-100, 0); midSl.value_(midDb); } rangeD ...
-
... oxy(server, \control, nBands + 1); ampsPx.source = this.ampsFunc; task = Task { loop { max(0.1, dt).wait; this.poll({ |mAmps| { this.setAmps(mAmps) }.defer; }); }; }; } midDb_ { |val| midDb = val.clip(-100, 0); midSl.value_(midDb); } rangeD ...
-
... anent) \\ SkipJack (\ if(isPlaying) \ this .adjust \ \, dt).start;\ \ \\ Task \ loop \ dt.wait; if(isPlaying) \ this .adjust \ \ \.play;\ \;\ \\ stopListen \\ listener.stop;\ \\ \ allPermanent \\ ^permanent and: \ others.every( _ .permanent ...
-
... xOfEqual(ar).isInteger) { res } { i=i+1; // this test avoid SC to crash for inf loop if(i>100000, { "something went wrong! Please report this issue.".error; res[0] }, { res=res.add(ar); rec.(kpop.(ar, ind), ind, res, i) }) } }; if (ind.isNu ...
-
... il, need to startCountdown if(trigStartTime == nil, { this.startCountdown }); //Loop until valid values while { startVal = val; val = valStream.next(inval); dur = durStream.next(inval); curve = curveStream.next(inval); /* //If dur is inf, e ...