I'm doing some feature extraction on audio signals.
$M$ being a mel filterbank matrix, and $S$ being the spectrogram (extracted from the Short Time Fourier Transform of my audio signal), we can compute:
- The Log Mel Spectrogram: $X_P = \log(M \times|S|)$
- The Log Mel Power Spectrogram: $X_{PS} = \log(M \times|S|^2)$
Question: Is there a reason to use one over the other?
Two things come to mind:
- Using the Magnitude squared is computationally less expensive (no need for
sqrt
) - Using the Magnitude squared emphasizes the largest components, which might or might not be desirable to train a model.
Of course I could also compare the model performance when trained on either, but I’m mostly interested in some theoretical aspects, and if there’s anyone with experience using both.
Any insights?