-
... vert time into level timeSpec = ControlSpec.new(start, end, warp); guiUpdater = Routine({ startTime = thisThread.clock.beats; { (thisThread.clock.beats - startTime) <= dur }.while({ this.level_(timeSpec.map( (thisThread.clock.beats - startT ...
-
... m; Pwhile1 embeds stream values singly Pwhile1 : Pwhile { asStream { |cleanup| ^Routine({ arg inval; this.embedInStream(inval, cleanup) }) } embedInStream { |event, cleanup| var stream = pattern.asStream, next; cleanup ?? { cleanup = EventS ...
-
... rEvent = max(this.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.si ...
-
... noisebus, filtbus, ampsynth, ampbus, task, env; var cond; cond = Condition.new; Routine.run({ pnotes = CtkProtoNotes( SynthDef(\noise, {arg outbus; Out.ar(outbus, WhiteNoise.ar(1)); }), SynthDef(\filts, {arg outbus, inbus, dur, freq, amp; v ...
-
... Document .postColor_( Color .blue); Document .postColor_( Color .black); ( r = Routine ({ 10.do({ Document .postColor_( Color .rand); "There is no blue without yellow and without orange." .postln; 0.5.rand.yield; }); Document .postColor_( ...
-
... empty }); if(Main.elapsedTime-timer<0.5, { //single click stay open? ^nil; }); Routine({ var val; if(currentLeaf.size>0, { //mouse released on leaf? if(allowsReselection or:{currentLeaf!=value}, { val= lst[xIndex].selectedIndex; numFlashes ...
-
... st2],{list2=list2+1;},{whiletest=false;}); // // }); // // }); // //else normal routine sufficient if(list2!=input.size,{ //fails if first [] was empty in []++[]? see findevents list1= this.trimevents(start,beatlength-start-0.005,input[0 .. ...
-
... sly replace ur own file pathNames into the variable y and re-execute code ( Routine.run{ y = (Platform.resourceDir +/+ "sounds/a11wlk01.wav"); s.sync; b = Buffer.read(s, y); s.sync; a = b.numFrames; s.sync; ( SynthDef(\bu ...
-
... rPresets, nPresetText, addButton, <mouseXY, <compositeBack, canvasItems, refreshRoutine, isRefreshing, rotateCounter, rotFunc, <>menuList, senseDistance, senseCurve; *initClass { this.addHadronPlugin; } *new {|argParentApp, argIdent, argUni ...
-
... akTracker.new(freqDeviation, trackLength, minSegmentLength); } // Main analysis routine analyze { var frames, window, activeTracks, completedTracks, framePeaks; var frameData, fft, peaks, newActiveTracks, oldTrack, stillActive, allTracks; f ...