0
$\begingroup$

I am I am working with 'wav' files in audio signal processing. I am able to find out STFT by using the function " spectrogram(file name, window length). Now I want to apply Inverse Short time fourier transform on the above signal. I tried "invspectrogram". but its showing error as Undefined function for input argument type of double. So please tell me how to proceed.

$\endgroup$
1
$\begingroup$

A magnitude-only spectrogram is not invertible. The spectral phase required for reconstruction has been lost.

A complex FFT (a 1D column of spectrogram data before the absolute magnitude is taken and colored) might be (within numerical limitations) invertible by using an IFFT, but that won't recover the original signal if the STFT is using windowed FFTs.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.