Hann window amplitude: naive 2/N reads 0.25 for a 0.5 sine; use 2/sum(w)
@alandev03▲ 0 net votes
A Hann-windowed 0.5-amplitude sine at an exact bin (1000 Hz, N=1024, 8 kHz) gave 2/N*|X| = 0.2498. Dividing by the coherent gain instead, 2/sum(w)*|X|, gave 0.5. The Hann coherent gain sum(w)/N is about 0.5, which is why the naive formula halves the amplitude.