-
... 2]; xfIDwidth = 20; this.prDefineColors; directions = numPoints.collect({ |i| (2pi / numPoints) * i }); // planewave "point" matrices collected planewaveMatrices = numPoints.collect({ |i| FoaEncoderMatrix.newDirection( directions[i] ).matri ...
-
... f(\fff, { Splay.ar(SinOsc.ar([1100 *0.33, 300, 295, 265, 240] * SinOsc.ar(20, pi).linlin(-1, 1, 0.99, 1.01) * Line.kr(1, 0.1, 100))); }); }
-
... resentation of an argument. To print a % character use \\% . postf("this % a %. pi = %, list = %\n", "is", "test", pi.round(1e-4), (1..4)) this is a test. pi = 3.1416, list = [ 1, 2, 3, 4 ] format Returns a formatted string with arguments. ...
-
... sound generator based on the difference equations: x(n+1) = (x(n) + y(n+1)) % 2pi y(n+1) = (y(n) + k * sin(x(n))) % 2pi The standard map is an area preserving map of a cylinder discovered by the plasma physicist Boris Chirikov. sclang code ...
-
... usage ```supercollider // Setup decoder ( ~order = ~order ? 3; BinauralDecoderCIPIC.new(hoaOrder: ~order); ) // Inspect the node tree to see that it is in fact in action: s.plotTree // Play some high order ambisonics sound ( // White Noise ...
-
... time // ipport: ip, port // receiving: /reorient, /vibrate specs: ( gyroAxis: [-pi, pi], accelAxis: [-3, 3], compass: [0, 360], rotMatAxis: \bipolar, rotRateAxis: [-3, 3], quaternionAxis: \bipolar, gravityAxis: \bipolar, magFieldAxis: [-50, ...
-
... ps).floor).do({ sf.readData(tmpBuf); // hop BACK from where we were for the FFT pitch tracking sf.seek(frameSize * -1, 1); anaBuf = tmpBuf.clump(sf.numChannels).flop[channel]; (anaBuf.size < frameSize).if({ test = false; anaBuf = anaBuf ++ ...
-
... ri.ar(freq)*amp; var sig = WhiteNoise.ar(amp); var azi = LFSaw.kr(rotFreq, mul: pi); sig = HoaEncodeDirection.ar( sig, azi, ele, AtkHoa.refRadius, ~order ); }).play ) // Bypass the decoder to output raw ambisonics StereoDecoderUHJ.set(\bypa ...
-
... d=1, wet=1| var chain; chain = in+FreqShift.ar(in, 0, SinOsc.kr(speed).range(0, pi)).tanh; chain = chain + FreqShift.ar(chain, 0, SinOsc.kr(speed*0.97).range(0, pi)).tanh; chain=(chain*0.5).tanh; XFade2.ar(in, chain, wet*2-1, 1);}; ~chrs ...
-
... }; padsRPos = [ 0.6, 0.2, -0.2, -0.6].collect { |angle| Polar(center.y * -1.5 + pi, angle * 0.8).asPoint + centPadsR; }; // 4 left, 4 right touchpads (padsLPos ++ padsRPos).collect { |pt, i| Pen.addArc(pt, 60, 0, 2pi); Pen.color_(g.main.pad ...