Questions tagged [stft]

The tag has no usage guidance.

261 questions
Filter by
Sorted by
Tagged with
10k views

Inverse Short Time Fourier Transform algorithm described in words

I'm trying to conceptually understand what is happening when the forward and inverse Short Time Fourier Transforms (STFT) are applied to a discrete time-domain signal. I've found the classic paper by ...
15k views

How do I optimize the window lengths in STFT?

I have many EEG signals and I want to analyze them using linear methods such as STFT (Short Time Fourier Transform). In STFT , How can I optimize the analysis window length, to reflect the frequency ...
15k views

Comparison between Fourier transform, short-time Fourier transform and wavelets

What is the difference between the Fourier transform, short-time Fourier transform and wavelets?
16k views

Can you increase frequency resolution of FFT without increasing window size?

I'd like to use STFT for multipitch analysis. I realise detecting the partials existing in the signal is just the beginning. Still I have problem with it. Let's say I have signal sampled with 'CD' ...
5k views

STFT and DWT (Wavelets)

STFT can be successfully used on sound data (with a .wav soundfile for example) in order to do some frequency-domain modifications (example : noise removal). With ...
4k views

Real-Time Human Pitch Detection

I'm trying to implement a singing game that will analise raw mic input and tell the player how good is he singing. That needs to be done in real-time. I've come across a lot of threads asking the ...
4k views

What's the difference between the Gabor-Morlet wavelet transform and the constant-Q transform?

At a glance, the constant-Q fourier transform and the complex Gabor-Morlet wavelet transform seem the same. Both are time-frequency representations, based on constant-Q filters, windowed sinusoids, ...
3k views

What is the maximal frequency resolution for Matlab's STFT implementation spectrogram()?

Matlab's spectrogram() function calculates the STFT of a signal. It describes its NFFT argument as follows: ...
569 views

Advantage of STFT over wavelet transform

I have learned about STFT and wavelet transform recently, and wavelet transform seems better than STFT in my opinion. So, I wonder if there is any advantage of using STFT than WT, and if so, what are ...
1k views

Signal processing techniques for an accelerometer signal?

I am running some tests where I am recording accelerometer measurements. I am looking to use elements of signal processing on this signal, but I am unsure about where to begin, or what my approach ...
2k views

Time resolution of the Short Time Fourier Transform (STFT)

I'm struggling to figure out how the time points of an STFT are calculated, and I can't find a definitive answer. Let's say I have a 4Hz stationary signal and I'm going to use a 64 second window with ...
406 views

How critical is the selection of the window function in STFTs?

I have a sum of periodic signals that I am trying to untangle using time-frequency analysis. I seem to get wildly different results depending on the window length and shape. This is a problem because ...
979 views

Least Squares Re Synthesis of Short Time Fourier Transform (STFT)

Working with my own MATLAB implementation of the short-time Fourier transform (STFT), I've managed to write code for the analysis step where a 1D time-domain signal $s[t]$ is progressively windowed, ...
14k views

STFT: why overlapping the window?

For STFT, we impose window of certain size onto the original signal, then we perform fft on each window. The uncertanty about frequency and time is determined by the width of the window, however, I ...
41k views

FFT to spectrum in decibel

Here is a 10 seconds-long 440hz sine wave normalized at $0\textrm{ dBFS}$. When computing the STFT (with the code below) of this audio file, I noticed that ...
15k views

Choosing the right overlap for a window function

On Wikipedia there is quite a list of window functions. However, when you are doing a lot of STFTs, you often have to have some overlap to get better results. Generally an overlap factor of 2 (i.e., ...
3k views

Wavelet Transform and STFT

How wavelet transform is different from STFT. I'm not able to understand what is resolution in frequency domain means?
299 views

In the formula for the windowed Fourier transform, why is the complex-exponential term not time-shifted to the position of the window?

I have a question about the "windowed / short-time / short-term" Fourier transform that is somewhat perplexing me. I have now added an Addendum at the bottom, where the issue is presented more ...
8k views

Understanding overlapping in STFT

I understand the concept of the STFT. In order to avoid spectral leakage, you use a Hann window that overlaps by 50%. However, the problem that I have, is that the example code online does not account ...
130 views

Role of window length and overlap in uncertainty principle?

I am trying to predict epilepsy using spectrograms and a convolutional neural network. So far I have achieved a validation accuracy of 86% which i feel like is pretty good. Lots of the papers doing ...
683 views

326 views

Aliasing in the Short time Fourier Transform of a pulse

When attempting to take the Short Time Fourier Transform of a pulse, at the end of the pulse I'm running into problems. The signal looks like this at the end (it is a simple $sin^2$ pulse envelope, ...
259 views

Segment/Idenfication of signal from a spectrogram

I have the following Spectrogram of a signal: Essentially, in this signal, I know there is one point of interest (between 60-80) and between the the particular frequencies. I could, potentially ...
432 views

Why are the frequencies associated with the STFT bins not representative of the energy?

I'm experimenting with a 30 Hz sine wave and I want to extract the frequencies of this, and have implemented the algorithm to do so. This gives a correct reading, well, gives 29 Hz. I'm now wanting ...
1k views

How to interpret the effect of different windows in short time fourier transform?

There are many categories of windows, e.g., rectangular, Gaussian, and triangular. What are their effects on STFT?
706 views

Analyse audio/music frequencies without STFT, at 1/f temporal resolution, using probe phasors at logarithmically-spaced frequencies, O(N log N)?

First, some background: The STFT is the best general-purpose tool I know of for analysing a (musical or other) signal into its component frequencies. For many purposes the STFT works fine, but there ...
477 views

How can I find the amplitude of the 20 Hz frequency component of a signal faster?

I have a time varying discrete signal x(t) sampled at 5ms rate. I need to find the amplitude of the 20 Hz frequency component for each sample. What I do today is that for each sample I do a Short-time ...
136 views

What mother wavelet should be chosen as an alternative to the STFT?

The Short Time Fourier Transform (STFT) is used to identify time localized frequency content of a signal. The STFT operates by chunking an input signal into blocks and performing FFT on the block, and ...
3k views

length of window and overlap rate in STFT

I want to use STFT to analyze my signal and am wondering what are differences between two solutions: Use short windows (for ex. 256 samples window) Use longer windows (to get higher resolution in ...
7k views

Power Spectral Density estimate (PSD)

I'm trying to understand PSD, and, it's functions. So far I have carried out the following: Segmented a signal with NFFT = 256 and ...
51 views

Understanding stability in frame theory. Wavelets

I'm trying to grasp some understanding of the concept of stability in the context of the frame theory. The definition of frame in ref1 states that a sequence of functions $\{ \phi_n \}_{n \in \Gamma}$ ...