You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Hann window in arduinoFFT.cpp is defined as 0.54 * (1.0 - cos(twoPi * ratio)). The 0.54 should be 0.5 (e.g., Hann function on Wikipedia). Looks like the incorrect 0.54 perhaps originates from the Hamming window, where 0.54 is the correct value
Not sure if this alters the respective value in the window compensation table in #40.
The Hann window in
arduinoFFT.cpp
is defined as0.54 * (1.0 - cos(twoPi * ratio))
. The0.54
should be0.5
(e.g., Hann function on Wikipedia). Looks like the incorrect 0.54 perhaps originates from the Hamming window, where 0.54 is the correct valueNot sure if this alters the respective value in the window compensation table in #40.
/cc @pvutukur
The text was updated successfully, but these errors were encountered: