Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Instance Methods Inherited instance methods Examples ( { var a, freq, trig; a = Dseq([Dshuf([1, 3, 2, 7, 8.5], 3)], inf); trig = Impulse.kr(MouseX.kr(1, 40, 1)); freq = Demand.kr(trig, 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) // au ...

  2. TGrains Doc

    ... ( { var trate, dur, rate; trate = MouseY.kr(2, 200, 1); dur = 4 / trate; rate = Dseq([10, 1, 1, 0.5, 0.5, 0.2, 0.1], inf); TGrains.ar(2, Impulse.ar(trate), b, rate, MouseX.kr(0, BufDur.kr(b)), dur, Dseq([-1, 1], inf), 0.1, 2); }.scope(zoom: ...

  3. DXEnvFan Doc

    ... envelopes of sine type, from which // the square root is taken ( { DXEnvFan.ar( Dseq([3,2,1,4,5,6,7,0], inf), size: 8, fadeTime: 0.01, // fadeMode: 1, // stepTime: 0.015 ) }.plot(0.1) ) // when dropping equalPower we get the pure sine envel ...

  4. Dwalk Doc

    ... r sequence: // 0, 1, 0, -1, 0, 1, 2, 1, 2, 3, 2, 1, 0, 1, ... ( { var x = Dwalk(Dseq([1, 2, 3], inf), dirChangeMode: 1, withDirs: 1); Duty.ar(SampleDur.ir, 0, x) }.plot(0.002) ) // For usage with ZeroXBufRd the dirChangeMode flag needs to b ...

  5. DXMix Doc

    ... // the array of channels to crossfade must be put into a Ref ( x = { DXMix.ar( Dseq([0, 1], inf), `[ Saw.ar(LFDNoise3.kr(0.1).range(40, 90), 0.03), PinkNoise.ar(0.05) ], fadeTime: 3 ) ! 2 }.play ) x.release // sources can itself be multich ...

  6. DX_suite Doc

    ... bject is necessary // to distinguish from multichannel expansion. ( { DXMix.ar( Dseq([1, 0, 1, 2], inf), `([SinOsc.ar(100), WhiteNoise.ar(), LFTri.ar(100)]), stepTime: 0.015, fadeTime: 0.015, fadeMode: 1, // alternate steps and fades sine: ...

  7. RedAGrain Doc

    ... b.free; b= SynthDef("buf", {Out.ar(r.bufBus.index, Demand.ar(Impulse.ar(4), 0, Dseq([~b1.bufnum, ~b2.bufnum, ~b3.bufnum], inf)))}).play; //quick drunk walk change buffers (little bit dangerous if ~b1-3 not following each other here) b.free ...

  8. RedKGrain Doc

    ... b.free; b= SynthDef("buf", {Out.kr(r.bufBus.index, Demand.kr(Impulse.kr(4), 0, Dseq([~b1.bufnum, ~b2.bufnum, ~b3.bufnum], inf)))}).play; //quick drunk walk change buffers (little bit dangerous if ~b1-3 not following each other here) b.free ...

  9. Dbufwr Doc

    ... os, writetrig; writetrig = Dust.kr(1); readpos = Dseries(0, 1, inf); writepos = Dseq([Dseries(0, 3, 30), Dseries(0, 1, 30)], inf); read = Dbufrd(b, readpos); write = Dbufwr(Dseq([Dseries(1, 1, 16), Dwhite(1, 16, 8)], inf) * 60, b, writepos) ...

  10. RedManchesterCode Doc

    ... Control.names([\data]).ir(Array.fill(numBits, 0)); var src= Duty.ar(1/rate, 0, Dseq(data*2-1++0), 2); //zero padded because doneAction2 is not stopping sample accurate OffsetOut.ar(out, src*amp!2); }).add; ) //test counter ( t= 2400; //dat ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow