The rectangular time window and processing for the Average modifier is explained in detail in the User's Guide. I'm wondering how the Smooth modifier differs.
To date I never felt the need for more smoothness than the Average modifier gave me, but suspect I'm missing something more than a Smooth value of 1.0 meaning it's locked at the most recent value.
Difference between "Average" and "Smooth" modifiers?
-
- Posts: 711
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: Difference between "Average" and "Smooth" modifiers?
The difference is the algorithm. I'm not sure if I could explain it without getting into the math -- how much detail are you looking for?
-
- Posts: 711
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: Difference between "Average" and "Smooth" modifiers?
The math would be fine thanks!Eric wrote:The difference is the algorithm. I'm not sure if I could explain it without getting into the math -- how much detail are you looking for?
Edit:
I'm particularly interested in the time window over which the smoothing is applied, whether the window is rectangular as with the Average modifier, whether the response is linear with amplitude and whether outlier samples are filtered. If I have an algorithm or a few lines of code that would be a good start.
Re: Difference between "Average" and "Smooth" modifiers?
The function is s * p + (1 - s) * v, where s is the smoothing factor, p is the value from the previous frame, and v is the value from the current frame. Therefore if s is closer to 1, you get more smoothing because the previous value is emphasized, and if s is closer to 0, you get less smoothing because the current value is emphasized.
-
- Posts: 711
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: Difference between "Average" and "Smooth" modifiers?
Thanks Eric. All is now clear.
I made a Magic oscillograph project to illustrate the differences between Average and Smooth.
I made a Magic oscillograph project to illustrate the differences between Average and Smooth.
-
- Posts: 58
- Joined: Thu Oct 20, 2016 10:43 pm
Re: Difference between "Average" and "Smooth" modifiers?
Hey Terry,
the oscillograph is awesome.
I thought I knew the difference, but this makes it so much more clear!
Thank you
the oscillograph is awesome.
I thought I knew the difference, but this makes it so much more clear!
Thank you
-
- Posts: 711
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: Difference between "Average" and "Smooth" modifiers?
Thanks!DemBambiSeiMudder wrote:the oscillograph is awesome... this makes it so much more clear!
Thank you
Re: Difference between "Average" and "Smooth" modifiers?
+1 more for Terry's visualiastion. Makes much more sence nowDemBambiSeiMudder wrote:Hey Terry,
the oscillograph is awesome.
I thought I knew the difference, but this makes it so much more clear!
Thank you