dhbw.dasp.stft module

dhbw.dasp.stft.istft(dfts, framesize, hopsize)[source]

Synthesize the sample array from the given DFT matrix.

Parameters:
dftsndarray

DFT matrix of shape (samples,frequencies).

Returns:
samplesndarray

Array of samples.

dhbw.dasp.stft.stft(samples, framesize, hopsize)[source]

Estimate the DFT matrix for the given sample array.

Parameters:
samplesndarray, list, float

Array of samples.

Returns:
dftsndarray

DFT matrix of shape (samples,frequencies).