-
... s the mapping for display styles: \Linear -> 0, \SquareRoot ->1, \Squared ->2, \Cubed ->3, \CubeRoot ->4, \Exponential ->5, \Logarithmic ->6 Note that these work the other way around than Spec, eg. use \Logarithmic where you would use \exp ...
-
... d = LinLin.kr([c_3c, c_4d], 0, 1, 0, 12*8); #f, h = ([c_6f, c_8h ]).lag(robLag).cubed; // just curve .. i = LinExp.kr(c_8i, 0, 1, minScale, maxScale).lag(robLag)-0.1; s2 = s2.clip(0.0, 1); #pw1, pw2 = [pw1, pw2].lag(robLag+1).clip(0.001, 1- ...
-
... ^this.chainRule(neg(_), -1) } squared { ^this.chainRule(squared(_), (_ * 2)) } cubed { ^this.chainRule(cubed(_), { |x| x.squared * 3 }) } abs { ^this * this.sign } // unary ops with dual zero ceil { ^this.class.new(this.real.ceil, 0.0) } f ...
-
... ier circles are outer // (assumes dome shape, low channels on bottom, as in IEM CUBE) radii = radii ?? { (numrings .. 1) / (numrings + 1) }; angleOffsets = angleOffsets ?? 0; locs = [ nums, radii, angleOffsets ].flop.collect { |list| this.r ...
-
... oQuaternionParser and Quaternion extension ported from Fabio Varesano's FreeIMU_cube Processing example. http://www.varesano.net/ Dependencies: MathLib Quark (Quaternion), Arduino Quark */ ArduinoQuaternion : Arduino { // TODO: write euler ...
-
... / used for every index var c0, c1, c2, c3; #c0, c1, c2, c3 = this; // ^[ c3 * i.cubed, c2 * i.squared, c1 * i, c0 ].sum; ^((c3 * i + c2) * i + c1) * i + c0; } splineIntFunctionArray { |i, x1array, x2array| // input is a full array (like in ...
-
... out, Pan2 .ar( RLPF .ar( LFPulse .ar(zzf, 0, SinOsc .kr(mod * zzf)), zzf * (env.cubed + mod + 0.5), 0.2 ), pan, env * amp )) }).share; ) r.synthDescs; // the available SynthDescs a = SynthDescLib .global.synthDescs.at( \xxx ); // it has arr ...
-
... ]; displayDict=IdentityDictionary[ \Linear -> 0, \SquareRoot->1, \Squared->2, \Cubed->3, \CubeRoot->4, \Exponential->5, \Logarithmic->6 ]; } *new { arg name, subtype, func, specs, type=\aumf; ^super.new.init(name, subtype, func, specs, typ ...
-
... unary operators: matrix.uop neg, bitNot, abs, ceil, floor, frac, sign, squared, cubed, sqrt, exp, reciprocal; returns new matrices. binary operators: usage: matrix bop aNumber or: aNumber bop matrix /, div, %, **, min, max; returns new matr ...
-
... -- // The T-Designs found here are from the work of: // McLaren's Improved Snub Cube and Other New Spherical Designs in Three // Dimensions, R. H. Hardin and N. J. A. Sloane, Discrete and // Computational Geometry, 15 (1996), pp. 429-441. / ...