Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. mpd18UseCase_frp_style Quark

    ... ths[i] = [sources[i], freqs].flopWith{ |j, freq| Synth(q.names[j], [\freq, freq.linlin(0.0,1.0,300,2000)]) }; } }; q[\stopSynths] = { |i| IO{ q.synths[i].do(_.release); q.synths[i] = [] } }; q[\setFreq] = { |i, freqs| IO{ [q.synths[i], freq ...

  2. PlotView Quark

    ... height; points = value.collect({ |item, i| pointStart + ((i * pointWidth)@(item.linlin(minVal, maxVal, viewHeight, 0))) }); if( lineWidth > 0 ) { Pen.width = lineWidth; lineColor.set; Pen.moveTo( points[0] ); points[1..].do({ |point| Pen.li ...

  3. openbci_gui_fftplot Quark

    ... ub.width, 6)); horizontalScale.do{|freq, i| var str= freq.asString; var x= freq.linlin(0, maxFreq, 0, ub.width-1); Pen.stringAtPoint(str, Point(x-(str.bounds(f2).width/2), 12), f2); Pen.line(Point(x, 6), Point(x, 10)); Pen.line(Point(x, 0), ...

  4. WFSRectView Quark

    ... und).abs.max(0.001) * lastPoint.asArray.collect({ |item| (item > 0).binaryValue.linlin(0,1,-1,1) }).asPoint, newPoint.round(round).abs.max(0.001) * newPoint.asArray.collect({ |item| (item > 0).binaryValue.linlin(0,1,-1,1) }).asPoint ]; // p ...

  5. msc-track Quark

    ... false, false]; manual_pos = #[0,0,0]; gesture_pos = #[0,0,0]; stereo_width = 45.linlin(-360,360,0,1); live_pos_bus = Bus.control(numChannels: 3); { vst.mapn(6, live_pos_bus.index, 3); }.defer(0.5); onset_bus = Bus.control; manual_pos_bus = ...

  6. README Quark

    ... are flexibe when used inside synthdefs c= {SinOsc.ar(EaseInAtan.(SinOsc.kr(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //becomes kr c.free c= {SinOsc.ar(EaseInAtan.kr(SinOsc.ar(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //kr with ar arg c.f ...

  7. GFIS Quark

    ... y = { var osc = SinOsc .ar(30); GFIS .ar({ |x| sin((osc + LFDNoise3 .ar(0.15)).linlin(-2, 2, 3.2, 4) * x) }, [0.5, 0.505], 9) * 0.1 }.play ) y.release ( y = { var osc = SinOsc .ar([30, 30.5]); GFIS .ar({ |x| sin((osc + LFDNoise3 .ar(0.15)) ...

  8. 2_inphluxgui Quark

    ... i, lWid, vstep); Pen.stringCenteredIn(name.asString, rect.copy.width_(lWid * i.linlin(0, 17, 0.1, 1.9)) .height_(vstep * 1.5) .top_(rect.top - (vstep * 0.25)), fontbig, green2); }; /// left TOP : draw invals line inph.inNames.do { |name, i ...

  9. SGUI Quark

    ... eight; Pen.strokeColor= currentPalette.buttonText; lineArr.do{|val, i| var x= i.linlin(0, lineArr.size-1, 0, uw); var y= val.linlin(0, 1, uh-1, 1); if(i==0, { Pen.moveTo(Point(0, y)); }, { Pen.lineTo(Point(x, y)); }); }; Pen.stroke; }; } ca ...

  10. PushPullOSC Quark

    ... nMax.asCompileString); }); } pr_normalizeCap {|arr| ^arr.collect { |val, i| val.linlin(capMinMax[i][0], capMinMax[i][1], 0, 1).linlin(capMinThresh, 1, 0, 1); }; } pr_tareCap {|arr| var min, max; arr.do{|val, i| #min, max = capMinMax[i]; (va ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow