Filter Creation Off-By-1
Closed this issue ยท 2 comments
frouwen commented
FftSharp/src/FftSharp/Windows/Hanning.cs
Line 18 in a736f90
Shouldn't this line be:
window[i] = 0.5 - 0.5 * Math.Cos(2 * Math.PI * i / (size-1));
Otherwise the window is not symmetric.
swharden commented
frouwen commented
Awesome! You made some very nice improvements! Your libraries make my life considerably easier. Keep up the good work ๐.