Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (192) Code (40) Doc (62) Help (29) Quark (60) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Groups Help

    ... rns a random number from -1 to 1, used here for a random pan source = Pan2 .ar( Decay2 .ar( Impulse .ar( Rand (0.3, 1), 0, 0.125), 0.3, 1, SinOsc .ar( SinOsc .kr(0.2, 0, 110, freq))), Rand (-1.0, 1.0)); Out .ar(outBus, source * direct); Out ...

  2. QuickStart Doc

    ... le.kr(bufnum), trig, speed.linlin(0, 10.0, 5000, BufFrames.kr(bufnum)), 0)*0.7; Decay2.ar(trig, 0.01, 0.1, in); } ); ~steeringBehavior1 = Arrive(~unit1.entity, RealVector2D[18, 20.5]); ~unit1.entity.force_({ arg entity; ~steeringBehavior1.v ...

  3. NTube Doc

    ... 0.1, lagtime=0.1, freq=440| var env; var lossarray, karray, delaylengtharray; //Decay2.ar(Impulse.ar(freq),lagtime,0.01) var source= SinOsc.ar(freq)*(0.95+(Line.kr(0,1,0.2)*0.05*BrownNoise.ar)); env= EnvGen.ar(Env([0,1,0.8,0.8,0],[0.01,0.01 ...

  4. 12-Groups Doc

    ... turns a random number from -1 to 1, used here for a random pan source = Pan2.ar(Decay2.ar(Impulse.ar(Rand(0.3, 1), 0, 0.125), 0.3, 1, SinOsc.ar(SinOsc.kr(0.2, 0, 110, freq))), Rand(-1.0, 1.0)); Out.ar(outBus, source * direct); Out.ar(effect ...

  5. Bus Doc

    ... helpBusMulti, { |out| var freqs = b.kr; Out.ar(out, Splay.ar(SinOsc.ar(freqs) * Decay2.ar(Dust.ar(10 ! 4), 0.001, 0.1)) * 0.5); }).play; ) // set bus beginning at index 0: // none of these methods checks whether the indexes remain // within ...

  6. Chaos Machine by dkam136 (dkam136) Code

    ... 0.5, 0.8, inf); // decay times comparisons ~decay1 = Pwhite(1, 1.5, inf); ~decay2 = Pwhite(0.9, 1, inf); ~decay3 = Pwhite(0.7, 0.75, inf); ~decay_intro = Pwhite(0.5, 0.51, inf); // crest times compare ~crest1 = Pwhite(0.8, 1, inf ...

  7. PG_03_What_Is_Pbind Help

    ... SynthDef ( \trig_demo , { |freq, gate = 1, t_trig = 1| // t_trig here var env = Decay2 .kr(t_trig, 0.01, 0.1), sig = SinOsc .ar(freq, 0, env) * Linen .kr(gate, 0.01, 0.1, 0.1, doneAction: 2); Out .ar(0, sig ! 2) }).add; ) ( p = Pmono ( \tri ...

  8. scm_synthdef_autoload Quark

    ... g=1, boost=0, amp=0.1, pan=0, out=0 | // in pbind t_trig is just trig var env = Decay2.kr(t_trig;, 0.01, 0.1); var sig = SinOsc.ar(freq, 0, env); sig = tanh(sig * (1 + boost)) * amp; sig = sig * Linen.kr(gate, 0.01, 0.1, 0.1, doneAction: 2) ...

  9. Tutorial Help

    ... oise pulse SynthDef ( "tish" , { arg freq = 1200, rate = 2; var osc, trg; trg = Decay2 .ar( Impulse .ar(rate,0,0.3), 0.01, 0.3); osc = { WhiteNoise .ar(trg)}.dup; Out .ar(0, osc); // send output to audio bus zero. }).add; ) ( // define an e ...

  10. Pbind Help

    ... linb , { arg out=0, freq = 80, amp = 0.01, pan=0, gate=1; var synth, env; env = Decay2 .kr(gate, 0.05, 8, 0.0003); synth = RLPF .ar( LFPulse .ar(freq, 0, SinOsc .kr(0.12, [0, 0.5pi], 0.48, 0.5)), freq * SinOsc .kr(0.21, 0, 18, 20), 0.07 ); ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow