Explicitly include a boost "windows" folder even on linux
[supercollider.git] / HelpSource / Classes / Changed.schelp
blobb42461ed1413aaf673cbeade4c176e32625b4491
1 class:: Changed
2 categories:: UGens>Triggers, UGens>Filters>Linear
3 summary:: Triggers when a value changes
5 description::
6 Triggers when a value changes.
8 classmethods::
9 method:: ar, kr
10 A special case fixed filter.
12 argument:: in
13 signal input
14 argument:: thresh
15 threshold
17 discussion::
18 Implements the formula:
19 code::
20 out(i) = abs(in(i) - in(i-1)) > thresh
23 examples::
25 detect changes in a signal:
26 code::
29         var changingSignal = LFNoise0.ar(1000);
30         var changed = Changed.ar(changingSignal);
31         [changingSignal, changed]
32 }.plot2