purpose of applying the window
1 view (last 30 days)
Show older comments
hi i need to know the purpose of applying any window ( hamming,hanning) to sound signal
0 Comments
Answers (1)
Image Analyst
on 13 Dec 2012
I guess so the sound will fade in and fade out so it's a more gentle beginning and end to the signal. Without windowing it's possible the sound could start abruptly and very loudly, or suddenly stop which could sounds weird. That's all in the time domain.
It could also reduce spurious high frequencies in the spectral domain which can happen if the left side and right side of the signal don't match up because the FFT assumes a periodic signal. Mismatch at right and left edge of the signal will give a sharp edge in the periodic extension of the signal which would create spurious high frequencies.
1 Comment
bym
on 14 Dec 2012
@Abdulkareem
aka spectral leakage. why don't you code up an example for yourself and see the differences
See Also
Categories
Find more on Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!