[PD] Highest and Lowest values of array?

Sebastian Valenzuela svalenzuelamusic at gmail.com
Tue Nov 6 22:03:01 CET 2012


I imagine this isn't very difficult to do, but i haven't been able to find
it anywhere. I have controller data constantly begin written (and updated)
into an array - What is the easiest way to extract the highest and lowest
numbers from this array as these two variables change?

I'm not looking for something that will constantly be giving me the value
of those variables, but, for example, something that gives me the highest
value once, and updates that number when it finds a new highest value.

Thank you pd-list!
-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121106/57ee40b5/attachment.htm>


More information about the Pd-list mailing list