Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ar lastIndex = wavesetsArray.size - 1; var guideWavesets; ~guide = (~guide ? 0).clip(0, lastIndex); guideWavesets = wavesetsArray[~guide]; ~busOffset = (0..lastIndex); // from here on it is the same as in the mono version, just using guideW ...

  2. SatieFactory Quark

    ... g = 0.03; var outsig; // limit cutoff freq range and smooth changes lpHz = lpHz.clip(5.0, 20000.0).lag3(slewFilter); hpHz = hpHz.clip(5.0, 20000.0).lag3(slewFilter); outsig = in * gain.lag(slewGain); outsig = DelayC.ar( outsig, maxdelaytime ...

  3. SGME_RandomGenerator Quark

    ... ; loop { time = (this.convertMean(mean) + this.convertVariance(variance).rand2).clip(timeMin, timeMax); vol1 = this.convertVoltage(voltage1).rand2 * factorVol; vol2 = this.convertVoltage(voltage2).rand2 * factorVol; k = this.convertKey(key) ...

  4. DMXGui Quark

    ... = GUI.numberBox.new( view, 35@20 ).action_({ |nb| var curVal; curVal = nb.value.clip(0,1); dmx.currentCue.data.put( chan.value, curVal ); if ( dmx.autoSet, { dmx.setCue } ); val.value = curVal; slider.value = curVal; //slider.value = nb.val ...

  5. ActionFunc Quark

    ... lew * interval; while { current != goal } { goal = node.lastVal; current = goal.clip( current - maxJump, current + maxJump ); node.action.value( current, goal, *moreArgs ); interval.wait; }; node.action.value( current, goal ); }).start; }; ...

  6. 00_loadMe Quark

    ... step 2 -> 2 etc // 1.0 is quadratic, step1 -> 1, step 2 -> 4 etc var inc2 = inc.clip2(5, 5); // no big jumps var acceleration = inc2.abs ** 0; "mainVol %%\n".postf(["", $+].wrapAt(inc.clip(0, 1)), inc2); MFdef(\mainVol).( MFdef(\mainVolGet) ...

  7. SmoothSlider Quark

    ... r <>deltaAction, <>allwaysPerformAction = false; var <>outOfBoundsAction; var <>clipMode = \clip; // or \wrap, \fold (or any unary or binary op) var <string, <font, <align, <stringOrientation = \h, <stringAlignToKnob = false; var <>shift_sc ...

  8. Mrmr Quark

    ... number between 0 and 1, 1 producing the most smoothing @*/ this.connect; amount.clip(0,1); this.net.sendRaw("/mrmrIB mrmr_setAccelerometerSmoothingAmount:"++amount++"\n"); } accelerometerRate { |miliseconds| /*@ desc: Sets the update rate o ...

  9. CVCenterPreferences Quark

    ... lue_(active); }); cBox; }; buildNumTextBox = { |view, val, kind, width, height, clip| var ntBox; case { kind === \text } { ntBox = TextField(view, (width ?? { 30 }) @ (height ?? { 20 })).string_(val); } { kind === \num } { ntBox = NumberBox ...

  10. 3_MTP_asNTMIPads Quark

    ... x); }; }; if (mypadindex.notNil) { q.mtp.padvals.put(mypadindex, (xys[2] * 0.7).clip(0, 1)); // q.mtp.padvals.round(0.001).postln; }; } { if ([\move, \full].includes(q.inph.mode) ) { myimukey = q.mtp.imumap[id]; myimukey ?? { numfingers = M ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow