Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (175) Code (49) Doc (56) Help (16) Quark (52) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. PulseTrain Quark

    ... t timespacing added to incoming pulse // al args can be control rate ^TDuty.ar( Dseq([t], n), in, Dseq( [lfirst, Dseq([lrest], inf) ], 1)); } *arD { |in, n = 3, t = 0.25, lfirst = 0, lrest = 1, maxN = 3, maxDel = 1.0 | // Delay version // m ...

  2. WFSPathPlayer Quark

    ... (BufFrames.kr( bufnum ) - startIndex.floor), inf ] ); phase = DemandEnvGen.kr( Dseq([ startIndex, startIndex, Dseries( startIndex.floor + 1, 1, length-1 )],1), Dseq([ delay.max(0) * ratio, Dbufrd( bufnum, Dseries( startIndex.floor, 1, leng ...

  3. Dwalk Quark

    ... ir2, lastDir, lastIndex, writeDir, writeIndex, dirChange, initZero; dirFunc = { Dseq((startDir.sign > 0).if { [1, -1] }{ [-1, 1] }, inf) }; withDirs = [0, false].includes(withDirs).not; withDirs.if { steps1 = Dunique(stepsPerDir, dUniqueBuf ...

  4. NX204 Quark

    ... edback.ar(~a.index), Demand.kr( Impulse.kr( Demand.kr(Impulse.kr(Rand(0.1,3)),0,Dseq(alpha,inf)) ),0,Dseq([-1,1],inf))) ,Rand(100,1000),Rand(0.5,1)) ) * (0.8/0.999) * 1 ,0.0,0.0,0.0) ,100,6.0,6),1000,6.0,0),5000,6.0,0),10000,6.0,6) ),0) };" ...

  5. RedSequencer2 Quark

    //redFrik RedSequencer2 { *ar {|array, dur, reset= 0| ^Duty.ar(dur, reset, Dseq(array, inf)); } *kr {|array, dur, reset= 0| ^Duty.kr(dur, reset, Dseq(array, inf)); } }

  6. RedSequencer Quark

    //redFrik RedSequencer { *ar {|array, trig, reset= 0| ^Demand.ar(trig, reset, Dseq(array, inf)); } *kr {|array, trig, reset= 0| ^Demand.kr(trig, reset, Dseq(array, inf)); } }

  7. AlgaDemandRate Quark

    ... a = AlgaNode({LFNoise0.ar(\f.kr(1)) > 0.5}) b = AlgaNode({Demand.ar(\in.ar, 1, Dseq([440, 880], inf))}) a >> b b.replace({Demand.ar(\in.ar, 1, Dseq([Dseq([44, 88, 99, 101]), Dwhite(100, 200, 1)], inf))}) c = AlgaNode({SinOscFB.ar(\f.ar, \f ...

  8. NX203 Quark

    ... .kr(1/gamma))* InFeedback.ar(~a.index) , Demand.kr(Impulse.kr(Rand(0.5,10)), 0, Dseq(alpha,inf)) , Demand.kr(Impulse.kr(Rand(0.5,10)), 0, Dseq(beta,inf))) ) * (0.8/0.999) * 1 ,0.0,0.0,0.0) ,100,6.0,6),1000,6.0,0),5000,6.0,0),10000,6.0,6) ), ...

  9. ZeroXBufRd Quark

    ... roXBufRd should always use inf as repeats arg x = { ZeroXBufRd .ar(b, z, zeroX: Dseq ([1, 2], inf )) }.play x.release // Note that the distance between zero crossings can be very short, // here the half waveset at index 5 (735-740) has a le ...

  10. TZeroXBufRd Quark

    ... ZeroXBufRd .ar( b, z, trig: Impulse .ar( MouseX .kr(10, ~maxTrigRate )), zeroX: Dseq ([2, 3], inf ), rate: 0.2 ) * 0.1 }.play ) s.scope x.release // In this example waveforms are slightly crossing the x axis. // This comes from the fact tha ...

1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow