Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (32) Doc (61) Help (23) Quark (150) SCDoc ↗ Forum ↗ Google ↗
  1. List Help

    ... s the value at index 0 y.wrapAt(4).postln; // this returns the value at index 1 foldAt(index) Same as at , but values for index greater than the size of the List will be folded back. y = List [ 1, 2, 3 ]; y.foldAt(3).postln; // this returns ...

  2. Pnaryop Help

    ... ) examples of n-ary operators are: blend, linlin, linexp, explin, expexp, clip, fold, wrap. See also: Pbinop , Punop , NAryOpFunction // example ( var a; a = Pnaryop ( \wrap , Pseries (0, 1, 12), [3, 7]); a.asStream.all; ) // this is the sa ...

  3. Gaussian Cookiemonster by bernhard (bernhard) Code

    ... ATION is randomized via LFNoise1, borders are set with muldur, adddur. LFNoise1 folds to positiv with .abs, offset is added after, lfo is speed of LFNoise1. /// Env is randomized with PinkNoise /// MouseX is playbackrate, MouseY is po ...

  4. Basic Feedback Delay Network SynthDef by michaeldzjap (michaeldzjap) Code

    ... t, coef| coef * fb[i] + input }), 1, (delT[i] * scale - ControlDur.ir).fold(0.0, 1.0)) }; LocalOut.ar(LeakDC.ar(OnePole.ar(w, coef))); Out.ar(out, w.sum.tanh ! 2) }).add; { s.scope(2) }.defer }); ) ( s.make ...

  5. trigSoundFile Quark

    ... .kr(0.1); pos = \pos.kr(0.0); reverse = \reverse.kr(0.0); pos = (pos + reverse).fold(0,1); #numChannels, bufnum, rate, trigger, startPos, loop = BufSndFilePlayer.getArgs( Udef.numChannels, \soundFile, trigger, 0 ); rate = rate * \rateScale. ...

  6. trigSoundFile Quark

    ... .kr(0.1); pos = \pos.kr(0.0); reverse = \reverse.kr(0.0); pos = (pos + reverse).fold(0,1); #numChannels, bufnum, rate, trigger, startPos, loop = BufSndFilePlayer.getArgs( Udef.numChannels, \soundFile, trigger, 0 ); rate = rate * \rateScale. ...

  7. sNanoKontrol Quark

    ... locitiesPatternRangeHi, val] ]); }; nk.nanoSliderElements[4].action= {|val| var fold= if(val<0.5, {val*2}, {1-(val-0.5*2)}); nk.sendOsc([ [\sCluster, \ampLfoDepth, val], [\sDrone, \ampLfoDepth, val], [\sFormant, \lagUp, fold], [\sFormant, \ ...

  8. MultiPlot Quark

    ... ays on top of eachother // example: /* MultiPlot( [ (-10,-9..10), (-20,-18..20).fold(-10,10), { 3.0.rand2 } ! 20 ] ) */ MultiPlot { *new { |arrays, width = 600, height = 400, colors, background, hLinesAt, vLinesAt, linesAlpha = 0.5, discret ...

  9. PG_06c_Composition_of_Patterns Doc

    ... dy.source = PmonoArtic(\default, \degree, Pseries(4, Prand(#[-1, 1], inf), inf).fold(-4, 11)); ~melody.source = Pbind(\degree, Pseries(4, Pwrand(#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf), inf).fold(-4, 11)); p.stop; ⧉ ✔ Pset and cousins ...

  10. Cookiemonster by bernhard (bernhard) Code

    ... LFNoise1, borders are set with mulclock, addclock, muldur and adddur. LFNoise1 folds to positiv with .abs, offset is added after. lfo1 and lfo2 are the speeds of LFNoise1. /// For more silent parts approach addclock to zero or make it n ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow