Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Pan.qtz"; m.resize = 5; m.start; ) s.boot; // use mouse to set pan position ( { loop({ { Pan2.ar(Saw.ar(mul: 0.1) * EnvGen.ar(Env.perc, timeScale: 4, doneAction: Done.freeSelf), m.x_pos) }.play; 1.wait; }); }.fork(AppClock); ) ////////// So ...

  2. Exercise_11_HOA_NRT_using_scores_and_Buffers Doc

    ... :2 ); playGrain = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:start, loop:1 ) * env; monoBeam = HOABeamHCard2Mono.ar(~order.asInteger, playGrain, az, el); reDirect = HOAEncoder.ar(~order.asInteger, monoBeam, az, el); OffsetOut.ar ...

  3. ServerTiming Doc

    ... ].postln; Synth(\sinGrain, [\out, chan, \freq, freq, \dur, 0.005]); 0.1.wait; }.loop; }); TempoClock.default.schedAbs(TempoClock.default.elapsedBeats.roundUp(1), rout); }); ⧉ ✔ This is the output: Left channel Right channel Logical vs Physi ...

  4. PLtuple Doc

    ... re default repeats = inf of PLshuf has no effect: // new permutation with every loop as Pshuf has repeats = 1 ~a = [ Pshuf((60..65)), 70, PLshuf((75..80)) ]; // both Patterns have repeats = inf, // permutation is kept ~a = [ PLshuf((60..65) ...

  5. Pfsm Doc

    ... 0, 2], 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([1/8, 3 ...

  6. PwarpDur Doc

    ... 30 notes within the specified duration"). ( p = Pspawner { |sp| var notes, dur; loop { notes = Pseries( rrand(-9, -5), Pconst(16, Pwrand([1, 2, 3, 4], [1, 4, 4, 2].normalizeSum, inf)), inf ).asStream.all; dur = exprand(2.5, 6.0); sp.par(Pbi ...

  7. LocalBuf Doc

    ... oise0.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.dup ...

  8. DbufTag Doc

    ... :2); Out.ar( out, Pan2.ar(index * 0.1, LFNoise1.kr(1)) ) }).send(s); ) ( fork { loop { Synth(\post, [\bufnum, b.bufnum]); rrand(0.3, 0.6).wait; } } ) // slowly play the classic example system by Emil Post ( b.zero; // empty the buffer. { va ...

  9. PV_MagBuffer Doc

    ... uf, freqbuf; var in, chain; in = PlayBuf.ar(1, sndbuf, BufRateScale.kr(sndbuf), loop: 1); chain = FFT(fftbuf, in); chain = PV_MagBuffer(chain, magbuf); chain = PV_FreqBuffer(chain, freqbuf); IFFT(chain); }).add; SynthDef(\magbuffersynth, {a ...

  10. 132-obstacle_rocks_synth Doc

    ... .rand.round(50), (height*0.5).rand.round(50)+(height*0.4)]); }.dup(nRocks); //--loop w.draw{ Pen.strokeColor= Color.grey(0.7, 0.9); objs.do{|o, i| o.addForce(o.world.gravity); //add gravity objs.copyToEnd(i+1).do{|oo| o.collide(oo)}; o.upda ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow