-
... ove node from currentSynth button.value = 0; currentSynth = nil; }).play(clock: AppClock); // end of routine code }, { [key, "either buffer or numChannels was nil"].postln; }); }, { // if user turns off a button directly, // stop currently ...
-
... nloadAndPlay{ var path = "/tmp/"++sound.retrievePreview("/tmp/",{},'lq','ogg'); AppClock.sched(0.5,{this.startDiskIn(path)}); } start{ Freesound2.previewType.switch( Freesound2.preview_type_afp,{this.startCMD("afplay %".format(sound["previe ...
-
... = nil // }; // }) ; // seems we need a little time for string/envir to sync up AppClock.sched(0.5, { doc.front }); } initController { var makeCtl = { |proxy| // we might not be in the environment at this point var key = proxyspace.use { pr ...
-
... } joinStart { this.statusFunc; skip.play; fork( { 0.5.wait; this.checkJoined }, AppClock) } // clientID for subclass... join { |name, argClientID| name = name.asSymbol; if (this.canJoin(name)) { // leave quickly when rejoining under differe ...
-
... defer, but the deferred code keeps the current source (defer // alone loses it: AppClock runs it outside the environment). `source` // replaces it when given. *defer {arg func, delta, source; source = source ?? { this.source }; ^{ this.with ...
-
... do { |mk| mk.name; if (mk.hasDevice) { WinBounds.showOrMake(mk.name) } } }.play(AppClock); }); Butz(\interfaces).add(\InfluxMixer, { WinBounds.showOrMake(\InfluxMixer) }); (NTMI.interfaces.keys(Array).sort ++ '-loadable:-' ++ NTMI.interface ...
-
... free; completeFunc.notNil.if({ completeFunc.value(); }); }; 0.0.wait; }; }.fork(AppClock); } *preview { arg list, start=0.0, end=nil, rate=25.0, width=500, height=500, color=Color.black, sort=true, frameMode=false, onCompletion=nil; this.ne ...
-
... 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 ...
-
... 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, ...