-
//spinning box / cube //after Shiffman https://codingtrain.github.io/website-archive/CodingChallenges/112-3d-rendering.html ( var width= 640, height= 480, w, theta= 0, speed= 0.01, box; w= RedWindow("3Dbox", Rect(128, 64, width, height)).fr ...
-
... itNot", "Abs", "AsFloat", "AsInt", "Ceil", "Floor", "Frac", "Sign", "Squared", "Cubed", "Sqrt", "Exp", "Recip", "MidiCps", "CpsMidi", "MidiRatio", "RatioMidi", "DbAmp", "AmpDb", "OctCps", "CpsOct", "Log", "Log2", "Log10", "Sin", "Cos", "Tan ...
-
... // tetrahedral directions FoaDecoderMatrix.newBtoA(orientation).dirOutputs }, \cube, { // directions of cube corners 4.collect({ |i| [45.degrad + (i * 90.degrad), atan(2.sqrt.reciprocal)] }) ++ 4.collect({ |i| [45.degrad + (i * 90.degrad), ...
-
//spinning boxes / cubes ( var width= 640, height= 480, w, wgrav, world, n= 20, thetas= 0.dup(n), speeds= {0.05.linrand*#[-1, 1].choose}.dup(n); var boxes; //--world w= RedWindow("3Dboxes", Rect(128, 64, width, height)).front; wgrav= RedVec ...
-
... tdDevUGen.kr( input, length, mean ); }); skew = RunningSum.kr( ( input - mean ).cubed, length ) / (length * stddev.cubed ); // get rid of NaN's in output good = BinaryOpUGen('==', CheckBadValues.kr(skew, 0, 0), 0); skew = Gate.kr( skew, goo ...
-
... nt, bounds) // concentric rings, as in dome-style setups (e.g. Animax Bonn, IEM-Cube Graz) nums : number of speakers in each ring radii : the radii of each ring (nil distributes the radii between 0 and 1) angleOffsets : the angle offsets fo ...
-
... .092598,-0.0013568,-0.13498,-0.2103,-0.14759,0.0033351,0,0.30279,0.16494] ], // CUBE setup '4_8_12': [] ); positions = ( // 1(top) 4(raised) 7(earlevel) 4(lowered) loudspeaker setup // LS Setup: 16 speakers '1_4_7_4': [ [90,40,40,40,40,0,0, ...
-
... bL.ar( HPF.ar(in, 200), 6, dtKr * ( 1 - LFDNoise3.kr(mod.sqrt!2 * 4, 0.8 * mod).cubed ), dtKr * feedback, 0.8 ); Rotate2.ar(comb[0], comb[1], SinOsc.kr(0.025)) + in; }, ( \feedback: [1, 100, \exp, 0.1], \delayTime1: [0.005, 6, \exp], \delay ...
-
... wrap2(1) ); BufWr.ar( in*newLvl.squared.min(1).lag(0.5) + (ot * oldLvl.lag(0.7).cubed), buf, phaW); // loop rec into the buf ot * amp });
-
... ocal - block * 0.5, afqc * 0.5 - ( asum1/ifqc/cr ) + 0.001 ); apoly = ax - ( ax.cubed ); asum3 = apoly + ( aflute1 * ifeedbk2 ); avalue = LPF.ar( asum3, 2000 ); aflute1 = DelayC.ar( avalue, ifqc.reciprocal - block, afqc ); fdbckArray = [ af ...