-
... . // initialize a constant for multiplying the frequency unit->mFreqMul = 2.0 * SAMPLEDUR ; // get initial phase of oscillator unit->mPhase = IN0 (1); // 3. calculate one sample of output. MySaw_next_k (unit, 1); } ///////////////////////// ...
-
... for very small width we are "approaching" a dirac function { LFGauss .ar(0.01, SampleDur .ir * MouseX .kr(10, 3000, 1)) * 0.2 }.play; // dur and width can be modulated at audio rate ( { var dur = SinOsc .ar( MouseX .kr(2, 1000, 1) * [1, 1. ...