Hallo, Hans Roels hat gesagt: // Hans Roels wrote: > I don't think you need lists for this, just 2 > objects [min] [trigger] and an initial value. in > attach is an example with a random stream of numbers.
That's the general approach to find min and max in a stream of numbers and it's internally used in [list-minmax] as well. But if you want to find "local" extrema, you have to do some more housekeeping, that's where [list-lastx] comes into play. Ciao -- Frank Barknecht _ ______footils.org__ _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list