InverseShortTimeFourier

InverseShortTimeFourier[input]

reconstructs the signal from short-time Fourier data.

InverseShortTimeFourier[input,n]

assumes the spectrogram data was computed with partitions of length n.

InverseShortTimeFourier[input,n,d]

assumes partitions with offset d.

InverseShortTimeFourier[input,n,d,wfun]

assumes a smoothing window wfun was applied to each partition.

Details and Options

  • InverseShortTimeFourier computes an inverse of the short-time Fourier transform (STFT).
  • To compute the short-time Fourier transform of lists and audio signals, use ShortTimeFourier.
  • Possible types of input include:
  • stfdataa ShortTimeFourierData object
    complexesa 2D complex matrix representing the STFT of a signal
  • The inverse spectrogram array can be computed from the STFT if the offset d is smaller than half the size of the partition length n.
  • The following options can be given:
  • FourierParameters{1,-1}Fourier parameters to be used
    MaxIterationsAutomaticmaximum number of iterations
    SampleRateAutomaticthe sample rate of the result

Examples

open all close all

Basic Examples  (1)

Short-time Fourier transform and its inverse of an audio signal:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Scope  (5)

Applications  (2)

Introduced in 2019
(12.0)