-
... ref = `true; listProxy = PL_ListProxy(list, envir).update; // avoid an infinite loop case listProxy.streamSources.isNil.if { ^inval }; offsetProxy = PL_Proxy(offset, envir); repeatsProxy = PL_Proxy(repeats, envir); cutItemsProxy = PL_Proxy( ...
-
... his.messages.size - scrollSize,0).round(scrollSize) ); scroller = Routine.run({ loop { this.updateNav; 10.wait; } },clock:AppClock); },bounds ?? {Rect(0,0,1200,1300)}) } updateNav { if(nav.notClosed,{ navMax = this.messages.size + scrollSiz ...
-
... eMethod), \ddwSynths); // use a pair of enveloped PlayBufs to avoid clicks when looping back on the sample SynthDef(\bufRoll, { |start, time = 1, bufnum, rate = 1, amp = 1, strokesPerSec = 18, attack = 0.002, decay = 0.01, // attack and dec ...
-
... gControlSpec : ControlSpec { *initClass { specs.addAll( [ \binary -> this.new, \loop -> this.new, \paused -> this.new ]; ) } defaultControl { arg val; ^KrNumberEditor.new(this.constrain(val ? this.default),this).lag_(nil) } } StaticSpec : N ...
-
... in), ([-25, 25] * (rotateCounter + (pi/2)).sin)]; }; refreshRoutine = Routine({ loop({ surfaceView.refresh; 0.04.wait; }); }); compositeBack = CompositeView(window, Rect(160, 0, window.bounds.width - 165, window.bounds.height)); surfaceView ...
-
... gControlSpec : ControlSpec { *initClass { specs.addAll( [ \binary -> this.new, \loop -> this.new, \paused -> this.new ]; ) } defaultControl { arg val; ^KrNumberEditor.new(this.constrain(val ? this.default), this).lag_(nil) } } StaticSpec : ...
-
... ; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.p ...
-
... { |str| fork { var m = str.iter.rewriteString(r, level); var b; Char .nl.post; loop { b = m.next; if(a.notNil and: b.isNil) { "\n" .post }; (b ? "" ).post; if(b.isNil) { nil .yield }; Synth .grain( \p , [ \freq , b.ascii - 97 * 200 + 300]) ...
-
... trolBusHandlers.put(orbitIndex, Dictionary.new); }); task = Task { //0.05.wait; loop { controlBusses[busId].get({ |value | if (orbits.at(orbitIndex).get(param) != value, { orbits.at(orbitIndex).set(param, value); if (shallUIBeUpdated == 1.0 ...
-
... l methods behave in the same way (in order to allow data log and avoid infinite loopback): // 1. user call them from outside (with the default flag internal=true) // 2. the message goes to the net and is automatically picked up for the OSCd ...