-
... ct.keysValuesDo { |key, value| this.perform(key.asSetter, value) } } // utility function unquoteString { |str, pos = 0, delimiter = $", ignoreInParens(false)| var i = str.indexOf(delimiter), j, escaped = false, parenCount = 0; ^if(i.isNil) ...
-
... t(minIndices, true) }; minIndicesDict.put(indicesQueue.pop, true) }; // yielder function chooses output type yielder = { doSum.if { inval = min.yield; last = min; count = count + 1; }{ last.notNil.if { inval = (min - last).yield; count = co ...
-
... func; //this.setHandler('keyModifiersChangedAction', func) } } /* addKeyHandler(function, keycode, shift, cntl, alt, cmd, caps, numPad, fun) addUnicodeHandler(function, keycode, shift, cntl, alt, cmd, caps, numPad, fun) navByArrows */
-
... n >= 3.14".warn; ^this }; server.rtMemoryStatus { |freeBytes| // note that this function runs async after a server reply var freeKilobytes = freeBytes div: 1024; if (freeKilobytes < required) { Error( "SuperDirt: not enough free memory to s ...
-
... pec.rate } } // should change to InstrSpec : could be an instr or a string or a function InstrNameSpec : HasItemSpec { var <>hasGate,<>hasAudioInput; // nil means "does not care" *new { arg outSpec,hasGate,hasAudioInput; ^super.new(outSpec ...
-
... ffers ... var numChannels = 1; // for now var analysisChannel = 32; var synthDefFunctions, synthDefs, resultbufs, resultpaths, fileSynthDef, soundFileBuffer; // input streaming buffer soundFileBuffer = Buffer.new(server, 32768, soundFile.nu ...
-
... pec.rate } } // should change to InstrSpec : could be an instr or a string or a function InstrNameSpec : HasItemSpec { var <>hasGate, <>hasAudioInput; // nil means "does not care" *new { arg outSpec, hasGate, hasAudioInput; ^super.new(outSp ...
-
... License for more details. <http://www.gnu.org/licenses/>. A description of the functionality, along with attributions can be found in both the README and help documentation. */ MatrixArray { var <matrix, <rows, <cols, <isSquare; var floppe ...
-
... ex.real[i]); result.put(i * 2 + 1, complex.imag[i]); }; ^result } // Get window function getWindow { var window, winArray; case { windowType == \hann } { window = Signal.hanningWindow(windowSize); } { windowType == \hamming } { window = Sig ...
-
... ts_( points.collect(_.perform(methodOrFunc, *args)) ) } { methodOrFunc.isKindOf(Function) } { this.points_( points.collect({ |pnt, i| methodOrFunc.value(pnt, i, *args) }) ) } } numPoints { ^points.size } size { ^points.size } // reset point ...