logspectrograms
Logspectrograms are a type of spectrogram that represents the spectral content of an audio signal on a logarithmic scale for the magnitude, typically using a decibel (dB) scale. They are commonly produced by first computing the short-time Fourier transform (STFT) of the signal, taking the magnitude (or power) spectrum, and then applying a logarithm. Formally, if X(t, f) is the STFT, a log-spectrogram may be defined as S_log(t, f) = 20 log10(|X(t, f)|) in dB or equivalently 10 log10(|X(t, f)|^2). A small floor is often added to avoid log(0).
Computation details commonly involve a windowed analysis: choosing a window function (such as Hann), a window
Applications and use cases include visualization of complex audio content, and as input features for machine
Relation to related representations: a log-spectrogram refers to the log-scaled magnitude or power spectrum on a