STFT - Putting it all together
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.