Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Crest Doc

    ... odd results you get over the first few samples): { var sig = (SinOsc.ar(440, pi.rand) * XLine.kr(1,10, 5)).clip2(1); var val = Crest.kr(sig, 440).poll; Out.ar(0, sig * 0.1.dup); K2A.ar(val); }.plot(5, minval:1, maxval: 4) ) ⧉ ✔ helpfile sou ...

  2. Boids2D Doc

    ... o gravity has been applied. This will be fixed in future versions. f.addTarget([rand(200), rand(200)], rrand(1,3)); // add a target randomly f.targets[0].postln; // prints Dictionary[ (pos -> RealVector2D[ 91, 27 ]), (strength -> 2) ] ⧉ ✔ . ...

  3. Condition Doc

    ... uses a Condition implicitly: ( SynthDef(\help, { |out| var mod = LFNoise2.kr(ExpRand(0.5, 2)) * 0.5; var snd = mod * Blip.ar(Rand(200, 800) * (mod + 1)); Out.ar(out, snd); FreeSelf.kr(mod < 0); // free the synth when amplitude goes below 0. ...

  4. ServerPluginAPI Doc

    ... ACQUIRE_BUS_CONTROL(index) RELEASE_BUS_CONTROL(index) ⧉ ✔ RGen RGen is a pseudorandom number generator API. Most ugen developers are not interested in seeding their own RGens and would prefer to draw from a global RGen instance supplied by ...

  5. OSCBundle Doc

    ... is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used with synchronous operations, like starting s ...

  6. TabbedView2 Doc

    ... scroll: true)}; q.tabViews[0].flow({ arg w; 78.do({ arg i; b = Button(w, Rect(rrand(20,300),rrand(20,300), 75, 24)); b.states = [["Start "++i, Color.black, Color.rand], ["Stop "++i, Color.white, Color.red]]; }); }); GUI.slider.new(q.tabVie ...

  7. Pchain Doc

    ... terns = value Examples ( Pchain( Pbind(\detune, Pseq([-30, 0, 40], inf), \dur, Prand([0.2, 0.4], inf)), Pbind(\degree, Pseq([1, 2, 3], inf), \dur, 1) ).trace.play; ) // also events can be used directly: ( Pchain( Pbind(\degree, Pseq([1, 2, ...

  8. Simplex Doc

    ... hods Instance methods Inherited instance methods Examples Classes (extension) | Random Simplex Extension Simplex (spatial) noise functions Location: NOT INSTALLED! See also: Perlin3 Description This class is just a group of functions to gen ...

  9. FancySlider Doc

    ... ringAtPoint(value_string,Point(string_x,0)); Pen.stroke; }); v.valueAction_(1.0.rand); } ) ⧉ ✔ helpfile source: /tmp/scquark_hs/FancySlider/HelpSource/Classes/FancySlider.schelp link::Classes/FancySlider::

  10. CtkNoteObject Doc

    ... = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }) ); ) // show the args a.args; // create a new instance of CtkNote based on this prototype b = a.note; // set values for its arguments. See ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow