Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Pdup Doc

    ... ; env = Env.perc(0.01, sustain, 0.2).kr(doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; ) ( a = Pbind( \instrument, \help_sinegrain, \note, Pxrand([0, 5, 7, 9], inf), \dur, 0.05, \sustain, 0.1 ); Pdup(Pseq([1, 2 ...

  2. Event_patterns_and_LFOs Doc

    ... c_1e, {|amp = 0.1, bus, att = 0.01, rel = 1| var in = In.kr(bus, 1); Out.ar(0, (SinOsc.ar(Latch.kr(in, in).midicps, 0, amp) * EnvGen.ar(Env.perc(att, rel), doneAction: 2))!2) }).add; ) ( x = { Out.kr(c, LFDNoise3.kr(1, 5, 75)) }.play; y = { ...

  3. ProxyChainGui Doc

    ... d( \ringmod, \filter -> { |in, randrate=5| in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, \dist, \filter -> { |in, drive=10, amp=0.2| (in.asArray[0] * drive).clip2(0.5) * amp } ) ...

  4. GMGridButton Doc

    ... lFreqs[index]]); }); SynthDef(\GMPercSine, { |amp = 0.25, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyb ...

  5. Delay1 Doc

    ... ment ( { var freq = 1000; var phaseStep = 2pi * freq / s.sampleRate; var sine = SinOsc.ar(freq); [ // default: silence before delay Delay1.ar(sine), // reconstruct predelay sample Delay1.ar(sine, x1: phaseStep.sin.neg) ] }.plot(0.001).plotM ...

  6. Ppatlace Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // interlace two streams ( var c = Ppatlace([ Pseq([0, 0, 0, 0, 8, 0, 8], inf), Pseries(1, 1, 32) ], inf) + 67; x = c.asStrea ...

  7. PHSparPlayer Doc

    ... waves with opposite phases h = HSpar(s, [ { |freq = 0.25, dev = 5, center = 70| SinOsc.kr(freq, 3pi/2, dev, center) }, { |freq = 0.25, dev = 5, center = 70| SinOsc.kr(freq, pi/2, dev, center) } ]); // one stream shared by both switch indice ...

  8. BusPlug Doc

    ... z.setn({ |i| (i * 5).nthPrime } ! 16 * 5 + 100); a = BusPlug.for(z); { Splay.ar(SinOsc.ar(a.kr(3, MouseX.kr(0, 25)))) * 0.1 }.play; // selectively play 3 channel of the 16, modulate offset ⧉ ✔ Class Methods BusPlug. new ( server ) Create a ...

  9. Pstutter Doc

    ... ; env = Env.perc(0.01, sustain, 0.2).kr(doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; ) ( a = Pbind( \instrument, \help_sinegrain, \note, Pxrand([0, 5, 7, 9], inf), \dur, 0.05, \sustain, 0.1 ); Pstutter(Pseq([ ...

  10. DoubleWell3 Doc

    ... rited instance methods Examples //bass synth {Out.ar(0,Pan2.ar(DoubleWell3.ar(f:SinOsc.ar(MouseX.kr(0,200),0,MouseY.kr(0.5,4.0))),0.0))}.play //plotting check of first samples {DoubleWell3.ar}.plot(0.05, minval:-1, maxval:1) //gradually cha ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow