A moving average (rolling average or running average) is a calculation to analyze DATA values by creating series of averages of different subsets of the full data set.
It is a type of finite impulse response filter, in other words a kind of DATA smoother.
a moving average on a rectangle LFO
Input Data flow.
Size of the subset (amount of smoothness).
Output filtered Data flow.
Fill the output Array with 0, according the array len max.
Clear the Array and set its length to 0.