Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. OSCBundle Doc

    ... ave to wait until it is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used with synchronous operati ...

  2. audio_rate_mapping Doc

    ... n(\a_in, ~x2); ~f2.xmapn(\a_in, ~f1); ~f1.xmapn(\freq, ~mF, \dt, ~mx1); ~x2 = { Impulse.ar(SinOsc.kr(0.2, [0, pi]).exprange(2, 200)) }; ~x1 = { Saw.ar(20, 0.5.dup) * ~x2.ar }; ~out = ~x1; // possible schema: /* px.map knows always already t ...

  3. Debugging-tips Doc

    ... Trig), value (from SendTrig)] . { var freq; freq = LFNoise1.kr(2, 600, 800); // Impulse is needed to trigger the /tr message to be sent SendTrig.kr(Impulse.kr(4), 0, freq); SinOsc.ar(freq, 0, 0.3) ! 2 }.play; [ /tr, 1000, 0, 1340.8098144531 ...

  4. HairCell Doc

    ... signal through the hair cell; it won't come out like a pure sine, more like an impulse train stimulated by that input { Pan2.ar(HairCell.ar(SinOsc.ar(440)),0.0) }.play; //modulation effects { Pan2.ar(HairCell.ar(Saw.ar(MouseX.kr(1,1000)),0 ...

  5. GaussClass Doc

    ... 0, 10), MouseY.kr(0, 10)]; // Or you can wander yourself using the mouse gate = Impulse.kr(rate); result = GaussClass.kr(input, b, gate); input.poll(gate, "input"); result.poll(gate, "result"); Out.ar(0, SinOsc.ar(result.linexp(0, ~classes. ...

  6. TGrains2 Doc

    ... trate, dur, clk, pos, pan; trate = MouseY.kr(8,120,1); dur = 12 / trate; clk = Impulse.kr(trate); pos = MouseX.kr(0,BufDur.kr(b)) + TRand.kr(0, 0.01, clk); pan = WhiteNoise.kr(0.6); TGrains2.ar(2, clk, b, 1, pos, dur, pan, 0.1, dur * 0.3, ...

  7. GrainSin Doc

    ... gate, levelScale: amp, doneAction: Done.freeSelf ); Out.ar(out, GrainSin.ar(2, Impulse.kr(10), 0.1, 440 + freqdev, pan, envbuf) * env) }).add; ) s.scope // use built-in env x = Synth(\sin_grain_test, [\envbuf, -1]) // switch to the custom ...

  8. SinGrainIBF Doc

    ... in_test, {arg gate = 1, amp = 1, envbuf1, envbuf2; var w, x, y, z, trig; trig = Impulse.kr(20); #w, x, y, z = SinGrainIBF.ar(trig, 0.05, WhiteNoise.kr.range(440, 880), envbuf1, envbuf2, MouseX.kr(0, 1), WhiteNoise.kr.range(-0.25pi, 0.25pi), ...

  9. NodeProxy Doc

    ... oxy.new; a.source = { Ringz.ar(b.ar, [350, 351.3] * 8, 0.2) * 4 }; b.source = { Impulse.ar([5, 7]/2, [0, 0.5]) }; a.clear(3); // clear after 3 seconds b.clear(3); ⧉ ✔ Class Methods Creation NodeProxy. new ( server , rate , numChannels , inp ...

  10. ReplaceBadValues Doc

    ... ute with silence (default) subSig = 0; // or substitute with a signal subSig = [Impulse.ar(5), Dust.ar(8)] * subVol; // Replace bad sig here safeSig = ReplaceBadValues.ar(sig, subSig); // create a second signal to test when mixing secondSig ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow