[PD] object to find closest value in an array

William Brent william.brent at gmail.com
Fri Mar 6 15:53:59 CET 2015

There's the "nearest" method for tabletool if you can deal with an external
rather than an abstraction.

On Friday, March 6, 2015, Alexandre Torres Porres <porres at gmail.com> wrote:

> I'm wondering if there's an object that can find in an array which is the
> closest value in the array ro an input value.
> Say I have an array/list of *1.1* , *2.2* , *3.3*, then I give as the
> input the number "3" and the object outputs *3.3*
> I've done this as a patch already, but I wonder if theres any solution
> that's "ready made".
> thanks

William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150306/a4668896/attachment-0001.html>

More information about the Pd-list mailing list