Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (729) Code (188) Doc (238) Help (111) Quark (181) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. ClassTest Quark

    ... // 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 ...

  2. HOATest Quark

    ... 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 ...

  3. RedBernoulli Quark

    ... 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) } }

  4. whiteNoise Quark

    /* \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 ...

  5. whiteNoise Quark

    /* \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 ...

  6. binary_ops_1_bench Quark

    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 ...

  7. binary_ops_1_kr_bench Quark

    ... 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( ...

  8. ReceiveTrig Quark

    ... 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 } ); ...

  9. snare909 Quark

    /* 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 ...

  10. granbuf Quark

    ... (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 ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow