Spacing between gaussian windows for STFT

I'm computing discrete short time Fourier transform. Data is split into overlapping chunks and gaussian window is used for each chunk. However, I'm not sure how much overlap there should be between chunks.

If they are too sparce I will loose information between them (gaussian window for each chunks is shown here):

On the other side, pack them to densely and I will do a lot of redundant computations:

Something in between is necessary:

But what exactly should it be?

• Can you provide a little more information about what you intend to do with the STFT? – Jazzmaniac Oct 17 '14 at 12:30
• @Jazzmaniac I want to make a spectrogram – Simon Oct 17 '14 at 13:15
• in that case the answer is simply, go with what looks good to you. If you don't have any sort of numeric constraints for invertibility you're free to choose whatever works. – Jazzmaniac Oct 17 '14 at 13:23

usually the overlap has more clear meaning when used with a complementary window such as the Hann window. a complementary window is such that the tails of all overlapping window functions add to 1. $$\sum\limits_{k=-\infty}^{+\infty} w(t-kT_{\text{hop}}) \ = \ 1$$ that cannot be the case for overlapping gaussian window functions.
• Dual windows mean you have a set of analysis windows $A_k(t)$ for different time indices $k$ and a set of synthesis windows $S_k(t)$ for the same time indices. Shift orthogonality, or more mathematically bi-orthogonality, means that $\langle A_k,S_l \rangle=\delta_{k,l}$. That allows you to easily invert the short time windowed Fourier analysis using the synthesis window while not constraining the choice of the analysis window. – Jazzmaniac Oct 17 '14 at 21:31
• hunh?? $$\langle A_k, S_l \rangle = \delta_{kl}$$ is orthogonal?? it's a different meaning of the word "orthogonal" than i had previously known. Oh! do you mean that for any $k \ne l$, that $A_k$ and $S_l$ are orthogonal? – robert bristow-johnson Oct 17 '14 at 21:45
• en.wikipedia.org/wiki/Biorthogonal_system I'm not sure why you're so confused about this being a form of orthogonality. Usually you have $\langle v_i,v_j \rangle=\delta_{i,j}$ for an orthohonal set of vectors $v$. It's the same here, only that you have a bilinear form between two different sets. Think of the $A_k$ as the dual vectors to $S_k$, so that you can write something like $A_k=S_k^*$, then the relation becomes $\langle S_k^*, S_l \rangle = \delta_{k,l}$. Is that more familiar? – Jazzmaniac Oct 18 '14 at 0:18