-
... lueAction_(1)}.defer(0.5) } stop { {startbutt.valueAction_(0)}.defer(0.5) } } + Function { spectrogram { this.play; if(SpectrogramWindow.scopeOpen != true, { SpectrogramWindow.new.start; }); } }
-
... ooks = IdentityDictionary.new; // some standard library hooks this.registerHook(Function,{ arg model,layout; layout.startRow; if(model.def.sourceCode.notNil,{ this.sourceCodeGui(model.def.sourceCode,layout,700); }) }); this.registerHook(Dic ...
-
... he advantages of SmoothSlider above SCSlider is that it doesn't need a deferred function to get or set its value when called from a SystemClock thread or OSC/MIDI responder. And when the action is called (via valueAction or doAction) it is ...
-
... free; /* The rest can be done from tidal, but here are some tests that call the function directly from sclang. ----------------------------------------------------------------------------------------------------- */ /* TEST SPEED/START/END ...
-
... der), window = \reg, sampleRate = nil, speedOfSound = (AtkHoa.speedOfSound)| // functions to determine meanE & matchWeight from beam weights var meanE = { |beamWeights, dim = 3| // var m = beamWeights.size - 1; // order var m = order; // or ...
-
... t }; } loadSoundFilesToBank { |paths, appendToExisting = false, bankName, namingFunction| var form = "%_%"; if(bankName.isNil) { Error("to load into a bank, you have to give a bank name").throw }; namingFunction = namingFunction ?? { { |pat ...
-
... Methods mapCCS (editor, scene) map one of the controls in a scene to a general function. g = NanoKtl .new; // listen to all midi in ports g.mapCCS(1, 'sl1' , { |ch, cc, val| " scene 1, slider1: %.\n" .postf([ch, cc, val]) }); g.mapCCS(1, ' ...
-
... ject: this.value ).action_({ |cew| var res; res = cew.object; if( res.isKindOf( Function ) ) { res = Array.fill( this.size, res ); }; this.value = this.value.collect({ |item, i| this.removeRelativeTag( res.asArray.wrapAt( i ).asString ).sta ...
-
... 2.size==1),{val2 = [OnsetStatistics,2.0,0.125] }); //Silent zeroes output if no function supplied at all! if((val2[0]==\CustomFeature) && (val2.size==1),{val2 = [CustomFeature,{DC.kr(0)}] }); val2 }; //featureinfo.postln; numfeatures = 0; n ...
-
// add all global filter functions to use - these are then available by name. q=q?(); q.numChans = q.numChans ? 2; 1000.do{|i| var sy = ("wet"++i).asSymbol; Spec.add(sy, \unipolar) }; 1000.do{|i| var sy = ("mix"++i).asSymbol; Spec.add(sy, \ ...