-
... 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 ...
-
... }; 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 ...
-
... + Polar( radius * (2/9), angle ); backCenter = center + Polar( radius, angle + pi ).asPoint; Pen.moveTo( backCenter ); Pen.lineTo( backCenter + Polar( radius * width, angle + 1.5pi ).asPoint ); Pen.lineTo( center + Polar( radius, angle ).a ...
-
... g repetitions within a span Part of: miSCellaneous Inherits from: DUGen DIdev / PIdef / PLIdev search for numbers with integer distance from a source signal / pattern up to a given deviation. Repetitions within a lookback span are avoided, ...
-
... alue( "%°".format( item ), { vws[ \val ] = vws[ \val ].rotate( item.neg / 180 * pi) }); }); ).title_( "rotate" ), Menu( *[ \x, \y ].collect({ |item| makeAction.value( item.asString, { vws[ \val ] = switch( item, \x, { (vws[ \val ].x.neg) @ ...
-
... al = spec.map(sldr.value); if(spec.units == "π", { nb.value_(val.round(0.001) / pi) }, { nb.value_(val.round(0.001)) }); chain.setParam(chDex, dex, ctlOrder, val) }) .orientation_(\horizontal) .value_(spec.unmap(spec.default)) ; nb = Number ...
-
... ; classes.do { |class| var coll = class.fill(10, { 1.0.rand }); coll = coll.add(pi); this.assert(coll.includes(pi), "adding something to an array it should include it afterwards") }; } test_arrayshape { var maxLength = 8, maxDepth = 4; var ...