Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Trumping 115granular by ianmcdougall60 (ianmcdougall60) Code

    ... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = BPF.ar(snd, ffreq, rq); snd = CombC.ar(snd, maxdelaytime: 2, delaytime: delay, ...

  2. magFreeze Quark

    ... fft2 ) * 1; normal = IFFT.ar( fft1 ) * 1; sig = XFade2.ar( normal, conv, noise.linlin(0,1,-1,1) ); UOut.ar( 0, sig * amp ); }) .setSpec( \hold, BoolSpec(false) ) .setSpec( \fftSize, ListSpec([512,1024,2048,4096]), \init) .category_( \effec ...

  3. magFreeze Quark

    ... fft2 ) * 1; normal = IFFT.ar( fft1 ) * 1; sig = XFade2.ar( normal, conv, noise.linlin(0,1,-1,1) ); UOut.ar( 0, sig * amp ); }) .setSpec( \hold, BoolSpec(false) ) .setSpec( \fftSize, ListSpec([512,1024,2048,4096]), \init) .category_( \effec ...

  4. gui_example_userview Quark

    ... )); Pen.fillColor= Color.white; ~ibva.data.do{|val, y| Pen.fillRect(Rect(x, val.linlin(0, 1023, 0, chanHeight)+(y*chanHeight), 1, 1)); }; frameCount= frameCount+1; }; ~ibva= IBVA("/dev/tty.BlueVAS_H-Data", {}, 60, 0.3); //replace IBVA with ...

  5. PMacUGens Quark

    ... Val.max(0); mouse= this.prCursor; if(warp==0 or:{warp==\linear}, { inval= mouse.linlin(0, this.prBounds, minVal, maxVal).yield; }, { if(warp==1 or:{warp==\exponential}, { inval= mouse.linexp(0, this.prBounds, minVal, maxVal).yield; }, { (th ...

  6. sKeyboard Quark

    ... t)); if(key.isClicked, { velPoint= Point(whiteKeySize.width*0.5+x, key.velocity.linlin(0, 127, 5, whiteKeySize.height-5)); Pen.fillColor= Color.grey(0.75, 0.75); }, { Pen.fillColor= Color.white; }); Pen.addRect(key.rect); Pen.fillStroke; if ...

  7. extColor Quark

    ... eviation| // greyCenter >= 0 and <= 1, deviation > 0 and <= 1 var a = deviation.linlin(0, 1, greyCenter!3, [this.red, this.green, this.blue]) ++ [this.alpha]; ^Color(*a); } miSC_dim { |ctrButtonGreyCenter, ctrButtonGreyDev| ^this.miSC_iplTo ...

  8. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... newcenter = newcenter.translate(center); Pen.strokeColor_(Color.gray(i.linlin(0, input.size, 0.7, 0.5), 0.8)); Pen.addArc(center, sine.amp * ampscl, 0, 2pi); }); Pen.stroke; //draw radii center = nil; Pen.width ...

  9. ScGrids Doc

    ... ); if(level>=(1-(env.density)), { ( instrument: \hh, amp: level, release: level.linlin(0, 1.0, 0.0, 0.04), ffreq: 1000 + (exprand(1000, 6000) * level), ).play; }); (0.125).wait; }); }).clock_(t); Tdef(\k, {|env| inf.do({|i| var level = ScGr ...

  10. Exercise_12_HOA_NRT_using_scores_and_SynthDefs Doc

    ... erver \freq, i.linexp(0, numNotes, 500, 5000).rand, // mapping frequency \az, i.linlin(0,numNotes, -pi*1.5 , pi*1.5).mod(pi), // mapping azimuth \el, i.linlin(0,numNotes, -pi, pi), // mapping elevation \dur, i.linexp(0.0, numNotes, 100, 800 ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow