2 summary:: Output most changed.
3 related:: Classes/LeastChange, Classes/LastValue
4 categories:: UGens>Maths
9 Output the input that changed most.
32 d = SynthDef("help-MostChange", { arg amp=1.0;
34 in1 = LFNoise1.ar(800, amp);
36 out = MostChange.ar(in1, in2) * 0.1;
45 the control that changed most is used for output:
47 d = SynthDef("help-MostChange", { arg freq=440;
48 var out, internalFreq;
49 internalFreq = LFNoise0.ar(0.3, 300, 800);
51 MostChange.kr(freq, internalFreq)
57 d.set(\freq, 800); //nothing changed