Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... oBus",{ arg out=0,tempoBus; var tempo,trig,amp; tempo = In.kr(tempoBus); trig = Impulse.kr(tempo); amp = Decay2.kr(trig,0.01,0.1).clip2(1.0); Out.ar(out, amp * SinOsc.ar(300) ) }).play(s,[0,0,1,t.index]); Tempo.bpm = 40; Tempo.bpm = 100; Te ...

  2. BufGrain Doc

    ... SynthDef(\buf_grain_test, {arg gate = 1, sndbuf, amp = 1; Out.ar(0, BufGrain.ar(Impulse.kr(10), 0.2, sndbuf, MouseX.kr(0.5, 8), PinkNoise.kr.range(0, 1), 2, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ) ...

  3. MasterFXGui Doc

    ... ome simple functions for a MasterFX, e.g. ProxyChain.add3( \testsnd, { Decay.ar(Impulse.ar(1, [0, 0.5]), 0.1) * SinOsc.ar([300, 450]) }, 0.1); ProxyChain.add3(\leak, \filter -> { |in| LeakDC.ar(in) }, 1); ProxyChain.add3(\dist, \filter -> { ...

  4. FMGrainB Doc

    ... SynthDef(\fm_grain_test, {arg gate = 1, amp = 1, envbuf; Out.ar(0, FMGrainB.ar(Impulse.kr(10), 0.2, WhiteNoise.kr.range(440, 880), 200, LFNoise1.kr(1).range(1, 10), envbuf, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, ...

  5. NodeProxy_roles Doc

    ... re overridden. a = NodeProxy(s); a[0] = { |freq = 440, dt=0.1, rate=2| Ringz.ar(Impulse.ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind( \dur, Prand([1, 0.5], inf), \freq, Pwhite(200.0, 1000, inf), \rate, Pdup(4, Prand( ...

  6. BlumRotate Doc

    ... 0.3); // L and R envelopes #env1, env2 = EnvGen.kr( Env.perc(releaseTime: 0.3), Impulse.kr([5, 3]) ); // Stereo input in = [ inL * env1, inR * env2 ]; lfo = LFSaw.kr(0.1).range(0, 2pi); out = BlumRotate.ar( in: in, angle: lfo ); // compare ...

  7. PV_ExtractRepeat Doc

    ... ed in the same channel: ( x = { var trigs, looplen = 2, loopy, varying; trigs = Impulse.kr(6/looplen) + Impulse.kr(4/looplen); loopy = BPF.ar(WhiteNoise.ar * EnvGen.ar(Env.perc(0.01, 0.3), trigs), LFCub.kr(1/looplen).exprange(100, 5000)); v ...

  8. RedSequencer2 Doc

    ... equencer2.kr([0.5, 1, 2], SinOsc.kr(0.3, 0, 0.1, 0.11)); e= EnvGen.kr(Env.perc, Impulse.kr(dur)); z= SinOsc.ar(freq, 0, e); Out.ar(out, Pan2.ar(z, 0, 0.4)); }).add; ) a= Synth(\redseq2) a.free ⧉ ✔ helpfile source: /tmp/scquark_hs/redSys/Hel ...

  9. ARHeadtracker Doc

    ... dding a source to the scene (slightly right off) ~noisy = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * PinkNoise.ar(1) }; ~noisyPos = { | x=3.5, y=3, z=2.5 | [x,y,z] }; v.addSource( ~noisy, "test1", ~noisyPos); v.removeSource("test1"); // play an ...

  10. Pavaroh Doc

    ... video game (1) ( SynthDef("ivg", { |out, freq = 900, pan| var trig, snd; trig = Impulse.kr(LFClipNoise.kr(4, 3, LFClipNoise.kr(0.2, 2, 7))); snd = RLPF.ar( SinOsc.ar(freq, 0, Decay.kr(trig, 1.8)).distort , 554, 0.3) * 0.1; Out.ar(out, Pan2. ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow