Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Pattern Doc

    ... .ar(freq * [Rand(0.99, 1.01), Rand(0.99, 1.01)], 0, amp) }).distort * 0.2; eg = EnvGen.kr(Env.asr(1, 1, 1), gate, doneAction: Done.freeSelf); out = eg * RLPF.ar(osc, fc, 0.1); #a, b = out; Out.ar(i_out, Mix.ar(PanAz.ar(4, [a, b], [pan, pan+ ...

  2. Mrmr Quark

    ... freq, mul, gate(0) | var z; mul = (In.kr(mul)-1)*(-1); freq = In.kr(freq); z = EnvGen.kr(Env.asr,In.kr(gate))*SinOsc.ar(freq*500,0,mul); Out.ar([0,1],z); } ).send(s); ) //maps the gate to the toggle button, freqency to the x axis of the to ...

  3. SCButton Help

    ... 6)) .states_([[ "play" , Color .black, Color .rand]]) .mouseDownAction_({ a = { EnvGen .kr( Env .adsr,doneAction:2)* SinOsc .ar(440,0,0.4)}.play; }) .action_({ arg butt, mod; a.release(0.3); }); w.front; }) ) // if you drag a function to a ...

  4. EZNumber Help

    ... = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .ar(x[0], x[1], bal); x = x * EnvGen .kr( Env .cutoff, gate, doneAction: 2); Out .ar(0, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).load(s); // make the window w = Window ( "another control panel" ...

  5. Streams-Patterns-Events4 Doc

    ... e.valueEnvir; }); sound = CombC.ar(sound, 0.2, 0.2, 3, 1, out); sound = sound * EnvGen.kr( Env.sine, doneAction: Done.freeSelf, timeScale: 1.0 + 6.0.rand, levelScale: 0.3 ); Out.ar(out, sound); }).send(s); 0.02.wait; }); loop({ Synth( "Help ...

  6. MantaOSC Quark

    ... (0)), \decay.kr(1)); //Line.kr(1, 0, \decay.kr * 10, doneAction:2); src = src * EnvGen.kr(Env.adsr(0.01, 1, \release.kr(0.1)), gate: \gate.kr(1), doneAction:2) * 400; Out.ar(0, src.tanh!2) }).add } ) s.freeAll ( // minimal synth ctl with vi ...

  7. standalones Doc

    ... le sound s.waitForBoot { { Line.kr(1, 0, 10, doneAction: 2) * SinOsc.ar(1000) * EnvGen.ar(Env.perc(0.01, 0.25), Impulse.kr(2, [0, 0.5]), 0.1) }.play; }; "; ~writeText.(~newAppResDir +/+ "startup.scd", ~startupCode); (~newAppResDir +/+ "star ...

  8. PG_04_Words_to_Phrases Help

    ... ig = Mix ( VarSaw .ar([freq, freq * detune], 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) }).add; ) ( TempoClock .default.tempo = 132/60; p = Pxrand ([ Pbind ( // re ...

  9. Young Mr. Markov by paparde (Paparde) Code

    ... var sig; sig = Pan2.ar(SinOsc.ar(frq, 0, mul: amp), pan); sig = sig * EnvGen.kr(Env.perc, timeScale: dur, doneAction: 2); Out.ar(0, sig) }).add; //------------ SynthDef(\warpSample, {|buffer, fscale, wsize, ratio, envdur, pan ...

  10. Sieves and Psieve patterns Quark

    ... .1, amp = 0.1| var sig = { WhiteNoise .ar } ! 2; sig = BPF .ar(sig, freq, rq) * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, sig); }).add; SynthDef ( \sin_grain , { |out = 0, ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow