Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... iew.bounds, 10@10, 20@5 ); 16.do{ Slider2D ( w.view,80@80 ).background_( Color .rand ) }; ) You can also write: ( w = Window .new.front; w.addFlowLayout( 10@10, 20@5 ); // a shortcut method, see SCContainerView 16.do{ Slider2D ( w.view,80@8 ...

  2. Rand Help

    Rand uniform distribution single random float value ugen Rand(lo, hi) Generates a single random float value in uniform distribution from lo to hi. It generates this when the SynthDef first starts playing, and remains fixed for the duration ...

  3. SCCompositeView Help

    ... lays at (50, 0) b = Slider2D (c, Rect (100,100,100,100)); c.background = Color .rand; w.front; ) c.bounds_( Rect (100,0,300,300)); // contents adust since coords are relative c.resize_(6); // contents adust since coords are relative Keydown ...

  4. AbstractFunction Help

    ... responds by answering a new instance of class BinaryOpUGen which has the two operands as inputs. see also: UGen , Pattern , Function Unary Messages: All of the following messages send the message composeUnaryOp to the receiver with the unar ...

  5. BusPlug Help

    ... sPlug .for(z); m = { Mix ( SinOsc .ar(a.kr(16), 0, 0.1)) }.play; z.setn( Array .rand(16, 300, 320).put(16.rand, rrand(500, 1000))); z.setn( Array .rand(16, 300, 320).put(16.rand, rrand(500, 1000))); z.setn( Array .rand(16, 300, 320).put(16. ...

  6. SCScope Help

    ... num = f.bufnum; v= CompositeView (w, Rect (400,10,380,380)).background_( Color .rand(0.7)); v.decorator = n = FlowLayout (v.bounds, margin: 0@0, gap: 5@5); a = StaticText (v, Rect (20, 70, 90, 20)).string_( " xZoom = 1" ).background_( Color ...

  7. DynKlang Help

    ... // building new synths every 2 seconds ( { loop({ play({ var mod = SinOsc .kr( Rand (0.1, 0.9), 0, Rand (5, 20)); Pan2 .ar( DynKlang .ar(`[ Array .rand(12, 200.0, 2000.0), 1, mod ]), 1.0.rand) * EnvGen .kr( Env .sine(4), 1, 0.02, doneActio ...

  8. Gendy2 Help

    ... The New GENDYN Program. Computer Music Journal 24:2, pp 31-38. Technical notes: random walk is of the amplitude and time delta, not the amp and time directly. The amplitude step random walk uses a lehmer style number generator whose paramet ...

  9. Gendy1 Help

    ... ter point intervals and the amplitudes. In yet another, just have one point and random walk its amplitude and duration based on the probability distribution. In this implementation I allow the user to initialise a certain number of memory p ...

  10. Pluck Help

    ... { var freq, numparts; numparts = 50; freq = SinOsc .kr( Array .fill(numparts, { Rand (0.05, 0.2)}), Array .fill(numparts, { Rand (0, 1.0)})).range(1000, 3000); LeakDC .ar( Pan2 .ar( Pluck .ar( WhiteNoise .ar(0.1).dup(numparts), Impulse .kr( ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow