Forums > MaxMSP

running average, min and max

October 20, 2012 | 10:52 am

I’m looking to get a running average from my float data which is on a random metro. has anyone came across a problem like this before?

I’ll be attempting to get a minimum and maximum also to normalise the data but one step at a time. any help would be great.


October 20, 2012 | 10:58 am

ha! simply the (mean) object!


October 20, 2012 | 11:15 am

If you want a running average of the n last numbers you can use a combination of [zl stream], [zl sum] and [/] too!


October 20, 2012 | 2:18 pm

Hi,

you might also be interested in [sadam.stat], which will give you the standard deviation of the dataset and will give you some control on the length of the dataset to consider. See http://cycling74.com/forums/topic.php?id=42930 .

HTH,
Ádám


Viewing 4 posts - 1 through 4 (of 4 total)