-
ToggleFF toggle flip flop ToggleFF.ar(trig) Toggles between zero and one upon receiving a trigger. trig - trigger input ( play({ SinOsc .ar(( ToggleFF .ar( Dust .ar( XLine .kr(1,1000,60))) * 400) + 800, 0, 0.1) }))
-
PulseCount pulse counter PulseCount.ar(trig, reset) Each trigger increments a counter which is output as a signal. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive. reset - r ...
-
Latch sample and hold Latch.ar(in, trig) Holds input signal value when triggered. in - input signal. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive. { Blip .ar( Latch .ar( ...
-
... ombination of Select and TIRand ) An output is selected randomly on recieving a trigger from an array of inputs. see also: TWChoose *ar(trig,array) *kr(trig,array) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TChoose .ar( Dust .ar( Mo ...
-
... ) //___indian video game (1) ( SynthDef ( "ivg" , { arg out, freq=900, pan; var trig, snd; trig = Impulse .kr( LFClipNoise .kr(4, 3, LFClipNoise .kr(0.2, 2, 7))); snd = RLPF .ar( SinOsc .ar(freq, 0, Decay .kr(trig, 1.8)).distort , 554, 0.3) ...
-
SetResetFF set-reset flip flop SetResetFF.ar(trig, reset) When a trigger is received the output is set to 1.0 Subsequent triggers have no effect When a trigger is received in the reset input, the output is set back to 0.0 One use of this is ...
-
RunningMax track maximum level RunningMax.ar(in, trig) Outputs the maximum value received at the input. When triggered, the maximum output value is reset to the current value. in - input signal. trig - A trigger resets the output value to t ...
-
RunningMin track minimum level RunningMin.ar(in, trig) Outputs the minimum value received at the input. When triggered, the minimum output value is reset to the current value. in - input signal. trig - A trigger resets the output value to t ...
-
Free when triggered frees a node superclass: UGen *kr(trig, nodeID) trig when triggered, frees node nodeID node to be freed //example s.boot; SynthDef ( "a" , { Out .ar(0, SinOsc .ar(800, 0, 0.2)) }).send(s); SynthDef ( "b" , { arg t_t=0; O ...
-
... omly select one of several inputs An output is selected randomly on recieving a trigger from an array of inputs. the weights of this choice are determined from the weights array. If normalize is set to 1 the weights are continuously normali ...