From 0be43db5aead258e311a691b0a3bff16121d2b6b Mon Sep 17 00:00:00 2001 From: X9VoiD Date: Sat, 5 Dec 2020 01:50:10 +0800 Subject: [PATCH] Change variable name --- Reconstructor/Reconstructor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Reconstructor/Reconstructor.cs b/Reconstructor/Reconstructor.cs index 7f95fa0..9e338d2 100644 --- a/Reconstructor/Reconstructor.cs +++ b/Reconstructor/Reconstructor.cs @@ -43,9 +43,9 @@ namespace VoiDPlugins return (input * window) - sum; } - private static Vector2 ReverseEMAFunc(Vector2 currentMCMA, Vector2 lastMCMA, float weight) + private static Vector2 ReverseEMAFunc(Vector2 currentEMA, Vector2 lastEMA, float weight) { - return ((currentMCMA - lastMCMA) / weight) + lastMCMA; + return ((currentEMA - lastEMA) / weight) + lastEMA; } [BooleanProperty("Reverse MA", "Set to True if the tablet is using MA algorithm for smoothing/noise reduction")]