Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 748, hpfFreq=40, dur=3, out=0; var sig, env, noise, fold; noise = Mix.ar([ClipNoise.ar(noiseAmp), BrownNoise.ar(noiseAmp2)]); sig = 7.collect({ LFPulse.ar(LFNoise1.ar.range(21.0,35.0), 1.0.rand, LFNoise1.ar(1).range(0.01,0.99)) ...

  2. FoaXformDisplay Quark

    ... 1); idTxtColor = Color.hsv( *baseColor.asHSV .put(2, (baseColor.asHSV[2] * 1.8).clip(0, 1)) .put(1, baseColor.asHSV[1] * 0.2)); idTabColor = Color.hsv( *baseColor.asHSV .put(2, (baseColor.asHSV[2] * 1.2).clip(0, 1)) .put(1, baseColor.asHSV[ ...

  3. BoxMatrix Quark

    ... selector,args,preFunc) } } boxPoint { arg x,y;// view coords var col,row; x = x.clip(bounds.left,bounds.right); col = ((x-bounds.left / bounds.width) * (numCols)).asInteger; y = y.clip(bounds.top,bounds.bottom); row = ((y-bounds.top / bound ...

  4. MassEditU Quark

    ... in.isNil ) { ^inf } { ^uchain.dur; }; } /* * sets same duration for all units * clipFadeIn = true clips fadeIn * clipFadeIn = false clips fadeOut */ dur_ { |dur = inf, clipFadeIn = true| var currentDur, mul; currentDur = this.dur; if( (curr ...

  5. AbstractFunction Help

    ... atan, sinh, cosh, tanh, rand, rand2, linrand, bilinrand, sum3rand, distort, softclip, nyqring, coin, even, odd, isPositive, isNegative, isStrictlyPositive, rho, theta Binary Messages: All of the following messages send the message composeBi ...

  6. Mix it Up Help

    ... for mul, thus ensuring that the final output will be between -1 and 1, and not clip. There's another handy class called Mix, which will mix an array of channels down to a single channel or an array of arrays of channels down to a single ar ...

  7. Granular display by tommaisey (tommaisey) Code

    ... eight * (1 - v[2])); if( delta < (v[3] + v[4]), { alpha = (delta/v[4]).clip(0,1) }, { alpha = 1 - ((delta - (v[3] + v[4])) / v[4]) } ); Pen.translate(xP, yP); // moveTo doesn't seem to work in this context, so translate ...

  8. SpacePan - A Spatial Audio Environment by audioholic (audioholic) Code

    ... nds = view.bounds.moveTo(0,0); if (clicked.notNil){ mousepoint = Point(x.clip(bounds.left, bounds.right), y.clip(bounds.top, bounds.bottom)); if(sources[clicked][\grpid] > 0 and: modifiers.isShift){ //move group sources. ...

  9. GMSymbolSlider Doc

    ... he size of the displayed helpers relative to the widget size. The value will be clipped if this would cause the dots to overlap. Arguments: aNumber A Float that should be between 0 and 1. Internal Methods . draw The Function associated to t ...

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow