Forums > MaxMSP

Windowing or Window size? What does it mean?

November 7, 2008 | 7:02 am

Been looking at objects like [ej.vdb~] and [fft~]. both mention window size or windowing. I searched around the forum and documentation but couldn’t find anything that would explain exactly what windowing is. Would anyone mind explaining what it is or what the usage for this is? Or point me in the direction of an explanation? Thanks

November 7, 2008 | 8:14 am

Fourier analysis for example analyzes audio by taking chunks of it. A succession of chunks can be understood as a window (showing a part, covering the rest) that moves over the audio stream. Windowing is also used as a name for smoothing the edges of the chunk, by applying a short fade-in and fade-out, therefor you will see things like a hanning-window which is a name for a specific fade method. The fft works with a fixed window size that has to be a power of two samples long, eg 512 samples. Hope this brief introduction helps.


November 7, 2008 | 9:14 am

And, the larger the window size, the greater the frequency resolution, but smaller the time resolution, so widow size is an important consideration regarding the type of sound you’re analyzing. Short windows are best for time-critical applications like percussion sounds, but you can get better spectral resolution with a larger window on slowly changing sounds like held notes on wind instruments etc.

November 7, 2008 | 12:33 pm

If those snippets didn’t help, try searching the documentation for "windowing" once more…it’s there (MSP Tutorials 25 and 26).

November 8, 2008 | 11:38 pm

Thanks for the replies! Ill go over the tutorials. I actually started tutorial 25, but got the impression it was written with the idea that the reader already was familiar with windowing…

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP