What is Stft in audio?
DFT converts a sequence (discrete signal) into its frequency constituents just like FT does for a continuous signal. In our case, we have a sequence of amplitudes that were sampled from a continuous audio signal. DFT or FFT algorithm can convert this time-domain discrete signal into a frequency-domain.
What is Stft spectrogram?
s = spectrogram( x ) returns the Short-Time Fourier Transform (STFT) of the input signal x . Each column of s contains an estimate of the short-term, time-localized frequency content of x . The magnitude squared of s is known as the spectrogram time-frequency representation of x [1].