I also tend to use the object quite a bit in situations where I desire a running average over some history of events. Here's an example that calculates the average of the last 8 floating point input values:

+

I also tend to use the object quite a bit in situations where I desire a running average over some finite set of events (if you want a running average for an unspecified set of values, you'd use the {{maxword|name=mean}} object. Here's an example that calculates the average of the last 8 floating point input values:

I also tend to use the object quite a bit in situations where I desire a running average over some finite set of events (if you want a running average for an unspecified set of values, you'd use the mean object. Here's an example that calculates the average of the last 8 floating point input values:

-- Pasted Max Patch, click to expand. --

Copy all of the following text.Then, in Max, select New From Clipboard.