Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Trafo.new; // the identity t.vmul( [1, 0, 0]); ( {2000.do{ t = Trafo.new({{1.0.rand}!3}!3, {1.0.rand}!3); t vmul: ({1.0.rand}!3) }}.bench ) t = Trafo.from3dPoints( [0, 0, 0], [pi, 3, 0], [15, 2, 0] ) t.vmul( [1, 0, 0]) ⧉ ✔ Inherited instan ...

  2. README Quark

    ... hold down ALT while clicking to create or edit those. l = LinearSpline({ { 4.0.rand } ! 2 } ! 9); l.gui l = LinearSpline({ { 4.0.rand } ! 6 } ! 12); v = VectorSplineGui(l).gui(nil,1000@1000); // used like a long envelope b = LinearSpline( ...

  3. Slider2D Doc

    ... ReceiveDrag Inherited instance methods Undocumented instance methods background randomize Examples Classes | GUI > Views'>Views Slider2D : QAbstractStepValue : AbstractStepValue : View : QObject : Object A view with a handle movable in two ...

  4. Streams-Patterns-Events7 Doc

    ... te = 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 = EnvGen.kr(Env.asr(1,1,1), ...

  5. DPW3Tri Doc

    ... ,12000,'exponential'))}.play //less efficient than LFTri { Mix(DPW3Tri.ar(Array.rand(10,50,5000))*0.1) }.play; { Mix(LFTri.ar(Array.rand(10,50,5000))*0.1) }.play; //triangle is integration of square wave; warning loud, not so kind {Integrat ...

  6. GUI-Introduction Doc

    ... nly to the item currently selected. Whenever you execute the following example, random colors will be applied to different aspects of the views: ( w = Window("GUI Introduction").background_(Color.rand).front; b = Button(w, Rect(10,10,100,30 ...

  7. pvcalc Help

    ... uncommenting each of these lines in turn and re-running the synth: [mags * {1.5.rand}.dup(mags.size), phases + {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[mags.reverse, phases.reverse]; // Upside-down! //[mags ...

  8. Tdef Help

    ... 25.wait; "aazz" .scramble.postln } }); Tdef ( \x , { loop { 0.5.wait; (note: 14.rand).play } }); Tdef ( \x , { loop { 0.5.wait; (note: 14.rand + [0, 3, 6, 7].keep(4.rand)).play } }); Tdef ( \x ).stop; Tdef ( \x ).play; Tdef ( \x ).clear; Cr ...

  9. Prout Doc

    ... lue Examples ( var a; a = Prout({ loop { 1.yield; 2.yield; 7.yield; 10.do { 1.0.rand.yield } } }); a.asStream.nextN(100).plot; ) // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(E ...

  10. Stream Help

    ... tions of its nextFunction. // Example 1: a Function vs. a FuncStream ( f = { 33.rand }; x = FuncStream (f); 10.do({ [f.next, x.next].postln }); ) // Example 2: the reset function ( f = { 33.rand }; x = FuncStream (f, { thisThread .randSeed_ ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow