<array> output = makeWindow(<string> Window Type, <number> Window Size)
This function creates a filter window of type Window Type, and length Window Size. Use the following window types (as shown in the diagram below):
The Bartlett window is a triangular window with non-zero endpoints.
The Blackman window is based on a cosine function. It has less sideband leakage than the comparable Hamming and Hanning windows.
The Hanning window (sometime called the Hann window) is based on a raised cosine function.
The Hamming window is similar to the Hanning window, but optimized to minimize the nearest side-lobe frequency content.
The triangular window is simpler than the cosine-based windows, but has much higher side-lobes frequencies.
The Boxcar is a rectangular window. It will lead to discontinuities at the edge of each window.