-
// BinaryOpUGen('==', a, b) compares two signals. // While the two signals are not at same value, // output is zero. When they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen( ...
-
... how "Formants" works internally: since Formants are PseudoUgens, they return a BinaryOpUGen Formants .ar(400, Vowel ( \a )) // -> a BinaryOpUGen if you set unfold to true: you see a Formant plus 4 BinaryOpUGen Formants .ar(400, Vowel ( \a ...
-
+ BinaryOpUGen { displayName { ^this.specialIndex.nameOfBinaryOpSpecialIndex } }
-
... po : Ease { value {|t| ^if(t==1, {1}, {0-pow(2, -10*t)+1})} *ar {|t| ^Select.ar(BinaryOpUGen('==', t, 1), [DC.ar(0)-pow(2, -10*t)+1, DC.ar(1)])} *kr {|t| ^Select.kr(BinaryOpUGen('==', t, 1), [0-pow(2, -10*t)+1, DC.kr(1)])} } EaseInOutExpo : ...
-
... 5]), timeScale:(1/1000)); signal = Mix.new(LFPulse.ar(freqs * 4.09)); signal = (BinaryOpUGen('==', signal, 6.0) * 0.6) + (BinaryOpUGen('==', signal, 2.0) * 0.2) + (BinaryOpUGen('==', signal, 1.0) * 0.9); // XOR ÊÊ signal = (signal * pulseEn ...
-
... 5]), timeScale:(1/1000)); signal = Mix.new(LFPulse.ar(freqs * 4.09)); signal = (BinaryOpUGen('==', signal, 6.0) * 0.6) + (BinaryOpUGen('==', signal, 2.0) * 0.2) + (BinaryOpUGen('==', signal, 1.0) * 0.9); // XOR ÊÊ signal = (signal * pulseEn ...
-
... { |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 ...
-
... 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 ...