-
... 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 ...
-
... c303" , ~node, 1, 1); // make the step sequencer ~seqr = Routine .new({ loop({ // turn on LED {~tStepLED[~step].background_( Color .new(1,0,0)); /*(~step.asString + "on").postln;*/ }.defer; if(~noteOns[~step].coin, { ...
-
... one-frame-per-control-block { var data; data = PlayBuf.kr(numFeatures, databuf, loop: 1); SOMTrain.kr(sombuf, data, netsize, numdims, /* traindur: */ numFramesToDo, nhood, 1, initweight); Line.kr(dur, 0, dur, doneAction: 2).poll(0.1, "train ...
-
... the release of the Task SystemClock.sched(dur, { group.freeAll; task.stop; }); loop({ // place the filter notes after the noisesynth pnotes[\filts].note(addAction: \after, target: noisesynth) .dur_(1) .outbus_(filtbus) // route output for ...
-
... t synthdef v.play; // plays default sound with held arpeggio Tdef(\a, { v.play; loop { 3.do { |j| (0, 3 .. 21).do { |note| var midinote = note + 60 - j; v.put(midinote, [\freq, midinote.midicps]); defer ({ v.release(midinote) }, 2); 0.25.wa ...
-
... 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 ...
-
... sRange: [10, 1000], panRange: [-1.0, 1.0] ) ); Tdef(\cloud0, { |e| loop { s.sendBundle(s.latency, [ "/s_new", e.synName ? \bufGab, -1, 0, 0, \rate, ~dirSwitch*(exprand(e.current.rateRange[0], e.current.rateRange ...
-
... 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 : ...