Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. PLpoisson Doc

    ... trary Environments, // Poisson distribution gives positive integer values ( p = Pbind( \midinote, (PLpoisson(\mean) + 50).clip(60, 90), \dur, 0.1 ); ) // prepare current Environment ~mean = 10; // run x = p.play; // changing mean value ~mea ...

  2. Pnsym Doc

    ... 1, 3)); Pdefn(\y, Prand([5, 9, 1], 2)); Pdefn(\z, Pdefn(\y) * 2); ( Pdef(\play, Pbind( \instrument, \gpdef, \harmonic, Pnsym(Pseq([\x, \x, Prand([\x, \y]), [\z, \y], \y], inf)).trace, \dur, 0.2, \note, 10 ) ).play; ) // change root pattern: ...

  3. TempoBusClock Doc

    ... .clock.tempo = 1.3; // patterns and tasks are synchronized: ~out2.play; ~out2 = Pbind(\dur, 1, \note, Pwhite(0, 7, inf)); p.clock.tempo = 3; p.clock.tempo = 1; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/TempoBusC ...

  4. Key Doc

    ... ; k.quantizeCents(1150); // map to degree k.freqToDegree(660, 440); // use in a Pbind ( a = Scale.major; a.tuning = \just; k = Key(a); Pbind( \scale, Pfunc({ k.scale }), \degree, Pseq([ Prand(k.scale.degrees, 20), Prout({ k.mode = \minor; 0 ...

  5. EuroClockIn Doc

    ... kIn(trigIn: 6); // play a pattern according to the clock ( Pdef(\euroClockSync, Pbind( \instrument, \default, \dur, 1.0, \degree, Pxrand((0..6), inf), )).clock_(c.clock).play; ) Pdef(\euroClockSync).stop; // free resources on the server c.c ...

  6. miSCellaneous Doc

    ... Pattern classes for convenient replacement. Can be used for shorter writing of Pbinds to be played with VarGui and / or live coding, see PLx and live coding with Strings . PLbindef and PLbindefPar as subclasses of Pdef allow replacement of ...

  7. Pconst Doc

    ... oneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( Pn( Pbind( \dur, Pconst(1, Prand([1, 0.02, 0.2], inf)), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ).play; ) ⧉ ✔ helpfile source: /usr/ ...

  8. ListeningClock Doc

    ... (0, Pan2.ar(z * e, pan)); }).add; ); ) // play a pattern on clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \dur, 0.25, \pan, -0.5, \amp, 0.5 ) ).play(t); ) ///// Same behavior as in SoftClock: // fadeTempo(newTemp ...

  9. DWGBowedSimple Doc

    ... = LPF.ar(son,6000); Out.ar(out, Pan2.ar(son * 0.1, pan)); }).add; ) //Use it. ( Pbind( \instrument, \help_dwgbowed, \dur , 0.25, \degree, Pseq([1,5,7+3], inf), \amp , Pseq([0.9,0.7,0.5],inf), ).play; ) ⧉ ✔ helpfile source: /usr/local/share/ ...

  10. PLgeom Doc

    ... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind( \freq, Pn(PLgeom(\start, \grow, 50)) % 2000 + 400, \dur, 0.1 ); ) // prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascending to rand ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow