Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = m[0] + m[1].size; }; out ++ str.copyToEnd(pos) }.(s); // A timed recording's loop rate is measured from the clock, so it can differ // in any decimal between runs: compare it as "measured", not by value. s = {|str| var out = "", pos = 0, ...

  2. ControlValue Quark

    ... dOf(Symbol)) { ^Prout({ |event| event[initialValue] !? { |v| this.value = v; }; loop { this.asControlInput.yield } }) } { ^Prout({ if (initialValue.notNil) { this.value = initialValue; }; loop { this.asControlInput.yield } }) } } asValuePat ...

  3. Core_z354_analyzer Quark

    ... a .ats file so Dorota's playback engine can audition it --- // Dorota's ~playF2ALoop / ~f2aBestAnalyzedATSPathV10z310 read a real .ats file, // not the in-memory tracks. Without this, playback reports "no ATS path". block { |break| var atsO ...

  4. DXEnvFan Quark

    ... le .kr(b), env, Demand .ar(env, 0, Drand ((2..5)/10, inf ) * BufFrames .ir(b)), loop: 0, ) * env) } ! 2 ; }.play ) x.release // variant with multichannel expansion // two 8 ch trigger envelopes are used for L and R mixes ( x = { var buf, en ...

  5. VoicerProcessGroup Quark

    ... so you should write it this way: { arg v; // outer function { // inner function loop({ [60, 62, 64, 65, 67, 69, 71, 72].midicps.do({ arg f; v.gate1(f, 0.5) }) }) } } That's a lot of braces to keep track of--but just remember that the functi ...

  6. VoicerProcessGroup Quark

    ... so you should write it this way: { arg v; // outer function { // inner function loop({ [60, 62, 64, 65, 67, 69, 71, 72].midicps.do({ arg f; v.gate1(f, 0.5) }) }) } } That's a lot of braces to keep track of--but just remember that the functi ...

  7. ModalSpec Quark

    ... sPerOctave) } == { |that| (that === this).if({ ^true }); // easy case, skip the loop this.instVarSize.do({ |index| (this.instVarAt(index) != that.instVarAt(index)).if({ ^false }); }); ^true } asMode { ^this } // convert modal note index to ...

  8. 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 ...

  9. 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. ...

  10. 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 ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow