-
... { |in, post = 2| var res; res = in.asArray.collect({ |item, i| var good; good = BinaryOpUGen('==', CheckBadValues.ar(item, i, post), 0); Select.ar(good, [ DC.ar(0), item ]); }); if( res.size > 1 ) { ^res; } { ^res[0]; }; } *kr { |in, post = ...
-
... es: dec, curve: -0.5 ).kr; snd = Mix.ar(LFPulse.ar(freq: freqs * 4.09)); snd = (BinaryOpUGen('==', snd, 6.0) * 0.6) + (BinaryOpUGen('==', snd, 2.0) * 0.2) + (BinaryOpUGen('==', snd, 1.0) * 0.9); snd = (snd * pulseEnv) + Mix.ar(LFPulse.ar(fr ...
-
... v.new([0,1,sustain,0], [onset, decay, decay], contourCurve, 2), ogate); eoa = BinaryOpUGen('==', contour, 1); slope = EnvGen.ar(Env.new([0,0,1,0,0], [0,rise,fall,0], curve, 3, Select.kr(slopeLoop, [2, 0])), ogate | slopeLoop); eos = B ...
-
... れにはinputがありません。そしてそれには1つのoutputがあります。 ブラウザーで表示される様に、4つのugenは Control 、 SinOsc 、 BinaryOpUGen そして Out それぞれのインスタンスを含みます。この例では、このSynthDefを完全に機能する様にするために、SuperColliderはControlと BinaryOpUGen のインスタンスをインストールしています。他の全てのugenは指定したときだけ存在します。 このSynthDe ...
-
... nary operation to the values of an input ugen Source: BasicOpsUGen.sc See also: BinaryOpUGen , UnaryOpFunction , Punop , Operators Description UnaryOpUGens are created as the result of a unary operator applied to a UGen . (SinOsc.ar(200).ab ...
-
... ations on UGen superclass: UGen operator returns the operator see UnaryOpUGen , BinaryOpUGen
-
... Saw .ar(660, 0.2)]; Mix ([a, b]).postln; }.play; ) In the first case we get a 'BinaryOpUGen' (in this case this means the two UGens added together), and in the second we get an Array of two BinaryOpUGens. Note that in the first example we ...
-
... aw.ar(660, 0.2)]; Mix([a, b]).postln; }.play; ) ⧉ ✔ In the first case we get a 'BinaryOpUGen' (in this case this means the two UGens added together), and in the second we get an Array of two BinaryOpUGens. Note that in the first example we ...
-
... UnaryOpUGen { displayName { ^this.specialIndex.nameOfUnaryOpSpecialIndex; } } + BinaryOpUGen { displayName { ^this.specialIndex.nameOfBinaryOpSpecialIndex; } }
-
... ogous to complex. performBinaryOpOnUGen { arg aSelector, aUGen; ^Cartesian.new( BinaryOpUGen.new(aSelector, aUGen, this.x), BinaryOpUGen.new(aSelector, aUGen, this.y), BinaryOpUGen.new(aSelector, aUGen, this.z) ).asSpherical; } printOn { ar ...