-
... mClock.seconds-startTime; progressView.value= [(now/stopTime)%1]; }; }; }).play(AppClock); } prStopFunc {|view| isPlaying= false; if(sampler.playingKeys.notEmpty, { sampler.stop(playIndex, envNumView.value); }); incdecTask.stop; view.select ...
-
... e= spf.frame; waveView.timeCursorPosition= spf.frame; }); 0.01.wait; }; }).play(AppClock); waveView.onClose= { spf.free; cursorUpdater.stop; }; } controls_ {|show= true| [ filePopup, readButton, vZoomSlider, hZoomSlider, atkText, atkNumber, ...
-
... mel / 1127.01048) - 1 * 700 }; ~fftwait = 0.001; ~cmpwait = 0.0000001; ~clock = AppClock; // do not need musical precision ~quant = NilTimeSpec.new; ~reuseCleanup = true; ~startAnalysis = { |path, pts, fftsize| ~isPlaying.if({ "BP(%) is sti ...
-
... InEd; openInEditor = openInEd; recButton.valueAction_(1); if( time.isNil.not, { AppClock.sched(time, { recButton.valueAction_(0); nil}) }); if( bus.isNil.not, { inbus = bus; recBussesPop.value_(inbus/numChannels); ampAnalyserSynth.set(\inbu ...
-
... e+(1/60); win.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); s.latency= 0.05; s.waitForBoot{ SynthDef(\mind, { var trg= Impulse.kr(15); var data= \data.kr(#[0, 0]); var left= K2A.ar(data[0]); var right= K2A.ar( ...
-
... ge(events.size-tail-1,events.size-1) ); },{ callback.value( events ) }) }).play(AppClock) } writeScore { arg path,callback,write; // Score.playFromPath(path) path = path ?? { Document.standardizePath(Date.getDate.asSortableString ++ ".score ...
-
... efaultInGain, postVol); }; auxBus[auxBusName] = ProxySubmix(auxBusName); }.play(AppClock) } loadSamples {|relPath, forceReload = false| var absolutePath; var samplePaths; var baseKeyArray = relPath.notNil.if({ relPath.split(Platform.pathSep ...
-
... auditionCond, initGUI: true); auditionCond.wait; audition.addDependant(this) }, AppClock ) }, { audition.ui.win.front }) }), ) ), ) ); sfWin.refresh; } // set the audition instance externally setAudition { |anAudition| audition !? { "This F ...
-
... = font.size_(size); boldFont = boldFont.size_(size); } writeLater { var time = AppClock.seconds; if ((time - lastFlush) < 0.25) { { this.writeLater() }.defer(time - lastFlush + 0.25); } { lastFlush = time; this.doWrite(); } } doWrite { var ...
-
... ; 1.wait; NTMI.g.setFrontText("..."); "*** nanoKtl DEMO done!".postln }).clock_(AppClock); )