Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. DynKlang Help

    ... 0.3, 0.3], [pi,pi,pi] ] ) * 0.1 }; ) // 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 . ...

  2. Linen Help

    ... eping through math class x = Pbrown (0.01, 2.0, 0.2, inf ).asStream; Routine ({ loop({ Synth .grain( \help_Linen , [ \freq , (rrand(20, 50) * 2).midicps, \releaseTime , x.next]); 0.25.wait; }) }).play( TempoClock .default) ) ( { Linen .kr( ...

  3. LocalBuf Help

    ... 0 .ar(530).range(0, BufFrames .kr(buf))); PlayBuf .ar(2, buf, MouseX .kr(1, 2), loop: 1) * 0.1 }.play ) // avoid this (unless you like the glitch) by clearing buffer first: ( { var buf = LocalBuf (2048, 2).clear; BufWr .ar( WhiteNoise .ar(1 ...

  4. InterplEnv Help

    ... ents. Differences between InterplEnv and Env InterplEnvs do not have release or loop nodes. They are of a fixed duration. Mostly, it is meant to be used with IEnvGen, where 'times' are actually an index into the envelope shape. Basic Creati ...

  5. PG_Ref01_Pattern_Internals Help

    ... nt } Because of this inheritance, Prand simply expresses its behavior as a 'do' loop, choosing 'repeats' items randomly from the list and embedding them into the stream. When the loop is finished, the method returns the input value (see bel ...

  6. Pfsm Help

    ... ], Pseq ([74, 75, 76, 77]), #[2, 3, 3], nil , nil ], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.1.wait; }) }).play; ) ( Pfsm ([ #[5, 6, 7], // entry states //e1 (== state 0) Pbind ( \dur , Pseq ...

  7. Pprob Help

    ... var t; a = Pprob ([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , t.next.midicps]); 0.01.wait; }) }).play; ) a.distribution = [0, 1]; a.distribution = [1, 0]; a.distribution = [0, 0, ...

  8. Streams-Patterns-Events2 Help

    ... pattern, streams, dur, durDiff; dur = 1/7; durDiff = 3; pattern = Prout .new({ loop({ if (0.5.coin, { #[ 24,31,36,43,48,55 ].do({ arg fifth; fifth.yield }); }); rrand(2,5).do({ // varying arpeggio 60.yield; #[63,65].choose.yield; 67.yield; ...

  9. Onsets Help

    ... if you want to play the buffer in //sig = PlayBuf.ar(1, d, BufRateScale.kr(d), loop: 1); chain = FFT (b, sig); onsets = Onsets .kr(chain, MouseX .kr(0,1), \rcomplex ); // You'll hear percussive "ticks" whenever an onset is detected pips = ...

  10. Control-Structures Help

    ... nd the falseFunc. While The while message implements conditional execution of a loop. If the testFunc answers true when evaluated, then the bodyFunc is evaluated and the process is repeated. Once the testFunc returns false, the loop termina ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow