[PD] math floor function?

Josh Steiner joschi at eds.org
Fri Dec 13 20:05:40 CET 2002


eskogen at usfamily.net wrote:

>hi list
>
>i need two functions, but i'm having trouble coding abstractions for them and i can't find any suitable external.
>
>i need what i think is a "floor", to output the lowest number for any stream of floats.
>
>i also need a "top" which would output the highest received number in a stream of floats.
>  
>
i had a minute so i made a little patch that does this.  everytime it 
gets number on its inlet it sends out the highest/lowest number it has 
yet received. 
good luck.

-joschi

>the "minmax" object does great in this area, but it requires a list.
>
>any hints?
>
>thanks,
>
>--eric
>
>
>------ http://USFamily.Net/info - Unlimited Internet - From $8.99/mo! ------
>
>
>_______________________________________________
>PD-list mailing list
>PD-list at iem.kug.ac.at
>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>  
>


-- 
_____________________________________________________
you need more drum'n'bass -- http://mp3.com/vitriolix


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: top.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20021213/bfb57b46/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bottom.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20021213/bfb57b46/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: b_t_demo.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20021213/bfb57b46/attachment-0001.txt>


More information about the Pd-list mailing list