Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... us = 1| HOAEncoder.ar(~order, PlayBuf.ar(1, ~buffer, BufRateScale.kr(~buffer) , loop:1), azimuth, elev:0, gain:0, plane_spherical:1, radius: radius )}; w = Window("Slider2D", Rect(100, 100, 300, 300)); t = Slider2D(w, Rect(20, 20, 260, 260) ...

  2. CircleRamp Doc

    ... nt.theta + 0.5pi); targPoint = Point(x, y) - Point(200, 200); // trunc to avoid loops due to fp math targRotate = (targPoint.theta - actPoint.theta).trunc(1e-15); // wrap around if(targRotate.abs > pi, {targRotate = (2pi - targRotate.abs) * ...

  3. Radicles Quark

    ... des(source)} {\radpostcont} {default}; } *schedCount {arg func, min=1, max=100, loop=false; var count; count = min; schedFunc = { |a,b| if(a.isNumber, { if(loop, { func.(count.wrap(min,max)); count = count + 1}, { if(count <= max, { func.(c ...

  4. Boreas by ether (Alexander Zhagun-Linnik) Code

    ... d(-1.0, 1.0), Rand(0.01, 3.0))); Out.ar(out, sig); }).add; s.sync; loop{ rseq = {Array.fill(num = rrand(2, 12), {arg i; rrand(0, 8)})}; if(rrand(1, 5)==4, { scale = Scale.at(Scale.names.choose); }); if(rran ...

  5. Exercise_07_HOA_beamforming Doc

    ... aSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ ( HOADecLebedev26.loadHrirFilters(s); HOADecLebedev26.hrirFilters.size; ) ⧉ ✔ ( ~order = 2; ~beamFormer = NodeP ...

  6. Convolution2 Help

    ... r( minFreq, maxFreq, recTrig ), 0.4 ); RecordBuf .ar( irSig, i_kernel, recTrig, loop: 0, trigger: recTrig ); convTrig = TDelay .kr( recTrig, BufDur .ir( i_kernel )); // split updates across two triggers. Note that [ 1, 0 ] creates // a Mult ...

  7. demo: backtracking constraint solver by jamshark70 (jamshark70) Code

    ... esToBar.value(localList, phr, beatInBar, beatsPerBar); case // "fail" (loop around to try the next phrase) if last note is 1/16 { localList.last.dur <= 0.25 } { nil } { remaining == 0 } { break.value(remaining) } // succ ...

  8. AutomationClient Quark

    ... opyToEnd(valAt))]; } { true } { Error("Unknown value type:" + v[0]).throw; }; }.loop; } getItemFloat { var item, val; item = this.getItem; val = item[1]; if (val.isKindOf(Float)) { ^item; }{ if (val.isKindOf(String)) { try { ^[item[0], val. ...

  9. ATSSynth Quark

    ... frameCount, this.frameDur, atsSound.frameCount * this.frameDur); } // ── Cached-loop API ─────────────────────────────────────────────────── // prepareDef baut die (teure) SynthDef EINMAL und liefert ein Event mit // defName/dur/tscale. spa ...

  10. ddwPatterns Quark

    ... cal) } embedInStream { |inval| var stream, item; var func = { Routine { |inval| loop { list.scramble.do { |item| inval = item.yield; }; } } }; if(local) { stream = func.value; // new every time it's embedded } { if(itemStream.isNil) { itemS ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow