Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Action: 2) * Blip.ar(\freq.kr, 20) ) }).add; s.sync; //-- PLAY ( Tdef(\xthat, { loop { (instrument: \thatblip, note: rrand(-3, 10), octave: [5, 6], amp: 0.01).play; 0.02.wait; } }).play ); //-- STOP Tdef(\xthat).stop; //-- FREE Tdef(\xthat) ...

  2. Updater Quark

    ... }) } findWindow { arg layout; var windowClass; windowClass = Window.implClass; loop { if(layout.class === windowClass,{ ^layout }); if(layout.respondsTo('findWindow'),{ // SCTopView and children ^layout.findWindow }); if(layout.respondsTo( ...

  3. Updater Quark

    ... }) } findWindow { arg layout; var windowClass; windowClass = Window.implClass; loop { if(layout.class === windowClass, { ^layout }); if(layout.respondsTo('findWindow'), { // SCTopView and children ^layout.findWindow }); if(layout.respondsT ...

  4. Hymncycle (Second Phase) by schemawound (Schemawound) Code

    ... ource,\pulse, [\outbus, verbBus, \freq, 60, \seconds, seconds]); ~t1 = fork{loop{pulse1.set(\freq, rrand(0.1, 600)); 0.5.wait}}; ~t2 = fork{loop{pulse2.set(\freq, rrand(0.1, 600)); 0.51.wait}}; (seconds + 10).wait; ~t1.stop;~t2.st ...

  5. Pbrown Doc

    ... ar(freq, 0, env)) }).add; ) ( var a; a = Pbrown(0.0, 1.0, 0.1, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) // parallel browninan motions ( var a, x, f; a = Pbrown(0.0, 1.0, 0.1, inf); ...

  6. Spawning Doc

    ... 0.1) ) }).send(s); ) ( r = Routine.new({ { Synth.new("help-EnvGen"); 1.yield; }.loop }); // loop every one second SystemClock.play(r); ) ⧉ ✔ Note that the above example uses a precompiled SynthDef . This results in a lower CPU spike when Sy ...

  7. PV_PhaseShift Help

    ... ; ) ( { var in, chain, chainB, pan; in = PlayBuf .ar(1, d, BufRateScale .kr(d), loop: 1) * 2; chain = FFT (b, in); chainB = PV_Copy (chain, c); pan = MouseX .kr(0.001, 1.001, 'exponential' ) - 0.001; chain = PV_BrickWall (chain, pan); chain ...

  8. SoundFileView Quark

    ... e.endSecond; views[ \endSecond ].clipHi = inSndFile.fileDuration ? inf; views[ \loop ].value = inSndFile.loop.binaryValue; views[ \rateRatio ].value = inSndFile.rate; views[ \rateSemitones ].value = inSndFile.rate.ratiomidi.round( 1e-6); { ...

  9. Block Quark

    ... \buffer, rate, trigger, startPos.linlin(0,1,0, \buffer.numFrames), 0)*mul;}], ['loop', {arg rate=1 -> [0.1,10], trigger=1 -> [0,1, {|val| val.round(1)}], startPos=0 -> [0,1], mul=1 -> [0,2]; PlayBuf.ar(\buffer.numChannels, \buffer, rate, tr ...

  10. 230-3Dpoint Doc

    ... (128, 64, width, height)).front; point= Red3DPoint(RedVector3D[0, 0, 0.5]); //--loop w.draw{ theta= theta+speed; point.rotation= RedVector3D[theta, theta*2, theta*3]; point.update; //--render point.render(1, 300); //1= exaggerate, 2= standa ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow