Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. LFDClipNoise Doc

    ... From superclass: LFNoise0 Arguments: freq Approximate rate at which to generate random values. mul Output will be multiplied by this value. add This value will be added to the output. Inherited class methods Instance Methods Inherited insta ...

  2. Level_Compensation Doc

    ... e: the same signal on all channels, so the peaks will always line up, and fully random phase: different noise signals on all channels, where the peaks will be statistically very unlikely to ever line up. Most musical signals are somewhere b ...

  3. KeyPlayer Doc

    ... . Private methods . keyAction . makeKeyAction . makeKeyUpAction Examples // the random keyboard: ( s.latency = nil; // make sure we respond quickly thisThread.randSeed = 2008; "qwertzuiopasdfghjklyxcvbnm".do { |char| var note = (midinote: r ...

  4. Pspawner Doc

    ... // make some notes into triads Pbind(*[ctranspose: Pwhite(-0.1, 0.1)]), // add random detuning to notes Pbind(*[\scale, Scale.minor]), // alter the scale Pn(Pseq([p, (type: \rest, dur: 1.0)])), // repeat the pattern after a 1 second pause ...

  5. if Doc

    ... res if example if ( [false, true].choose, // Boolean expression (chooses one at random) { "expression was true".postln }, // true function { "expression was false".postln } // false function ) ( var a = 1, z; z = if (a < 5, { 100 },{ 200 }) ...

  6. FuncStream Doc

    ... tion that is called for each next stream value. // make a stream that returns a random number a = FuncStream({ 1.0.rand }); a.next; ⧉ ✔ It uses Function: -inEnvir to statically bind the function call to the environment in which the FuncStre ...

  7. NL Doc

    ... L.ar(Saw.ar(MouseX.kr(440,1760),0.5),c.bufnum, d.bufnum, 1.0),1000,0.1)}.play //random buffers; this code may lead to repeated indices, but shouldn't affect the result (will just add to sum) ( a=Array.fill(10,{[rrand(0,50),0.2.rand2, rrand( ...

  8. Using_Hardware_Pages Doc

    ... Dict.size; // test switching gui between pages: // turn all knobs in group 0 to random value k.elAt(\kn, 0).do(_.value_(1.0.rand)); // now switch to scene 1 - all knobs are at 0 g.pagesSwitch.valueAction_(1); // turn all knobs in group 1 to ...

  9. Convolution Doc

    ... a = 2048; s = Server.local; // kernel buffer g = Buffer.alloc(s, a, 1); ) ( // random impulse response g.set(0, 1.0); 100.do({ |i| g.set(a.rand, 1.0.rand) }); { var input, kernel; input = SoundIn.ar(0); kernel = PlayBuf.ar(1, g.bufnum, Buf ...

  10. PG_060_Filter_Patterns Doc

    ... rns 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 random seed before ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow