Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .0 ); direction = -1; }, \alternate, { case { current > 1 } { current = current.fold(0.0,1.0); direction = -1; } { current < 0 } { current = current.fold(0.0,1.0); direction = 1; }; }, \off, { current = current.clip(0.0,1.0); direction = 1; ...

  2. Pi sonification by 0-2U (grirgz) Code

    ... var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; totem = totem.fold(0,8)/8; //totem.poll; freq = freq * [1,1+spoon.range(0.0001,0.001),1]; sig1 = SinOsc.ar(freq); sig2 = LFSaw.ar(freq); sig3 = LFPulse.ar(freq); ...

  3. xoscSim Quark

    ... im interface. imuvals = imuvals.collectInPlace { |val| (val + 0.2.rand2 * 0.95).fold2(8.0).round(0.01) }; tempval = (tempval + 3.rand2).fold(0, 100); anavals = anavals.collectInPlace { |val, i| (val + 0.05.rand2 * 0.95).fold(0, 1).round(0.0 ...

  4. blippoo Quark

    ... blippoo box but without the distortion (unfortunately) var l1 = RLPF.ar(in ,f1.fold(20,20000).lag(0.05),r1);//lag is necessary to make sure the filter stays stable var l2 = RLPF.ar(in * -1,f2.fold(20,20000).lag(0.05),r2); l1 + l2; }; Ndef( ...

  5. Float Doc

    ... rom32Bits from64Bits Inherited class methods Instance methods do reverseDo clip fold wrap coin xrand2 modSeaside isFloat asFloat as32Bits high32Bits low32Bits asCompileString asStringPrec dump Using Floats as replacement for Integers Inheri ...

  6. type Quark

    ... rolSpec( 0, 2, \lin, 0.1, 1 ) ) .setSpec( \clipMode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );

  7. Chipper by phrontist (Bjorn Westergard) Code

    ... e.ar(0.5,1,time)).range(0,XLine.ar(1,1/1000,time)); var tone = SinOsc.ar(freq).fold(-1*a,a); Out.ar(0, tone.dup); }.play;

  8. p_int_step Quark

    ... next = lo.next; hinext = hi.next; case { current > hinext } { current = current.fold(lonext,hinext); direction = -1; } { current < lonext } { current = current.fold(lonext,hinext); direction = 1; }; }, \rand, { arr = (lo.next..(hi.next)); a ...

  9. clip Quark

    ... ea - 1: sineClip; normal clipping with a sinusoidial/s-curve softclip area - 2: fold; the signal is mirrored between the clipping borders - 3: wrap; the signal is wrapped around (modulo / %) the clipping borders - 4: excess; inverse/center ...

  10. clip Quark

    ... ea - 1: sineClip; normal clipping with a sinusoidial/s-curve softclip area - 2: fold; the signal is mirrored between the clipping borders - 3: wrap; the signal is wrapped around (modulo / %) the clipping borders - 4: excess; inverse/center ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow