-
... ) } { [2, 4].includes(fadeMode) } // count twice { PulseCount.perform(fadeRate, ToggleFF.perform(fadeRate, trig)) } { [1, 3].includes(fadeMode) } // count twice and omit first trig { PulseCount.perform(fadeRate, 1 - ToggleFF.perform(fadeRat ...
-
... kr( out, Gate.kr( input, Schmidt.kr( input, low, hi ) ) * mul); }).send(s); } } ToggleFFNode : SWBusNode{ initSynthDefAndBus{ |s,nc=1| bus = Bus.control( s, nc ); // overload in subclass synthDef = (\ToggleFFNode++nc).asSymbol; SynthDef( sy ...
-
... (between the parameters low and hi ), otherwise 0. Based on the UGen InRange . ToggleFFNode Toggles between 0 and 1 upon a trigger on the input (transition from value smaller than or equal to zero to a value above zero). Based on the UGen ...
-
... var h, n, m, k, trig, hum; hum = { trig = Dust.kr( 7 ** LFNoise1.kr(0.3) ); h = ToggleFF.kr(CoinGate.kr(0.4,trig)) * RLPF.ar(LFPulse.ar(freq, 0, 0.5, 1, LFNoise1.kr(2, 0.5, -0.5)), 6000, 0.15); n = Trig.ar(trig, TRand.kr(0,0.01,CoinGate.kr( ...
-
... eq } ! n; son = DynKlank.ar(`[freqs, 1/n, [2 - pressure]], exc); // son = son * ToggleFF.kr(Dust.kr(20), 0.3, 0.5); Out.ar(out, son * amp); }).add ); /* (instrument: \filling).play; (instrument: \filling, sustain: 0.1, amp: 0.2).play; (inst ...