Reseting the Minimum

Apr 9, 2008 at 9:20am

Reseting the Minimum

Hey there,

Many thanks to VZE1 on helping me with my earlier question. I do have a new one now, but I suspect there is an even simpler answer that is just out of my grasp:

I have a source that is rapidly giving me a random set of numbers. I would like to have a Flonum object that only reports the highest number. Suppose I first get a .002 … it will indicate that until a .056 comes in, and then it can never go lower than that. Sort of like a minimum that resets itself every time it gets a new higher number. Thanks!!

#36810
Apr 9, 2008 at 10:43am

On 9 avr. 08, at 11:20, Brent Huras wrote:

> I have a source that is rapidly giving me a random set of numbers. I
> would like to have a Flonum object that only reports the highest
> number. Suppose I first get a .002 … it will indicate that until
> a .056 comes in, and then it can never go lower than that. Sort of
> like a minimum that resets itself every time it gets a new higher
> number. Thanks!!

You can connect the output of [maximum 0.] to it’s rightmost input
(thru a [float] or float numbox).

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max

#126533
Apr 9, 2008 at 11:05am

Have a look at [peak].

Ciao.

#126534
Apr 9, 2008 at 2:28pm

You can also use lp.stacey, which tracks min/max/mean as well as standard deviation and several other statistical characteristics of incoming data.

Part of the Litter Starter Pack. URI below.

Best — Peter

#126535

You must be logged in to reply to this topic.