Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. Assignment Help

    ... eft hand side. A single assignment is in the form: <variable> = <an expression> examples: x = [1, 2, 3, 4].rotate(1); c = a + b; Multiple Assignment A multiple assignment statement assigns the elements of a Collection which is the result of ...

  2. SkipJack Help

    ... dates a window displaying the state // of some objects every now and then. ( // example is mac-only d = (a: 12, b: 24); d.win = SCWindow ( "dict" , Rect (0,0,200,60)).front; d.views = [ \a , \b ].collect { |name, i| SCStaticText (d.win, Rec ...

  3. Dseries Help

    ... be a number or any other ugen structurally related: Pseries see also: Demand // example ( { var a, freq, trig; a = Dseries (0, 1, 15); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0 ...

  4. Pmono Help

    ... ly directs its pattern changes to that node and does not create an extra synth. Examples p = Pmono ( \default , \dur , 0.2, \freq , Pwhite (1,8) * 100 ).play p.stop // multi channel expansion is supported: p = Pmono ( \default , \dur , 0.2, ...

  5. Pbeta Help

    ... Gaussian-like distribution. length number of values produced (default: inf) // example ( var a, c, w; a = Pbeta (0.0, 1.0, 0.1, 0.1, inf ); c = a.asStream.nextN(500); w = Window .new( "Pbetarand" , Rect (10, 10, 540, 800)); // plot the val ...

  6. Intro-to-Objects Help

    ... ame message in different ways, each appropriate to the class of the object. For example all objects understand the 'value' message. Many objects simply return themselves in response to 'value', but other objects such as functions and stream ...

  7. Dswitch1 Help

    ... hich of the inputs to return structurally related: Pswitch1 see also: Demand // example ( { var a, freq, trig; a = Dswitch1 ([1, 3, MouseY .kr(1, 15), 2, Dwhite (0, 3, 2)], MouseX .kr(0, 4)); trig = Impulse .kr( 3 ); freq = Demand .kr(trig, ...

  8. Dgeom Help

    ... structurally related: Pgeom The arguments can be a number or any other ugen // example ( { var a, freq, trig; a = Dgeom (1, 1.2, 15); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0 ...

  9. Pgate Help

    ... n whenever key is true. Pgate must be used within an Event pattern See also: Pn Examples // Pn advances Pgate each time its subpattern is repeated ( Pbind ( \degree , Pn ( Pseq ((0..7)), inf , \step ), \mtranspose , Pgate ( Pwhite (0,5), in ...

  10. Free Help

    ... Gen *kr(trig, nodeID) trig when triggered, frees node nodeID node to be freed //example s.boot; SynthDef ( "a" , { Out .ar(0, SinOsc .ar(800, 0, 0.2)) }).send(s); SynthDef ( "b" , { arg t_t=0; Out .ar(1, PinkNoise .ar(0.3)); Free .kr(t_t, 1 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow