Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (54) Code (7) Doc (22) Help (4) Quark (21) SCDoc ↗ Forum ↗ Google ↗
  1. organ_reed Quark

    ... out = 0, freq = 440, amp = 0.1, gate = 1, attack = 0.3, release = 0.3| var snd, blow; // pulse with modulating width snd = Pulse.ar((Rand(-0.03, 0.05) + freq.cpsmidi).midicps, 0.48 + LFNoise1.kr(0.06, 0.1), 0.2); // add a little "grit" to t ...

  2. 003-multiple_wind Quark

    //multiple objects with gravity + a 'wind' force blowing here and there ( var width= 300, height= 300, w, world, wgrav, n= 50, wind, cnt= 0, amp= 0.5, period= 400; //--world w= RedWindow("wind test", Rect(128, 64, width, height)).front; wgr ...

  3. EnvEditor Quark

    ... arg c; if(c.isFloat,{ // curvatures may not be within 0.001 of 0.0 // or EnvGen blows up ?! if(c.abs < 0.001,{ c = 0.001 });// sign not significant at this magnitude value.curves = c; },{ value.curves = c; }); value.changed; this.changed; } ...

  4. EnvEditor Quark

    ... rg c; if(c.isFloat, { // curvatures may not be within 0.001 of 0.0 // or EnvGen blows up ?! if(c.abs < 0.001, { c = 0.001 });// sign not significant at this magnitude value.curves = c; }, { value.curves = c; }); value.changed; this.changed; ...

  5. ATKDef Quark

    ... muth, 0.1, -pi, pi), elevation); sig = HPF.ar(sig, 20); // stops bass frequency blow outs by proximity lrevRef.value = FoaTransform.ar(sig, 'proximity', rad * renderer.longestRadius); }; }, 2, { ^{ | lrevRef, p, rad, radRoot, azimuth, eleva ...

  6. surf Quark

    ... audio, freq, slew ) },[ \audio, [0,0.2], [0,0.5], \rq,\rq ], \audio ); /* this blows up Instr([\surf,\RHPF] ,{ arg audio,tideFreq=0.05,waveFreq = 0.1, min=100,max=4000,tideEffect=0.5,rq=0.2; var slew; slew = Surf.kr(min,max,tideFreq,waveFr ...

  7. SCLOrkChatMessageView Quark

    ... tsTextView.align = \right; }); } ); // Clip lengthy code segments so they don't blow up the chat if (chatMessage.type === \code, { if (contentsTextView.sizeHint.height > codeMaxHeight, { contentHeight = codeMaxHeight; codeCropped = true; }, ...

  8. LazyList Quark

    ... fork{ ~consume2.( 0.iterate{ 10000.collect{ Rect(1,1,1,1) } } ) }; ) //this is blowing up ( ~consume = { |xs| 0.1.wait; "ping".postln; ~consume.( xs.tail ); }; fork{ ~consume.( 0.iterate{ 10000.collect{ Rect(1,1,1,1) } }.zip(0.iterate{ 100 ...

  9. RBJeq Quark

    ... y with shelf = 1e-10 would it work as expected // but then it eventually slowly blows up } } // // //HiShelf2 { // using q rather than shelf // // *ar { arg in,freq=440.0,gain=1.0,q=1.0,mul=1.0,add=0.0; // // var b0,b1,b2,a1,a2,a0,a0n; // v ...

  10. zkarpluck1 Quark

    ... ndTrig.kr(Impulse.kr(1), 0, amp); env = Env.perc(0.005,0.01,1,0); // the filter blows up for lower Q values (like 1), some experimenting with smoothing the lpassFq is still needed inp = BLowPass.ar((amp * LFClipNoise.ar(2000) * EnvGen.ar(en ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow