-
... lysis until the whole frame is recorded var pc = PulseCount.kr(t_trig), start = BinaryOpUGen.new1(\control, '==', pc, 1), stop = BinaryOpUGen.new1(\control, '==', pc, 2), started = (pc > 0), sig = In.ar(outbus, 1), fft = FFT(fftbuf, sig), d ...
-
... a| } *nonZeroLengths { |da,de| // with values of 0 the equations get crazy da = BinaryOpUGen('==',da,0).if(delta,da); de = BinaryOpUGen('==',de,0).if(delta,de); ^[da,de]; } *limitElevation { |e,de| // e+de/2 <= pi/2 AND: e-de/2 >= -pi/2 e = ...
-
... / 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 ...
-
... 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 ...
-
... (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 ...
-
... 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 ...