-
... // HOA Encoder ( ~order = 5; s.scope((~order+1).pow(2)); {HOAEncoder.ar(~order, WhiteNoise.ar(1.0), az: MouseX.kr(-pi, pi ) , elev: MouseY.kr(-pi * 0.5, pi * 0.5) )}.play ) // HOA Rotate Az ( ~order = 2; s.scope((~order+1).pow(2)); { HOATra ...
-
... s.boot; ) // monitor the signals with the scope s.scope(36); ~order = 5; // Pan WhiteNoise with the HOAEncPan {HOAEncPan.ar(~order, WhiteNoise.ar(1), MouseX.kr(0, 360), MouseY.kr(-90, 90 ) )}.play // Mirror an auditory scene with HOATransMi ...
-
... low with a LeakDC RedBernoulli { *ar {|thresh= 0.975, mul= 1, add= 0| ^Latch.ar(WhiteNoise.ar(mul, add), WhiteNoise.ar>thresh) } *kr {|thresh= 0.975, mul= 1, add= 0| ^Latch.kr(WhiteNoise.kr(mul, add), WhiteNoise.kr>thresh) } }
-
/* \whiteNoise A white noise generator. Generates noise whose spectrum has equal power at all frequencies. http://en.wikipedia.org/wiki/White_noise amp: amplitude (0-1) of the noise seed: random seed (positive whole number). The same seed w ...
-
/* \whiteNoise A white noise generator. Generates noise whose spectrum has equal power at all frequencies. http://en.wikipedia.org/wiki/White_noise amp: amplitude (0-1) of the noise seed: random seed (positive whole number). The same seed w ...
-
SynthDef( \binary_ops_1, { var src1, src2; Out.ar(0, 20.collect{ src1 = WhiteNoise.ar; src2 = WhiteNoise.ar; ((src1 * src2) + src1) + max(src1, src2) + min(src1, src2) - src1.pow(0.9).mod(0.3) + ((src2 * 100).round - src1) + thresh(src1, sr ...
-
... thDef( \binary_ops_1_kr, { var src1, src2; Out.ar(0, K2A.ar(300.collect{ src1 = WhiteNoise.kr; src2 = WhiteNoise.kr; ((src1 * src2) + src1) + max(src1, src2) + min(src1, src2) - src1.pow(0.9).mod(0.3) + ((src2 * 100).round - src1) + thresh( ...
-
... endTrig and SendReply // /* // example 1: x = { SendTrig.kr( Impulse.kr(1), 10, WhiteNoise.kr ) }.play; ReceiveTrig( x, _.postln ); x.free; // automatic removal // example 2: r = ReceiveTrig( s, { |val, time, responder, msg| msg.postln } ); ...
-
/* Retrieved from http://sccode.org/1-5aD The original used WhiteNoise for noise. This was replaced with Latch.ar(WhiteNoise.ar, Impulse.ar(nyquist * 2)) for an added aliasing effect Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ Synt ...
-
... (0, 1, *Ndef(\granbuf).getHalo(\sndBufRange)); var sndbuf3 = sndbuf2 + Latch.ar(WhiteNoise.kr(sndbufvar), trig).round(1); var filepos = Phasor.ar(0, 1 / SampleRate.ir / BufDur.kr(sndbuf2) * scanspeed, 0, 1); var filepos2 = filepos + WhiteNo ...