Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    Dseq: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Demand'>Demand Dseq : ListDUGen : DUGen : UGen : AbstractFunction : Object Demand rate sequence gener ...

  2. Dfsm Doc

    ... n = 2, trig = Impulse.kr(MouseX.kr(4, 100, 1)); a = Dfsm([ [0], // entry states Dseq([-2, -3], inf), [1], Dseq([1, 2, 1.5], inf), [0, 0, 0, 1, 2], Dseq([4, 5, 3], inf) // exit state ], n); b = Demand.kr(trig, 0, a).poll(trig); SinOsc.ar(b * ...

  3. Duty Doc

    ... q; freq = Duty.kr( Drand([0.01, 0.2, 0.4], inf), // demand ugen as durations 0, Dseq([204, 400, 201, 502, 300, 200], inf) ); SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) ( { var freq; freq = Duty.kr( MouseX.kr(0.001, 2, 1), // control rate u ...

  4. Demand Doc

    ... To isolate a demand ugen, use a function: { var a, b, t = Impulse.kr(2); a = { Dseq([1, 2, 3, 4, 5], inf) } * 100; b = a + 1; Demand.kr(t, 0, [a, b]).poll(t) }.play ⧉ ✔ Inherited class methods Instance Methods Inherited instance methods Ex ...

  5. DemandEnvGen Doc

    ... s // frequency envelope with random times ( { var freq; freq = DemandEnvGen.ar( Dseq([204, 400, 201, 502, 300, 200], inf), Drand([1.01, 0.2, 0.1, 2], inf) * MouseY.kr(0.01, 3, 1), 7 // cubic interpolation ); SinOsc.ar(freq * [1, 1.01]) * 0. ...

  6. Dswitch Doc

    ... thods Examples ( { var d, trig; d = Dswitch([ Dwhite(3, 4, 2), Dwhite(0, 1, 2), Dseq([1, 1, 1, 0], 2) ], Dseq([0, 1, 2, 1, 0], 2)); trig = Impulse.kr(4); SinOsc.ar( Demand.kr(trig, 0, d).poll(trig) * 300 + 400 ) * 0.1 ! 2 }.play; ); // comp ...

  7. Dbufrd Doc

    ... ; b.getn(0, b.numFrames, { |x| x.postln }) ( { var indexPattern; indexPattern = Dseq([Dseq([0, 3, 5, 0, 3, 7, 0, 5, 9], 3), Dbrown(0, 23, 1, 5)], inf); SinOsc.ar( Demand.kr(Dust.kr(10), 0, Dbufrd(b, indexPattern)) ) * 0.1 }.play; ) // buffe ...

  8. TDuty Doc

    ... nstance methods Examples // examples s.boot; // play a little rhythm { TDuty.ar(Dseq([0.1, 0.2, 0.4, 0.3], inf)) }.play; // demand ugen as durations // amplitude changes ( { var trig; trig = TDuty.ar( Dseq([0.1, 0.2, 0.4, 0.3], inf), // dem ...

  9. ZeroXBufRd Doc

    ... eroXBufRd 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 leng ...

  10. TZeroXBufRd Doc

    ... = { TZeroXBufRd.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 that ...

1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow