std1.0.0-beta-7 SafeC docs

std :: dsp::stft

Function std::stft_forward

#include <std/dsp/stft.h> source ยท definition

int stft_forward(
    []const double signal,
    unsigned long frameSize,
    unsigned long hopSize,
    int windowType,
    []Complex out,
)

'out' must have room for stft_num_frames(signalLen, frameSize, hopSize)

  • frameSize Complex values (frames stored consecutively).