-
BinaryOpUgen apply a binary operation to the values of an input ugen BinaryOpUGens are created as the result of a binary operator applied to a UGen. ( SinOsc .ar(200) * ClipNoise .ar).dump; ( SinOsc .ar(200).thresh(0.5)).dump; The use of th ...
-
... , 0.05) // オブジェクト + // オペレータ Saw .ar(600, 0.06) // オペランド }.scope; ) 加算の結果は 1 つの BinaryOpUGen になります。 //////////////////////////////////////////////////////////////////////////////////////////////////// 次の例は、3つのUGenが加算を通して合体することによって何が起きるのかを示し ...
-
... れにはinputがありません。そしてそれには1つのoutputがあります。 ブラウザーで表示される様に、4つのugenは Control 、 SinOsc 、 BinaryOpUGen そして Out それぞれのインスタンスを含みます。この例では、このSynthDefを完全に機能する様にするために、SuperColliderはControlと BinaryOpUGen のインスタンスをインストールしています。他の全てのugenは指定したときだけ存在します。 このSynthDe ...
-
... 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 ...
-
... l when using binary operations on UGens with done flags, as these will return a BinaryOpUGen , and thus prevent the done flag from being accessible. See example below. src - the UGen to check for done. s.boot; // simple example ( { var env; ...
-
... given thresholds Clip.ar(in, lo, hi) Clip.kr(in, lo, hi) This differs from the BinaryOpUGen clip2 in that it allows one to set both low and high thresholds. in - signal to be clipped lo - low threshold of clipping. Must be less then hi. hi ...
-
... given thresholds Wrap.ar(in, lo, hi) Wrap.kr(in, lo, hi) This differs from the BinaryOpUGen wrap2 in that it allows one to set both low and high thresholds. in - signal to be wrapped lo - low threshold of wrapping. Must be less then hi. hi ...
-
... a.trace; a.free; TRACE 1005 resonz #units: 21 unit 0 Control in out 440 unit 1 BinaryOpUGen in 440 1 out 441 unit 2 Saw in 441 out 0.451348 unit 3 BinaryOpUGen in 0.451348 0.2 out 0.0902696 unit 4 Saw in 440 out -0.367307 unit 5 BinaryOpUG ...
-
... given thresholds Fold.ar(in, lo, hi) Fold.kr(in, lo, hi) This differs from the BinaryOpUGen fold2 in that it allows one to set both low and high thresholds. in - signal to be folded lo - low threshold of folding. Sample values < lo will be ...