invert_stft#
- hmc_mir.tsm_tools.tsm_tools.invert_stft(S, hop_length, window)[source]#
Reconstruct a signal from a modified STFT matrix.
- Parameters:
S – modified STFT matrix
hop_length – the synthesis hop size in samples
window – an array specifying the window used for FFT analysis
- Returns:
A time-domain signal y whose STFT is closest to S in squared error distance.