STFT - Putting it all together I'm currently reading this paper: http://www.rssd.esa.int/SP/LISAPATHFINDER/docs/Data_Analysis/GH_FFT.pdf
On page 21, it has a section called &quot;Putting it all together&quot;, it states the following steps:

Input data
Frequency resolution and length of DFT
Window function
Splitting of the data stream
FFT
Scaling

Now, the &quot;Window function&quot; is mapped out before the &quot;Splitting of the data stream&quot; if this is the case, should I therefore multiply each of the bins within the data stream by each of the window values (Hanning)?
For example, at the moment, my Hanning window size is: 256 and the data is split into segments of size 256x128 in this case.. N = size of stream and then compute hanning(N)
I've seem a lot of DSP engineers split the window up into frames, before applying the window?
Thanks
If your window is a rectangular window, then there is no mapping out since splitting the stream into frames is effectivley applying that window. Once you split the stream into frames, if your window is not rectangular, you would then multiply the window against the frame.

y[i] = x[i] * w[i], for i = 0 to N-1, then take the FFT of y.