Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (133) Code (31) Doc (44) Help (21) Quark (37) SCDoc ↗ Forum ↗ Google ↗
  1. Linen Doc

    ... nOsc.ar(freq, 0, 0.1) ) }).add; ) ( // debussey sleeping through math class x = Pbrown(0.01, 2.0, 0.2, inf).asStream; Routine({ loop({ Synth.grain("help-Linen", [\freq, (rrand(20, 50) * 2).midicps, \releaseTime, x.next]); 0.25.wait; }) }).p ...

  2. Motion Doc

    ... (\random,5,0.1) // erratical movements ⧉ ✔ --> \brown Brownian motion. Based on Pbrown . It receives as an argument the amount of position variation of each step, in reference to the world's dimension. Default to 0.01 (1% of the world size) ...

  3. PLbindef Doc

    ... = Pwhite(0.01, 0.2) ~x.midinote = 75 ~x.att = 0.01 ~x.dur = 0.02 ~x.midinote = Pbrown(60, 90, 1.5) // prototype underscore syntax ~x.midinote_(Pbrown(70, 80, 3)) // pause ~x.stop // resume ~x.play // use method 'value' for parallel setting ...

  4. Randomness Doc

    ... eat of previous choice Pwhite within range [<hi>, <lo>], choose a random value. Pbrown within range [<hi>, <lo>], do a random walk with a maximum <step> to the next value. Pgbrown geometric brownian motion Plprand Phprand Pmeanrand Pbeta Pc ...

  5. InstrGateSpawner Doc

    ... 2, Patch({ LFTri.kr(0.1,[0.0,0.5],0.5,0.5) }), Env.adsr(0.3,sustainLevel: 0.4), Pbrown(2000,10000,100), Env.adsr(releaseTime: 0.5), // dur uses a Pfunc to ask the delta till the next event Pfunc({ arg igs; (igs.delta * 0.9) }), TempoPlayer. ...

  6. Streams Doc

    ... r patterns Pset Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream Event Stream EventStreamPlayer helpfile source: /usr/local/share/SuperColli ...

  7. PG_02_Basic_Vocabulary Doc

    ... o, hi, length) Random numbers, exponential distribution. Like exprand(lo, hi) . Pbrown(lo, hi, step, length) Brownian motion, arithmetic scale (addition). Pfunc(nextFunc, resetFunc) Get the stream values from a user-supplied function. Pfunc ...

  8. Latency Doc

    ... .reboot; // do something that sends messages with server latency Pbind(\degree, Pbrown(-14, 14, 3), \dur, 1/8).play; s.latency; s.latency = 0.1; // tune down ... s.latency = 0.05; s.latency = 0.025; s.latency = 0.012; // ... until every mes ...

  9. PIdev Doc

    ... t case // no repetitions within a maximum span of 6 (lookBack == 5) ( p = PIdev(Pbrown(0, 20, 0.3).round.asInteger, 5, -7, 7).iter; a = p.nextN(10000); a.plot; ~repetitionCheck.(a, 10); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/miSCellaneous_l ...

  10. Boids2D_spatializerGuide Doc

    ... ly edit these targets in case there are others }; targets.mags = Array.fill(3, {Pbrown(50, 300, 5, inf).asStream}); // get some streams for magnitudes targets.angles = Array.fill(3, {rand(2pi)}); // get some angles targets.points = 3.collec ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow