-
... { valueControls { |... prependArgs| // for prependArgs no controls are created ^UGen.buildSynthDef .buildUgenGraph( this, prependArgs: prependArgs ); } }
-
GTransform : UGen { *gr { arg in, components = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]; if ((components.size == 9), { ^this.multiNewList(['audio'] ++ components); }, { ^this.multiNew('audio', 'component size is not == 9'); }) } }
-
GPoints : UGen { *gr { arg size = 1.0, vectors = [[0, 0, 0]]; if (((vectors.flat.size / vectors.size) == 3), { ^this.multiNewList(['audio'] ++ size ++ vectors.size ++ vectors.flat); }, { ^this.multiNew('audio', size, 'vectors not Array of A ...
-
... lle jan 2010 // just adding a storage utility to build + SynthDef { build { arg ugenGraphFunc, rates, prependArgs; protect { this.initBuild; this.buildUgenGraph(ugenGraphFunc, rates, prependArgs); this.finishBuild; } { UGen.buildSynthDef = ...
-
... lle jan 2010 // just adding a storage utility to build + SynthDef { build { arg ugenGraphFunc, rates, prependArgs; protect { this.initBuild; this.buildUgenGraph(ugenGraphFunc, rates, prependArgs); this.finishBuild; } { UGen.buildSynthDef = ...
-
... ion of range functionality + SimpleNumber { // to be used on scalars as well as UGens range { arg lo, hi, range=\unipolar; // useful for SCSlider .value output //^this.linlin(inMin, inMax, lo, hi); var mul, add; if (range == \bipolar, { mul ...
-
GTriangle : UGen { *gr { arg vector1 = [0, 0, 0], vector2 = [1, 0, 0], vector3 = [1, 1, 0], normal = [0, 0, 1]; if (((vector1 ++ vector2 ++ vector3 ++ normal).size == 12), { ^this.multiNewList(['audio'] ++ vector1 ++ vector2 ++ vector3); }, ...
-
+ UGen { zap { |sub = 0, id = 0, post = 0| if (rate == \audio) { ^ReplaceBadValues.ar(this, sub, id, post); } { ^ReplaceBadValues.kr(this, sub, id, post); } } } + Array { zap { |sub = 0, id = 0, post = 0| sub = sub.asArray; ^this.collect { ...
-
... anklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ AbstractZeroXBufRd : UGen { *checkBufMix { |bufMix, bufSize| var outSize; bufMix.isNil.if { bufMix = (0..bufSize-1); outSize = bufSize; }{ bufMix.isKindOf(SequenceableCollection).if ...
-
... together. Here, each _ becomes the result of the previous expression. ### With UGens ```SuperCollider SinOsc.ar(440) |> LPF.ar(_, \lpf.kr(15000)) |> HPF.ar(_, \hpf.kr(20)) |> Out.ar(\out.kr(0), _); ``` A sine wave that is filtered by a low ...