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:
-
stfdata a ShortTimeFourierData object complexes a 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 MaxIterations Automatic maximum number of iterations SampleRate Automatic the sample rate of the result
Examples
open allclose allScope (5)
Data (2)
Parameters (3)
The partition size should be what was used for computing the short-time Fourier:
A different value cannot be used for the partition size:
If the input is a complex matrix, the partition size should be the same as its second dimension:
Any other value would be rejected:
By default, the offset used for short-time Fourier is used:
A different partition offset can be used and will result in time stretching:
If the input data is a matrix, by default an offset equal to 1/3 of the inferred partition size is used:
The smoothing window can be different from the value stored in the input data:
Text
Wolfram Research (2019), InverseShortTimeFourier, Wolfram Language function, https://reference.wolfram.com/language/ref/InverseShortTimeFourier.html.
CMS
Wolfram Language. 2019. "InverseShortTimeFourier." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InverseShortTimeFourier.html.
APA
Wolfram Language. (2019). InverseShortTimeFourier. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InverseShortTimeFourier.html