Found this in CNMAT downloads for max/MSP
http://cnmat.berkeley.edu/downloads
trend-report | Given an input stream of numbers, report statistics on “trends”, i.e., series of increasing or decreasing values. This was originally used on the output of fiddle~ as part of the “laughter” detector for Edmund Campion’s “ME”. |