-
... + 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 ...
-
... .0.rand2\); //random panning for each grain \ g.grainPan_(\ |pan, o, i| sin(o*2*pi)\); //sine -depend on position \ g.grainPan_(\ |pan, o, i| sin(i%1000/1000*2*pi)\); //sine (not dependent on position) \ g.grainPan_(\ |pan, o, i| #[0, 0, 0, ...
-
... erenceOperand { ^value.asInteger } } // then you would get: IntegerOperand(1) + pi == IntegerOperand(4) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Operand.schelp link::Classes/Operand::
-
... 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 ...
-
... size); // design phase for REAL allpass ~randRadian = Array.fill(~size/2 - 1, { pi.bilinrand }); ~phase = Array.with(0.0) ++ ~randRadian ++ Array.with(0.0) ++ (~randRadian.reverse.neg); // 0.0 at DC & Nyquist, otherwise, symmetric random // ...
-
... ({1.0.rand2}); //random panning for each grain g.grainPan_({|pan, o, i| sin(o*2*pi)}); //sine -depend on position g.grainPan_({|pan, o, i| sin(i%1000/1000*2*pi)}); //sine (not dependent on position) g.grainPan_({|pan, o, i| #[0, 0, 0, -1, 0 ...
-
A piece i'm working on for a dance performance. ( // 'random' sequences of rhythms, reverb,... z = { var trig, seq; trig = Impulse.kr(6); seq = Drand([ Dseq([4,0,0,1,Drand([1,4]),1,0,1]), Dseq([1,0,2,0,Dran ...
-
... , Array.exprand(i-2,0.1,10)), NamedControl.kr(\in_phase, Array.rand(i-2,0,pi)), NamedControl.kr(\in_mul, Array.rand(i-2,0,1)), NamedControl.kr(\in_add, 0!(i-2)), ) ++ [0], NamedControl.kr(\in_step, Array.exprand( ...
-
... his.setEncoderClassForATK(doppler); kernel = FoaDecoderMatrix.newStereo(131/2 * pi/180, 0.5); // Cardioids at 131 deg this.addDecoderSource(FoaDecode, kernel); this.createSumBus; }, {"You have to clear the current decoder first (GameLoopDec ...
-
... // flower shape xy = [commonpart*SinOsc.kr(time), commonpart*SinOsc.kr(time, pi/2), -3, 3, -3, 3]; // x and y vary between -3 and 3 sc = (xy*0.2).scope; // for visualization only Out.kr(controlOutBus, xy); }).add; SynthDef(\s ...