keunwoochoi/kapre

Spectrogram details

v3551G opened this issue · 1 comments

kapre.time_frequency.Spectrogram, the output format:(None, n_freq, n_time, n_channel)
The implementation of Spectrogram is based on STFT, of which the outout should in complexity frequency domain. Therefore, I want to know the details of converting the complexity frequency domain to real number domain.

You can use time_frequency.Magnitude() layer. You can also try composed layers like https://bytedance.feishu.cn/docs/doccnvYc12F2viZLU2OIaqOIxRg.