-
... 0; } encodeValue {|value| ^this.encode(value.asBinaryDigits(numBits)); } encodeArray {|array| ^array.collect{|x| this.encodeValue(x)}.flat; } //--positive edge clock (1= flip) encode {|bits| ^bits.collect{|x| [1-phase, phase= 1-x.bitXor(ph ...
-
... to. calibratenote: What note number should match the calibratefreq. tunings: An array with stepsPerOctave numbers containing the ratio above the base. The base is the frequency at note 0. The array should begin with 1.0 (the ratio for the b ...
-
... to. calibratenote: What note number should match the calibratefreq. tunings: An array with stepsPerOctave numbers containing the ratio above the base. The base is the frequency at note 0. The array should begin with 1.0 (the ratio for the b ...
-
... m.isKindOf(Char)) { elem } { elem.asStrang } } } asStrang { ^this } asString { ^array.join } ascii { ^array.ascii.flat } // printing printOn { arg stream; this.asString.printOn(stream) } deepFormat { |delim1 = "(", delim2 = ")"| var str = " ...
-
... ion: local maxima above threshold, parabolic-refined // Input: linear magnitude array, phase array // Output: Array of (freq, amp, phase, bin), sorted by frequency detect { |magnitude, phase| var peaks = Array.new; var freqPerBin = sampleRa ...
-
... slot ID. The labels or id's themselves can be output by other patterns too. If arrays are used, the patterns create multiple events as expected (multichannel expansion). - Example - x = SWDataNetwork .new; // build the device list and star ...
-
... e.use { x = p.play(quant: 0.2) }; f.use { y = p.play(quant: 0.2) }; // replace array elements ... e.a[0] = 97; f.a[0] = 98; // ... or arrays ( e.a = [80, 81]; f.a = (70..73); ) e.a[0] = Pwhite(60, 65, 1) + [0, -5, 29.5]; y.stop; x.stop; // ...
-
... e.use { x = p.play(quant: 0.2) }; f.use { y = p.play(quant: 0.2) }; // replace array elements ... f.a[0] = Pseq((0, 0.5..3) + 75); e.a[0] = Pseq(60 - (0, 0.5..3)); // ... or arrays f.a = (72, 72.5..77); e.a = [60]; e.a = [ Pseq ([60, 47.5] ...
-
... gnu.org/licenses/>. */ /* f = { |a=1, b=2| a+b }; x = ArgSpec.fromFunc( f ); // array of ArgSpecs x.postln; // -> [ an ArgSpec(a, 1), an ArgSpec(b, 2) ] */ ArgSpec : Spec { var <>name, <>default, <>spec; var <>private = false; var <>mode = ...
-
... e["/patchA/68/44"] thisProcess.recompile; // Supongamos que tienes el siguiente array a = [1, 2, 3, 4, 5]; // Para verificar si el número 3 está en el array a.includes(3); // Para verificar si el número 6 está en el array a.includes(6); "es ...