# Questions tagged [window-functions]

In signal processing, a window function is a mathematical function that is zero-valued outside of some chosen interval.

255 questions
Filter by
Sorted by
Tagged with
76 views

### Using the windowing Method

I'm trying to write a C program that can get the PSD of an recorded audio file, I'm using for the fftw3 library. I wrote a program that calculate the PSD so far ...
5k views

### How to compute the main lobe width of generalized Hamming windows (i.e. Hann, Hamming, etc.)?

Is there a way to compute the main lobe width of windows of the generalized Hamming window family (i.e. Hann, Hamming, etc.)? By main lobe I mean the first zeros left and right of the center of the ...
1k views

### At which point in the signal processing chain to use Hann Window?

I have a question about signal processing. Experienced with embedded design and code, but DSP is in new territory. Thus far I am using the CMSIS DSP library functions, which are working well. I am ...
2k views

### Improve spectrogram appearance using windowing functions MATLAB

I have a program which plots data obtained in a NI USB DAQ realtime to a spectrogram plot using the surf function. I'd like to improve the appearance of the plot using some sort of windowing function. ...
1k views

### How can I load a wav file, split it in frames, apply different filters do different frames and then recombine the filtered frames into a single file?

I'm working on a wav audio file using MATLAB. What i would like to do is: load a wav file and divide it into frames of the same dimension filter these frames (with a different filter for each ...
168 views

### Window functions with rippleless spectra

On Wikipedia I found the Hann-Poisson window, and the article claims the spectrum is smooth, but it isn't theoretically smooth, as it turns out. In practice you achieve partial smoothness by jacking ...
6k views

### What exactly is the effect of a Hann Window on the FFT output?

In the code I am trying to understand, there is an usage of Hann window multiple times (There's overlapping frames, the size of each is 512 and the overlapping factor is 75% so each time we capture ...
1k views

### A question about spectral leakage

I have read about spectral leakages in other posts here. From what i understand, it occurs because you dont have an integer number of time periods in your sampled data. By default a rectangular window ...
930 views

### Spectral leakage - understanding the integer number of cycles while windowing

I am reading tutorials about windowing and have read following sentence: For an integer number of cycles, all smoothing windows yield the same peak amplitude reading and have excellent amplitude ...
115 views

2k views

### best window for close frequency components

I'm currently designing a receiver which has to determine whether a signal contains specific frequencies or not. The frequencies are at constant 215Hz difference: ...
648 views

### PSD of a windowed signal

Suppose PSD of a signal $x(n)$ is $PSD_{xx}(\omega)=1$. Now if a window function $w(n)$ of length $0\le n \le N-1$ is applied to $x(n)$, what will the new PSD be?
532 views

### Applying Window Function to Low Frequency Signals

I'm computing 1 sec. hanning windows from a signal that has a variable frequency between 1-4Hz. My first impression is that data loss caused by the distortion due to the window function is greater ...
2k views

### Effect of Windowing Function on Autocorrelation Function

I need to compute FFT components and autocorrelation of a discrete signal. When I do not use any window function before taking FFT of the signal I get a reasonable AC function from FFT that includes ...
317 views

### Channel Vocoder producing output with “click” sounds

I'm trying to make a channel vocoder that takes two inputs, one a frequency rich carrier (a musical sound) and the other a modulator (vocals). Applying operations involved in the channel vocoder ...
1k views

### A few questions about Slepian and generalized gaussian windows

I'm trying to add documentation for all the window functions in scipy.signal, and I'm stuck on the Slepian (same as DPSS?) and Generalized Gaussian windows, which I'd never heard of before. There are ...
5k views

### FFT with asymmetric windowing?

Common non-rectangular window functions all seem to be symmetric. Is there ever a case when one would want to use a non-symmetric window function before an FFT? (Say if the data on one side of the ...