Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (91) Code (15) Doc (17) Help (12) Quark (46) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 03b_shared_coding_drawer Quark

    ... ef('draw').add(\grad, { |uv| var count = q.draw.counter * 0.0162; // thisThread.randSeed_(1); 1.do { |ii| var cols = 2.collect{|i| Color.hsv( (ii/4) + (i/ 2) + count % 1, 1,1, 0.8)}; Pen.addRect( Rect.newSides(0,0, q.draw.extent.x, q.draw.e ...

  2. PG_060_Filter_Patterns Help

    ... not given, Pif returns control to the parent upon nil from either branch. Pseed(randSeed, pattern): Random number generators depend on seed values; setting a specific seed produces a repeatable stream of pseudorandom numbers. Pseed sets the ...

  3. Stream Doc

    ... Example 2: the reset function ( f = { 33.rand }; x = FuncStream(f, { thisThread.randSeed_(345) }); x.reset; 10.do({ [f.next, x.next].postln }); x.reset; 10.do({ [f.next, x.next].postln }); ) ⧉ ✔ Routine(nextFunction, stacksize) In a FuncStr ...

  4. PG_060_Filter_Patterns Doc

    ... not given, Pif returns control to the parent upon nil from either branch. Pseed(randSeed, pattern) Random number generators depend on seed values; setting a specific seed produces a repeatable stream of pseudorandom numbers. Pseed sets the ...

  5. Hotroded "08091500Acid309 by_otophilia" by bernhard (bernhard) Code

    ... amp=0.3; var env1, env2, out, oscs1, noise, n, n2; n = 5; thisThread.randSeed = 4; env1 = EnvGen.ar(Env.new([0, 1.0, 0], [0.001, 0.2], [0, -12])); env2 = EnvGen.ar(Env.new([0, 1.0, 0.05, 0], [0.002, 0.05, 0.03], [0, -4, - ...

  6. SystemsEncounter Quark

    ... // pseudo randomness used for colors randData = thisThread.randData; thisThread.randSeed = 2017; window = Window( "systems ∿ encounter", Rect(0, 0, width, height), false ).decorate; window.onClose_({isClosed = true}); decorator = window.vie ...

  7. WFSPointArray Quark

    ... Routine({ loop { WFSPoint.rand(radius).yield } }); if( rSeed.notNil ) { routine.randSeed = rSeed }; ^WFSPointArray.fill(nPoints, { routine.next }); } *rand3D { arg nPoints = 10, min = -1.0, max = 1.0; //simple 2D rand ^WFSPointArray.fill(nP ...

  8. TestRational Quark

    ... r <>numTests = 50; var <>seed = 147; var <>isVerbose = true; setUp { thisThread.randSeed = seed } test_Setters { var rat = 1 %/ 2; rat.numerator_(3); rat.denominator_(3); this.assert(rat == Rational(1, 1), "Setter mutation test passed."); } ...

  9. In-between, longing by jpdrecourt (jpdrecourt) Code

    ... er v[\record] = true; // Recording the output // Piece version thisThread.randSeed = v[\seed]; // Tempo variation t.tempo = 1; t.sched(0, {|beat| t.tempo = (60 + (12*sin((beat/200)*(2*pi))))/60; 1;}); v[\partDur] = 41; // Si ...

  10. ClassTree Doc

    ... streams into an FFT chain buffer RandID - Set the synth's random generator ID. RandSeed - Sets the synth's random generator seed. SetBuf - (Undocumented class) WrapSummer - Pulse counter with floating point steps XFade2 - Equal power two c ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow