Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... eStream(r); t.start; // prints "go..." 0.1.wait; t.stop; // but stop before the loop prints 0.1.wait; t = PauseStream(r); t.start; // prints "go..." 6.wait; // loop is allowed to run 2 cycles t.stop; }; ) ⧉ ✔ helpfile source: /usr/local/sha ...

  2. Pstutter Doc

    ... s ( c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine { loop { Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.12.wait; } }.play; ) // Voss algorithm for pink noise // note that pattern.stutter(n) is a synonym for ...

  3. Mem Doc

    ... ayed: ~mem.maxMems = 5; // constrain to leave only a single remaining option -> loops Mem.minSize = 1; ~mem.maxMems = ~degrees.size; ~mem.maxMems = 6; // and 2 choices again // dry swimming: ~mem.maxMems = 5; ~recents = (1..10).scramble.kee ...

  4. 072-lsystem_grow_discrete Doc

    ... ); Pen.stroke; Pen.translate(0, length); {Pen.translate(0, 0-length)}; } ); //--loop w.draw{ if(command.isNil, { if(cnt>0, { cnt= cnt-1; }, { w.clearDrawing; //clear each generation Pen.translate(lplot.initTranslate.x*width, lplot.initTrans ...

  5. 062-angents-fm_synth Doc

    ... e n agents for startup //--sequence Tdef(\seq, { //play the state of the agents loop{ drums.do{|d, i| //all 4 instruments var amp= world.objects[i].state[\amp].next; world.objects[i].state[\level]= amp; if(amp>0, {d.set(\t_trig, 1, \amp, am ...

  6. Mosca Doc

    ... es Additional features include a scalable Doppler Effect on moving sources, the looping of sources loaded or streamed from file and the adjustment of the virtual loudspeaker angle for stereo sources. Further, a "contraction" control enables ...

  7. Dunique Doc

    ... fferSize Maximum size for the value buffer when protected is false. Values will loop after maxBufferSize has been exceeded. protected There are limitations to this ugen: If one copy is called much faster than the slowest, the buffer can ove ...

  8. Onsets Doc

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

  9. 260-oscillators Doc

    ... .coupling_(0.01/n) .freq_(0.05.rand+0.01) .phase_(2pi.rand) .amp_(0.85) }; //--loop w.draw{ world.objects.do{|o| world.objects.do{|p| if(p!=o, { o.couple(p); }); }; }; world.objects.do{|o, i| o.update; o.loc[0]= o.phase.sin*o.amp/2+0.5*wid ...

  10. 13-Buffers Doc

    ... (0.3); // record some PinkNoise RecordBuf.ar(noise, bufnum); // by default this loops }).play(s,[\out, 0, \bufnum, b]); ) // free the record synth after a few seconds x.free; // play it back ( SynthDef("tutorial-playback",{ arg out=0,bufnum ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow