Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... unds.height - halfFing * fItem[1]; var fingSize = MTP.fingerSize * fItem[2]; // random color, fill instead of stroke Pen.color = Color.rand; Pen.fillOval( Rect(x, y, fingSize, fingSize)); Pen.stringCenteredIn( MTP.fingerStrings[key] ? key.a ...

  2. ProcEvents Doc

    ... Action: 2) * In.kr(procbus), // read off the overall env control of the ProcMod Rand(-1.0, 1.0) ) ) }).add; ) ( // create a ProcMod... feed the function in at init time a = ProcMod.new(Env([0, 1, 0], [1, 1], \sin, 1), 0.02, function: {arg g ...

  3. LineLayout Doc

    ... (VLayout( *( 100.collect { Slider().orientation_(\horizontal).background_(Color.rand) } ) )); view.front; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/LineLayout.schelp link::Classes/LineLayout::

  4. OFX_ChainPreset Doc

    ... en some effects to use in the chain OFX_Chain.add3( \ringmod, \filter -> { |in, randrate=5| in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, 0.5, // wet/dry mix of 50/50 [ \randrat ...

  5. LinearGridLines Doc

    ... ([0, 10000].asSpec); "in val / rounded / not rounded".postln; 10.collect{ 10000.rand }.sort.do({ |x| postf("% / % / %\n", x, g.niceNum(x, true), g.niceNum(x, false)) }) ) ⧉ ✔ The implementation is based on: A. S. Glassner, Ed., Graphics Gem ...

  6. ExponentialGridLines Doc

    ... ([0, 10000].asSpec); "in val / rounded / not rounded".postln; 10.collect{ 10000.rand }.sort.do({ |x| postf("% / % / %\n", x, g.niceNum(x, true), g.niceNum(x, false)) }) ) ⧉ ✔ The implementation is based on: A. S. Glassner, Ed., Graphics Gem ...

  7. WarpCutProc1 Doc

    ... 0 to 1.0). They are [prob of simple statement, prob of even roll, prob of accelerando rather than decelerando geometric series]. The algorithm cascades through one prob at a time. If a block is not simple, then it is a roll. If it isn't an ...

  8. CtkControl Doc

    ... doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }), SynthDef(\control, {arg outbus, rate, low, hi; Out.kr(outbus, LFNoise2.kr(rate).range(low, hi)) }), SynthDef(\controlenv, {arg gate = 1, ...

  9. StreamKrDur Doc

    ... d stoppable within Server-latency. // dalek mating season I ( f = StreamKrDur( Prand(Array.fill(rrand(4,16),{ rrand(20,80).midicps }),inf), 0.125,// a float 0.05); Tempo.bpm = 100; // times are in beats Patch({ arg freq; Saw.ar(freq,0.2) }, ...

  10. RecursiveCutProc1 Doc

    ... leted so far and current phrase length. The default method is {arg q,bpsubdiv; rrand(0,q - 1)*bpsubdiv}; //random offset into source ⧉ ✔ reclevel Level of recursion, so 0 gives back the source exactly, 1 is one cutup, 4 is four recursive cu ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow