Answers for "How to choose FFT Window type"
http://answers.unity.com/questions/1623827/how-to-choose-fft-window-type.html
The latest answers for the question "How to choose FFT Window type"Answer by aldonaletto
http://answers.unity.com/answers/1623847/view.html
The FFT gets a subset of samples (a number of consecutive audio samples) and calculates how much of each harmonic is present in that subset. But the FFT "thinks" that all samples outside the subset are 0, which seems like a big rectangular pulse (as wide as the number of samples) multiplied by the signal, and the harmonics of such "pulse" are mixed with the audio signal.<br>
The windowing function is a trick that greatly reduces these spurious harmonics: the samples are multiplied by special factors that vary along the window, and the resulting FFT gets much cleaner. Since these factors are calculated on-the-fly, a more complex windowing function can slow down the FFT - that's why Unity allows selection of the window type.<br>
Rectangular means no correction window at all, which's fast but dirty. Triangle is a triangular window, cleans reasonably the FFT at very low cost. Hamming, Hanning, Blackman and BlackmanHarris windows are progressively more slower and cleaner alternatives (evaluating COS is usually a slow operation).<br>
If you're going to use the FFT for precise operations like evaluating the pitch of a given sound, select the more complex windows - Blackman or BlackmanHarris. For less stringent operations like spectrum displays, evaluation of audio ranges (treble, bass, mid etc.) and other applications where precision is not required, try triangle, Hamming or Hanning windows (even the rectangular window may be good enough in many cases).Fri, 19 Apr 2019 13:31:53 GMTaldonalettoAnswer by elix
http://answers.unity.com/answers/1623833/view.html
It's depends on continuity of the data.
When start and end data are seamless,Rectangular is best to use.
Other situation, may be Hamming.Fri, 19 Apr 2019 12:45:17 GMTelix