Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... fnumIr, sample.bufRateScaleIr * pchRatio, startPos: start * sample.bufFramesIr, loop: 0 ),Rand(0,1),0.3) * EnvGen.kr( Env.perc(0.01,1.0,1,3), timeScale: dur, doneAction: 2) },[ Sample("sounds/a11wlk01.wav"), IrNumberEditor(1,[-4,4]), IrNumb ...

  2. Boids2D_spatializerGuide Doc

    ... stay away from each other. That tends to make things interesting. r = Routine({ loop { b.moveFlock({|thisFlock| var boids, thisBoid, panVals; // moveFlock takes a function which is passed the instance of Boids2D // you can access the BoidUn ...

  3. 190-kmeans Doc

    ... c,vel,acc,mass,size }.dup(n); kmeans= RedKMeans(~k, 10); //cluster analyser //--loop w.draw{ var colors= {|i| Color.hsv(i/~k, 1, 1)}.dup(~k); kmeans.k= ~k; kmeans.update(world.objects.collect{|o| o.loc}); world.objects.do{|o, i| var index= ...

  4. PV_MagSmear Doc

    ... 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_MagSmear(chain, MouseX.kr(0, 100)); Out.ar(out, 0.5 * IFFT(chain).dup); }).play(s, [\out, 0, \bufnum, b.bufnum, \s ...

  5. CUBE Doc

    ... av"); ~test = { | amp = 0.2| PlayBuf.ar(1, b.bufnum, BufRateScale.kr(b.bufnum), loop: 1)*amp; }; // the sphere is projected onto your screen and you may move the mouse to // control the source location // middle of the screen = top, top/mid ...

  6. Pexprand Doc

    ... ar(freq, 0, env)) }).add; ) ( var a; a = Pexprand(0.0001, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pexpra ...

  7. Routine Doc

    ... = Routine { 199.yield; 189.yield; 200.idle(6); 199.yield; 189.yield; }; fork { loop { r.value.postln; 1.wait; } } ); // the value can also be a stream or a function ( r = Routine { 199.yield; 189.yield; Routine { 100.do { |i| i.yield } }.i ...

  8. PV_MagDiv Doc

    ... , 150], 0, 0.2); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagDiv(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain)); }).play(s, [\ ...

  9. softPut Doc

    ... ply allows setting. Examples ( e = (amp: 0.1, dur: 0.2); Tdef(\test, { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.1 ...

  10. PlaceAll Doc

    ... may be Patterns, Streams or other Items to be embedded. repeats Number of list loops. Defaults to 1. offset List index offset. Defaults to 0. Inherited class methods Instance Methods Inherited instance methods Examples ( s = Server.local; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow