Function stft_compute

Function Documentation

fftwf_complex *stft_compute(StftStruct *stft_struct, Signal *channel_signal, int num_bins, int do_pad)

Compute the STFT (Short-Time Fourier Transform) for a given signal.

Parameters:
  • stft_struct – Pointer to the STFT structure.

  • channel_signal – Pointer to the input signal.

  • num_bins – Number of bins in the FFT.

  • do_pad – Flag indicating whether padding should be applied.

Returns:

Pointer to the computed STFT result.