Alternatively, if it's more convenient to put the values in a "text"
object, you can "text search" for the nearest value.

cheers
Miller

On Fri, Mar 06, 2015 at 11:44:57AM -0300, Alexandre Torres Porres 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

> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to