-
... s; Function f = abs({ |x| sin(x) }); f.value((0..1000).normalize(0, 8pi)).plot; UGen ( { var a = SyncSaw .ar(100, 440, 0.1); a.abs // Absolute value }.play ) // compared to ( { var a = SyncSaw .ar(100, 440, 0.1); a }.play )
-
... cide your FFT buffer size in advance, since this determines how many values the UGen will output. Output is a list from DC up to Nyquist of [mag[0], phase[0], mag[1], phase[1], ... mag[nyquist], phase[nyquist]]. This is technically a demand ...
-
HPZ2 two zero fixed highpass Inherits from: Object : AbstractFunction : UGen : Filter : LPZ2 HPZ2.ar(in, mul, add) HPZ2.kr(in, mul, add) A special case fixed filter. Implements the formula: out(i) = 0.25 * (in(i) - (2*in(i-1)) + in(i-2)) Se ...
-
... conds doneAction - a doneAction to be evaluated when the Line is completed. See UGen-doneActions for more detail. play({ SinOsc .ar( XLine .kr(200,17000,10),0,0.1) });
-
... x simply returns the first of those indices. When using a Bus with an In or Out ugen there is nothing to stop you from reading to or writing from a larger range, or from hardcoding to a bus that has been allocated. You are responsible for m ...
-
Dwrand demand rate weighted random sequence generator superclass: DUGen *new(array, weights, length) array array of values or other ugens weights array of values (should sum up to 1.0) length number of values to return structurally related: ...
-
... . There are many classes of unit generators, all of which derive from the class UGen . Unit generators in SuperCollider can have many inputs, but always have a single output. Unit generator classes which would naturally have several outputs ...
-
Rand uniform distribution single random float value ugen Rand(lo, hi) Generates a single random float value in uniform distribution from lo to hi. It generates this when the SynthDef first starts playing, and remains fixed for the duration ...
-
... seen that multiplication changes the level of something, but what about mixing UGens together? This turns out to be equally simple. All we need is addition: { PinkNoise .ar(0.2) + SinOsc .ar(440, 0, 0.2) + Saw .ar(660, 0.2) }.play; Saw is ...
-
... horter array wraps [].flop; // result is always 2-d. multiChannelExpand Used by UGens to perform multi channel expansion. Same as flop. source Some UGens return Arrays of OutputProxy when instantiated. This method allows you to get at the s ...