Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hann window incorrectly defined #61

Open
hugke729 opened this issue Jan 4, 2021 · 0 comments
Open

Hann window incorrectly defined #61

hugke729 opened this issue Jan 4, 2021 · 0 comments

Comments

@hugke729
Copy link

hugke729 commented Jan 4, 2021

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.

/cc @pvutukur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant