Questions tagged [stft]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Time frequency reassignment for complex signal

Given the following, $$f(l)=\sum_{k}f_{k}(l)e^{-i\phi_{k}l}$$ $$W_{f}(\tau,v)=\int_{\mathbb{R}}f(l+\tau/2)f^{*}(l-\tau/2)e^{-ivl}\partial l$$ $$W_{g}(\tau-t,v-\omega)=\int_{\mathbb{R}}g(l+(\tau-t)/2)...
0
votes
1answer
36 views

Power Spectral Density of Finite Signals

I have a basic confusion which I hope someone can help clear. Say I have two signals: $S_1=\sin(2\pi t) \forall t\in[0,+\infty]$ $S_2=\sin(2\pi t) \forall t\in[2,5]$, $S_2=0$ otherwise Now let's ...
0
votes
1answer
72 views

Selected bin oscilation in STFT

I am looking for a noisy signal using STFT. My window length is 128 and I am using 75% overlap. I am using a Hanning window before running the FFT process. I am using Quinn's 2nd estimator for ...
2
votes
2answers
67 views

STFT on time varying signal with good time and frequency resolution

I am trying to determine the main frequency of a noisy signal that varies in frequency over time. Ideally I want to detect changes in the frequency as rapidly as possible - say 50Hz update rate, but I ...
0
votes
0answers
16 views

Estimate peak bandwidth from adjacent STFT bins for notch filter

I am using STFT to extract a strong, frequency varying signal from a continuous set of digital samples. I am able to do this very successfully and am determining the peak bin using PSD and 50% overlap ...
1
vote
2answers
91 views

Old style signal processing?

I am wondering if "an array of overlapping band-pass filters" it is 'mostly' equivalent to a Short-Time Fourier transform. See this (figure down), where $s(t)$ is the signal; LPF a second-order low-...
1
vote
1answer
35 views

Implementing MVDR beamformer in the STFT domain

I am trying to implement an MVDR beamformer for the first time. I was reading a couple of papers and books with many different notations and I am a bit confused. In my case, without loss of ...
1
vote
2answers
54 views

Multi Resolution STFT for audio

I am looking at trying to achieve a multi resolution STFT analysis on a log sine sweep audio measurement. I have an impulse, and I would like to perform two different windowed length FFTs on the ...
1
vote
1answer
48 views

STFT output frequency does not match sin wave frequency

I have the following function and pre definition for producing a sin and its' stft: ...
0
votes
1answer
43 views

CWT Disapointing Frequency Separation

I'm attempting to perform multi-resolution analysis via Continuous-Wavelet Transform (CWT) using Pywavelets. I've heard that CWT is supposed to be superior to STFT due to varying frequency content as ...
0
votes
1answer
60 views

Spectrogram Time Resolution with Overlap

I understand that the time resolution of a spectrogram with no overlap is the sampling frequency divided by the window length. How does this change with, say, 50% overlap? Does this double the time ...
3
votes
3answers
308 views

Does it make sense to use a wavelet that is equal to a sine of one period?

Would I get same results with STFT method (short-time Fourier transform) if I try this?
1
vote
0answers
26 views

When do phases not exist for spectrograms?

I have been reading a paper on the "Single pass spectrogram inversion" and I came across this in the Introduction part. In many applications, the analysis and modification of the Short-Time ...
1
vote
0answers
42 views

How to express STFT and ISTFT as a 1d convolution and 1d deconvolution in tensorflow/keras

I'm trying to implement this paper in tensorflow and keras. At the end of section 3 it says. ...
0
votes
0answers
15 views

Derivation of the reassigned STFT magnitude of a complex exponential

I have a complex exponential defined as $x(t)=Ae^{i2\pi f_{0}t}$ and its short time Fourier transform with respect to the analysis window, $g(t)$ is defined as, $$X_{g}(b,f) = \int_\mathbb{R} x(t+b)g(...
0
votes
0answers
126 views

Frequency range for STFT in Librosa

I am currently looking at the STFT for Librosa. I was wondering how to understand the output of the STFT function, specifically what kind of frequencies the different values represent. Say I have a ...
-1
votes
1answer
67 views

Spectrogram power/magnitude normalization in analogy with image intensity normalization

In analogy with the 8-bit grayscale image color depth, in which the intensity of a sample pixel is normalized to a value between 0 and 255 by taking into account the minimum and maximum intensities ...
0
votes
1answer
23 views

How to pad a array representing music to pad the stft of this array?

I have an array named samples of size (2, 1321967) representing an audio file. When I pass it to scipy stft with ...
0
votes
1answer
43 views

How to deal with overlap in STFT when considering the highest energy among multiple channels

I have a 4 channels audio file. As a pre-processing step, it goes through an STFT with $T$ frames and $M$ frequencies. The output is divided into magnitude and phase per channel, so for $C$ channels, ...
3
votes
2answers
197 views

STFT calculation with Gaussian Window

$$ f(t)=\exp(jat^2) \,\,\, and \,\,\, g(t)\,\,is\,\, a\,\, Gaussian\,\, Window:$$ $$ g(t)= \left (πσ^2\right)^{\frac{-1}{4}}\exp\left (\frac{-t^2}{2σ^2} \right ) , \,\,\,\,\,\,\left \|g(t) \right \|...
1
vote
0answers
16 views

Bandpass filtering with passband changing with time

Is it possible to implement some sort of filter which adapts as a function of time? Specifically, say I have a "noiseless" model of some signal which has the same frequency components at the same ...
0
votes
0answers
22 views

Criteria for Inverse STFT

So far I have studied the STFT and how it works. Following this question: Inverse Short Time Fourier Transform algorithm described in words , I got a grasp of how it works and how to implement it. ...
2
votes
1answer
89 views

Frequency estimation on chaotic waveform

The target signal is generated by the following analytically solvable hybrid chaotic oscillator \begin{equation}\label{eq:1} \ddot{u} - 2\beta \dot{u} +(\omega^2+\beta^2)(u-s)=0 \end{equation} ...
0
votes
0answers
51 views

Scipy stft, how is shape of f determined?

Using scipy stft, like this : ...
0
votes
0answers
65 views

Find fundamental frequency in short time Fourier Transform

In an implementation of phase vocoder using Python, I found the author get an approximation of the fundamental frequency of STFT using the following formula: Freq0 = B/A * abs(B/A) where B is the ...
2
votes
1answer
104 views

How to set STFT-parameters to visualize woodpecker / Sawtooth Signal? ​

I always wanted to work with FFTs and Spectrograms to characterise sounds and their frequencies using python. Lately I recorded a woodpecker at his work. Woodpecker Wav File To know where to look ...
0
votes
1answer
52 views

How to classify the movement type of a target into two categories(direct motion or else) by using a doppler radar?

How to classify the movement type of a target just into two categories(one is direct motion which is almost straight line movement and the other is anything else) by using a doppler radar with a ...
2
votes
1answer
90 views

How to reduce synthesis artifacts produced by phase vocoder?

I implemented the phase vocoder algorithm in Python to time-stretch speech signals by following this paper and referring to this MATLAB tutorial. I can distinguish words in the original signal from ...
0
votes
2answers
409 views

How to calculate the PSD from the complex calculated STFT?

I have calculated the STFT with scipy python library: ...
0
votes
0answers
74 views

How to know the time of my window to calculate the STFT with python knowing only the length?

I am trying to implement a work presented in an IEEE paper where they have mentioned that the STFT was performed on the signal measurements to obtain a spectrogram with no overlap window of 3 min : I ...
3
votes
1answer
132 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?
0
votes
1answer
134 views

How to calculate STFT of a function for a rectangular window

How to calculate the STFT (by hand) of $$u(n)\cos(0.2\pi n)$$ for a rectangular window of a length 20, positioned at $n = 5$. I know that to use STFT I need to divide longer signal to a shorter parts ...
1
vote
0answers
87 views

How to estimate noise by eigendecomposition of the variance covariance matrix?

I'm new here so I will try to be as clear as possible. I am trying to apply some techniques from signal processing framework to denoise financial time series. I would like to know if what I am ...
2
votes
2answers
227 views

Other time-frequency-plane tiling than STFT, DWT, ConstantQ-Transform: multiresolution STFT?

It is known that a) the STFT gives a rectangular tiling of the time-frequency plane b) the Wavelet transform gives a non-linear tiling (better frequency resolution for low-frequencies, and better ...
1
vote
0answers
67 views

Can Reassigned-STFT be an invertible transform? Algorithm for “Signal => Reassigned-STFT => masking => Reassigned-ISTFT => Output signal”

It is well known in DSP that this is a successful method to modify audio signals: Signal => STFT => masking => ISTFT => Output signal For example, ...
1
vote
0answers
48 views

Efficient audio power spectrum estimation

I am working on a small personal project where I want to control a matrix of roughly 100 actuators with an audio stream. The goal would be that the user can see/feel the music features in the movement ...
2
votes
1answer
125 views

Separate two sinusoids with very close frequencies (5 Hz difference) in a 44.1 Khz audio signal, with good time-domain resolution [closed]

Here is an audio signal which is a mix of (WAV file available here): a 2000 Hz sinusoid, beginning at 1.00 sec, without fade-in/fade-out a 2005 Hz sinusoid, beginning at 1.031 sec, with a slow fade-...
0
votes
1answer
46 views

Analyzing audio by looking at its time-frequency points in real- imaginary plane

I am performing Short-time Fourier transform on an audio signal (I dont know how to attach the audio file here). The sound was recorded in anechoic chamber and the source is supposed to come from left....
0
votes
1answer
589 views

How do I apply a binary mask and STFT to produce an audio file?

So here's the idea: you can generate a spectrogram from an audio file using shorttime Fourier transform (stft). Then some people have generated something called a "binary mask" to generate different ...
1
vote
3answers
488 views

Denoising a signal

I'm starting hydraulic experiments, where I'd have to measure velocity in an unsteady flow with a device called Acoustic Doppler Velocimeter. In DSP terms, I'd have a nonstationary signal in a shape ...
0
votes
1answer
195 views

1D signal to 2D spectrogram

I struggling at transforming a 1D breathing signal into 2D spectrograms, power spectral density as a function of time and frequency. Does anyone have an idea about that?
0
votes
1answer
45 views

How to Calculate the number of DFTs taken in a STFT

Given variables of window size (W), overlap (O), and length of the Signal (S) (in my case, length of a song) and I am trying to determine an equation that gives me the number of DFTs that would be ...
2
votes
1answer
2k views

STFT amplitude normalization, librosa library

So librosa.core.stft returns a complex single sided spectrogram. My question is: What normalization of the amplitude values should I perform afterwards? I believe I have to multiply the amplitude ...
1
vote
1answer
138 views

CMV: COLA constraint is not necessary

In the literature on the short-time Fourier transform (STFT) it is often stated or implied that the constant overlap-add (COLA) constraint must be satisfied in order for the STFT to be invertible. ...
0
votes
1answer
178 views

Add noise/signal to mel log spectrogram

I have a predicted mel log spectrogram $S$ and I want to add a noise signal $\eta$ to it. S = log(mel-filterbank(abs/real part of(stft(signal))) The naive way ...
0
votes
0answers
231 views

output shape of STFT

I cant figure out why our output image is 257 * 32 , 32 I know why , but 257 I cant understand ? this is the exact word of this paper wich applied STFT on 3 channel of eeg signal : Short time Fourier ...
0
votes
1answer
90 views

Some doubts in the matlab code of computing Wigner distribution

I found that a discrete form of the Wigner distribution was $$WD(n,k) = \sum_{m = -N/2}^{N/2}f(n+m)f^*(n-m)e^{-j\frac{2\pi}{N+1}2mk}$$ where $f(n)$ is the signal and time limited within $|n|\le N/2$. ...
2
votes
0answers
171 views

Reconstruct signal from its Spectrogram only

The spectrogram of a signal throws away the phase information, but it is said to be possible to reconstruct the signal only from the spectrogram [1] via $$s(t) = \frac{1}{2\pi s^*(0)}\int_{-\infty}^{\...
2
votes
0answers
68 views

Selection of transforms, windows, wavelets for current signal analysis

I am new to this topic but I already read about the propperties of different signal analysis methods. I am stuck with the obvious advantages of FFT, STFT and Wavelet transforms but can't find good ...
1
vote
3answers
3k views

Window period(overlap) and FFT

How does changing the window period (i.e the number of points overlap between two frames) affect the FFT results ? Suppose that a time series signal was converted to frequency domain by FFT with ...