Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (123) Code (20) Doc (31) Help (12) Quark (57) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SampleDur Doc

    SampleDur: Filter: Description Class methods ir Inherited class methods Instance methods Inherited instance methods Classes | UGens > Info'>Info SampleDur : InfoUGenBase : UGen : AbstractFunction : Object Duration of one sample. Source: Inf ...

  2. SampleDur Help

    SampleDur duration of one sample superclass: InfoUGenBase returns the current sample duration of the server in seconds *ir equivalent to 1 / SampleRate related: minNyquist // examples { SampleDur .ir.poll }.play; { (1/ SampleDur .ir).poll } ...

  3. Electricity by dsastre (DSastre) Code

    ... 000); OffsetOut.ar(10, (humSource + OnePole.ar(comb * 0.2, exp(-2pi * (3000 * SampleDur.ir))))); comb!2 ; }.play; ) //Fig 39.8: Hum and sparks //Contains the subpatches shown in fig 39.2, 39.4, 39.5, 39.6 & 39.7. //The ...

  4. Cars by dsastre (DSastre) Code

    ... oy = Clip.ar(toy, 0, 1); toy = (toy - OnePole.ar(toy, exp(-2pi * (10 * SampleDur.ir)))); toy = OnePole.ar(toy, exp(-2pi * (30 * SampleDur.ir))); noise = WhiteNoise.ar; noise = (noise - OnePole.ar(noise ...

  5. Insects by dsastre (DSastre) Code

    ... , 0]), trig) * demand; cricket = OnePole.ar(cricket, exp(-2pi * (1000 * SampleDur.ir))); cricket = ( // changed the Q factor of the first 3 BPFs to approximate farnells sound BPF.ar(cricket, 4500 + ((0..2)*50), 300.recipr ...

  6. EQ Plugin

    BhobLoShelf { *ar {|in, freq, amp| var wc, a0, allpass; wc=pi * freq * SampleDur.ir; a0=(1 - wc)/(1 + wc); allpass=FOS.ar(in, a0.neg, 1, a0, -1); ^(0.5 * (in + allpass + (amp * (in-allpass)))) } } BhobHiShelf { *ar {|in, freq, amp| var wc, ...

  7. Dwalk Quark

    ... { 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 be set to 0 (default) // in order to avoid jumps in the result ...

  8. Dwalk Doc

    ... ( { 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 be set to 0 (default) // in order to avoid jumps in the resulti ...

  9. R2D2 by dsastre (DSastre) Code

    ... // One pole filters: sig = OnePole.ar(sig, exp(-2pi * (10000 * SampleDur.ir))); sig = OnePole.ar(sig, exp(-2pi * (10000 * SampleDur.ir))); sig = (sig - OnePole.ar(sig, exp(-2pi * (100 * SampleDur.ir)))); ...

  10. DemandEnvGen Help

    ... 0, 1000.0) } ! 32; freq = DemandEnvGen .ar( { Dseq (list.scramble, inf ) } ! 2, SampleDur .ir * MouseY .kr(1, 3000, 1), 5, // curve interpoaltion MouseX .kr(-0.01, -4) // curve must be negative for fast interpol. ); SinOsc .ar(freq) * 0.1 } ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow