-
... Friction.ar(sig, friction: 5.41322e-5, mass: 8.05501); Pan2.ar(out, 0, 0.1); }.scope ) x.free; ( // Modulate the parameters by moving the mouse. Left speaker is original (modulated) sine wave, right speaker is filtered. x = { var sig, out; ...
-
... pitch yaw and roll ( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); {HOATransRotateAz.ar(~order, HOAEncPan.ar(~order, WhiteNoise.ar(1)), MouseX.kr(0, 360 ) )}.play ) ⧉ ✔ helpfile source: ...
-
... 5pi, 1.25pi], [0.25pi,0.25pi,0.25pi,0.25pi,-0.25pi,-0.25pi,-0.25pi,-0.25pi]); }.scope(8); ) // some common speaker rigs ( { var w, x, y, z, r, s, t, u, v; #w, x, y, z, r, s, t, u, v = FMHEncode1.ar(WhiteNoise.ar,MouseX.kr(0, 2pi), MouseY.kr ...
-
... pitch yaw and roll ( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); {HOALibEnc3D.ar(~order, WhiteNoise.ar(1), MouseX.kr(0, 360), MouseY.kr(-90, 90 ) )}.play; ) ⧉ ✔ helpfile source: /tmp/ ...
-
... pitch yaw and roll ( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); { HOATransRotateXYZ.ar(~order, HOAEncoder.ar(~order, WhiteNoise.ar(1.0)), LFTri.ar(0.1, 0, pi), LFTri.ar(0.1, 0, pi), ...
-
... l(10, "flatness: "); flatdb.poll(10, "flatness (db): "); [flat, flatdbsquish] }.scope; ) ( { // Now try with your own voice var in, chain; in = SoundIn.ar([0, 1]).mean; chain = FFT(LocalBuf(2048), in); Out.kr(0, [in, SpecFlatness.kr(chain). ...
-
... Line.kr(0, 1, 15) // modulate lag time ), 0, // phase 0.3 // sine amplitude ) }.scope; ) // Compare ( var pulse; { pulse = LFPulse.kr(8.772); Out.kr(0, [Ramp.kr(pulse, 0.025), Lag.kr(pulse, 0.025), pulse]); }.play; s.scope(3, bufsize: 44100 ...
-
... ]); // pink noise sig = PinkNoise.ar; // encode AtkMatrixMix.ar(sig, matrix); }.scope ) ⧉ ✔ Stereophonic to FOA // hand code a stereo signal to a +/-45deg in B-format ( { var matrix; var sig; // define encoding matrix matrix = Matrix.with([ ...
-
... channel expanded amp * Splay.ar(sig, spread: chen[0]); }).play ) // See it on a scope ( Ndef(\scoped, { var x, y, z; #x,y,z = Chen.ar(0.000092); [x,y,z] }).scope; ) ( Ndef(\torn, {|amp=0.5| var chenspeedMax = 0.009; var chen = Chen.ar(LFCub ...
-
... r = 1 ~order = 2 ~order = 3 // choose an outbus, if need be ~outbus = 0 // open scope s.scope(~order.asHoaOrder.size, ~outbus); // design encoding matrix ~directions = [ [0.0, 0.0], [90.0, 0.0], [180.0, 0.0], [-90.0, 0.0], [0.0, 90.0], [0.0 ...