Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (434) Code (123) Doc (126) Help (69) Quark (111) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. UGens Help

    ... ian Normalizer OnePole OneZero Resonz RHPF Ringz RLPF SOS TwoPole TwoZero Noise LFNoise1 LFNoise2 LFNoise0 LFClipNoise WhiteNoise GrayNoise Hasher MantissaMask PinkerNoise PinkNoise ClipNoise Dust Dust2 Rossler Crackle Triggers MostChange P ...

  2. if Help

    ... { 200 }); z.postln; ) UGens can also use if the condition ugen is 0 / 1 ( { if( LFNoise1 .kr(1.0,0.5,0.5) , SinOsc .ar, Saw .ar ) }.play ) ADVANCED: the functions will be inlined, which plucks the code from the functions and uses a more eff ...

  3. 13_Delays_reverbs Help

    ... ulated comb delays in parallel : y = Mix .ar( Array .fill(7,{ CombL .ar(z, 0.1, LFNoise1 .kr(0.1.rand, 0.04, 0.05), 15) })); // two parallel chains of 4 allpass delays (8 total) : 4.do({ y = AllpassN .ar(y, 0.050, [0.050.rand, 0.050.rand], ...

  4. Pbus Help

    ... 5, 1, 0.4, 2); in = In .ar(out, 2); XOut .ar(out, env, RLPF .ar(in, LinExp .kr( LFNoise1 .kr(0.3), -1, 1, 200, 8000), 0.1).softclip * 0.8); }, [ \ir , 0]).add; ) ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato ...

  5. Streams-Patterns-Events7 Help

    ... = 360, gate = 1, pan, amp=0.1; var out, eg, fc, osc, a, b, w; fc = LinExp .kr( LFNoise1 .kr( Rand (0.25,0.4)), -1,1,500,2000); osc = Mix .fill(8, { LFSaw .ar(freq * [ Rand (0.99,1.01), Rand (0.99,1.01)], 0, amp) }).distort * 0.2; eg = EnvG ...

  6. GrainFM Help

    ... Action: 2); Out .ar(0, GrainFM .ar(2, Impulse .kr(10), 0.1, 440 + freqdev, 200, LFNoise1 .kr.range(1, 10), pan, envbuf) * env) }).send(s); ) // use built-in env x = Synth ( \fm_grain_test , [ \envbuf , -1]) // switch to the custom env x.set ...

  7. 11 Help

    ... SynthDef ( "synthNumber2" , { arg mul = 0.2; Out .ar( 0, WhiteNoise .ar(mul) * LFNoise1 .kr([2.99, 3]) ) }, [0.1]).load(s); SynthDef ( "synthNumber3" , { arg mul = 0.2; Out .ar( 0, PinkNoise .ar(mul) * LFNoise2 .kr([0.79, 0.67]) ) }, [0.1] ...

  8. 15 Help

    ... ratio var mod; var car; mod = SinOsc .ar( freq * modPartial, 0, freq * index * LFNoise1 .kr(5.reciprocal).abs ); car = SinOsc .ar( (freq * carPartial) + mod, 0, mul ); Out .ar( bus, car * EnvGen .kr( Env .sine(1), doneAction: 2, timeScale: ...

  9. audio_rate_mapping Help

    ... 1); // this should maybe be: // ~f2 --(\a_in)--> ~f3 --(\a_in)--> ~out ~mx1 = { LFNoise1 .kr(0.1).exprange(0.0001, 1) }; ~mF = { ~mx1.kr.linexp(0, 1, 1, 10000) }; ~f3.xmap( \freq , ~mF); ~f1.mapn( \a_in , ~x2); ~f2.xmapn( \a_in , ~f1); ~f1. ...

  10. GrainBuf Help

    ... : amp, doneAction: 2); Out .ar(0, GrainBuf .ar(2, Impulse .kr(10), 0.1, sndbuf, LFNoise1 .kr.range(0.5, 2), LFNoise2.kr(0.1).range(0, 1), 2, pan, envbuf) * env) }).send(s); ) // use built-in env x = Synth ( \buf_grain_test , [\sndbuf, b, \e ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow