-
... 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 .. ...
-
... 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 ...
-
... ndex_(0); bufPlot.redraw; }.defer(0.5); // either defer or put the thing into a Routine }); }); }); bufNameView = GUI.textView.new(win, Rect(10, 122, 63, 14)) .font_(GUI.font.new("Helvetica", 9)) .string_("strato"++(this.findMySlot+1)++"_0" ...
-
... nil' bp = BP(~bpKey); }; ~asPattern.(bp).embedInStream(inval); }; ~asStream = { Routine { |inval| ~embedInStream.(inval) } }; ~canEmbed = true; // do not override! ~yieldsKeys = { if(~isMain) { [~parm, \dur] } { ~parm }; // if(~isPitch.()) ...
-
... ings" +/+ "Events"; }{ pathEvents = SGME_Path.rootPath +/+ "Events" }; player = Routine { events.do { |event, i| var time, string, value; #time, string, value = event; // Wait for the adjusted time for subsequent events time.clip(0, if (max ...
-
... he PitchCircle window. p.close; // Examples ( var newSet; p = PitchCircle .new; Routine { p.labelAlign_( \left ); 24.do({ |i| if(i.even, { { newSet = p.complement.scramble.keep(rrand(4, 6)).sort; p.hlDots_(newSet.sect([11, 0, 1]).choose); p ...
-
... e so a race condition doesn't upset image display after image rendering pause = Routine({ 1.do({ arg i; displayLatency.wait; ("open " ++ path ++ "/" ++ name ++ fileType).unixCmd; }); }); pause.play(AppClock); // reset the instance variable ...
-
... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { usr.refresh; }); (nextTime-Main ...
-
... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); imgDrawFunc.value; usr.refresh; (nextTime-Main.elapsedTime).max(0.001).w ...