I want to use STFT to analyze my signal and am wondering what are differences between two solutions:

  1. Use short windows (for ex. 256 samples window)

  2. Use longer windows (to get higher resolution in freq. domain) but let the windows overlap more (For ex. I use 1024 samples window, but let 1023 samples overlap)

Thank you :)


1 Answer 1


In general, shorter windows contain less information, and will thus provide less frequency resolution. But short windows will be more localized in time, and thus a sequence of short windows might allow greater resolution in locating or separating time domain behavior.

Longer windows will contain more information, but this information will be averaged across the entire window duration, thus potentially smearing out any transients or other non-stationary behavior that might change more rapidly than the window length or duration. But the greater information content might allow a higher resolution (both for separating peaks and locating or estimating isolated stationary frequency peaks).

Overlapped windows will provide some partially redundant information, but perhaps better localized data regarding rate of phase change for some types of signals that are stationary across multiple frames.

Added: Overlapping is also common when a non-rectangular window is used. Since the windowing process (combined with finite arithmetic) can be quite lossy at the edges, overlapping helps provide some of the information that was thrown away by the windowing.

  • 1
    $\begingroup$ What exactly, does say, a 99% overlap buy you over a 1% overlap? More noise immunity at the cost of additional processing time? $\endgroup$
    – Spacey
    Oct 9, 2012 at 2:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.