Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. News-Qt-GUI Doc

    ... ,x,y,mod,dx,dy| if(dy > 0) { val = val + 0.05 } { val = val - 0.05 }; val = val.clip(0,2).round(0.01); t.string = val.asString; t.stringColor = Color.red(val); }; ) ⧉ ✔ Hooks for position and size change Since views can be automatically rep ...

  2. FbNode Quark

    ... every FbNode. delaytime - the amount by which to delay the signal. This will be clipped to be between one block size (about 14 milliseconds by default) and the FbNode's maxdelaytime. If you didn't set a maxdelaytime when creating the FbNode ...

  3. SamplerQuery Quark

    ... , globalDur| var mOnset = bendWall.cumIntegral(onset); var pts = [0, peakOffset.clip(0, len), len]; var taus, levels; gEnv.timeLine.do{|tl| var pNom = (tl * globalDur) - s0; if((pNom > 1e-9) and: {pNom < (len - 1e-9)}) { pts = pts.add(pNom) ...

  4. Button Doc

    ... ue = 2; // does action if it results in a change of value b.valueAction = 3; // clips to size of states b.valueAction = -1; // floats no problem b.valueAction = 3.3; ⧉ ✔ In a musical context, a button-down press is more meaningful than a bu ...

  5. SPList Quark

    ... ion; array.doAdjacentPairs(function); } // accessing at { arg i; ^array.at(i) } clipAt { arg i; ^array.at(i.clip(0,this.size -1))} wrapAt { arg i; ^array.at(i.wrap(0,this.size -1))} foldAt { arg i; ^array.at(i.fold(0,this.size -1))} put { a ...

  6. Color Doc

    ... riation of a Color. Arguments: val Varies the RGB values +- this amount. lo Low-clips the RGB variation here. hi High-clips the RGB variation here. alphaVal Varies the alpha value +/- this amount, and clips it between 0 and 1. . complementa ...

  7. PG_Cookbook05_Using_Samples Doc

    ... req]) }, \bufnum, Pfunc({ |ev| ~midinotes.indexInBetween(ev[\freq].cpsmidi) }) .clip(0, ~midinotes.size - 1.001) ).play; ) p.stop; b.do(_.free); ~baseBuf.free; ⧉ ✔ Previous: Pattern Guide Cookbook 04: Sending MIDI Next: Pattern Guide Cookbo ...

  8. FFT-Overview Doc

    ... unction does not explicitly create it. ( x = { var inA, chainA, chainB; inA = LFClipNoise.ar(100); chainA = FFT(LocalBuf(2048, 1), inA); chainB = PV_PhaseShift(chainA, pi); // half-circle phase shift should result in an inverse signal // in ...

  9. UScoreView Quark

    ... }; dur = dur ?? { score.displayDuration; }; scoreView.moveH = (score.pos / dur).clip(0,1); } { scoreView.refresh; }; } currentEditor{ ^scoreEditorsList.last } baseEditor{ ^scoreEditorsList[0] } currentScore{ ^scoreEditorsList.last.score } i ...

  10. VoicerNode Quark

    ... airKeys(#[acc, accAmt], #[0, 1]); }; if(acc > 0) { gate = (gate * (accAmt + 1)).clip(0, 1) }; midinote = noteFunc.(freq.cpsmidi); if(bend.notNil) { this.bend(bend) // bendMsg.play(bend) }; defname.play(midinote, (gate * 127).asInteger); // ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow