-
... / When compiled into a SynthDef, this pseudo-UGen gets disolved into a bunch of BinaryOpUGens // all we can do is test that HOAEncoder is not used inside this SynthDef this.assertEquals(ugens.includes(\HOAEncoder3), false, "The specified ho ...
-
... e spec : ( var spec; spec = [ 100,18000,\exp].asSpec; { SinOsc.ar( // creates a BinaryOpUGen spec.map( SinOsc.kr(0.1).range(0,1) ).dump ) }.play ) ⧉ ✔ you can also do that with a Patch input, supplying the resulting function as an input to ...
-
... on: 0); signal = DelayN.ar(in, 2, prerectime); Out.ar(out, signal); onsettrig = BinaryOpUGen('!=', env, 0 ); // only return an onset trig if the env is at 0 SendReply.kr(onsettrig, '/onset', onsettrig); //SendReply.kr(Amplitude.kr(in) >= tr ...
-
... sed by some unit generators for a special purpose. For example, UnaryOpUGen and BinaryOpUGen use it to indicate which operator to perform. If not used it should be set to zero. synth a collection of unit generators that execute together. A ...
-
... (1 .. ugen.inputs.size - 1).do { |i| var src = ugen.inputs[i]; if(src.isKindOf(BinaryOpUGen) and: { src.operator == '*' }) { out = out.add(src.inputs[0]); // resolve to x * envgen input } { out = out.add(src); // this shouldn't happen thou ...
-
... ("; this.inputs[0].streamAsInputUGen(key, stream, decomp); stream << ")"; } } + BinaryOpUGen { streamCode { |key, stream, decomp| stream << "("; this.inputs[0].streamAsInputUGen(key, stream, decomp); stream << " " << this.operator; if(this. ...
-
... s.removeBadValues( chain ); ^chain; } removeBadValues {|chain| var good; good = BinaryOpUGen('==', CheckBadValues.kr(chain, 0, 0), 0); ^(chain * good); } } + SequenceableCollection { equi { |params, prefix = "", lag = 0.1| ^this.multiChanne ...
-
... Most of the Unary and Binary operations are also implemented by UnaryOpUGen and BinaryOpUGen , so you can get more examples by looking at the help for those. Unary Operations neg negation bitNot ones complement abs absolute value. ceil next ...
-
... array by @telephon in https://github.com/supercollider/supercollider/pull/5849 BinaryOpUGen optimization for a === b cases by @smrg-lm in https://github.com/supercollider/supercollider/pull/5427 Remove inline warnings in the class library ...
-
... ens, Collections, and so on. When operators are applied to UGens they result in BinaryOpUGen s or UnaryOpUGen s, through the methods of AbstractFunction . This is a list of some of the common unary and binary operators that are implemented ...