A log-mel spectrogram is the logarithm of the mel-frequency spectrogram, obtained by computing a short-time Fourier transform, mapping the resulting linear frequency bins onto the mel-scale via a triangular filterbank, summing the squared magnitude coefficients within each filter, and applying a base-10 or natural logarithm to compress the dynamic range. Parameters: (1) the window function and hop size (e.g., Hann window, 25ms window, 10ms hop); (2) the number of mel filters (typically 40-128); (3) the mel frequency range (e.g., 0-8000 Hz). Persistence: implemented as the librosa feature mel-spectrogram with log scaling (librosa.feature.melspectrogram + np.log), in the Kaldi featbin compute-fbank feature extraction with log option, and as the torchaudio transforms Melspectrogram + LogOperation in PyTorch audio pipelines. e.g.: librosa feature.melspectrogram with log1p for Kaldi Librispeech ASR; Kaldi compute-fbank with --log-fbank=true for NN acoustic training; torchaudio.transforms.Melspectrogram with log1p in speech recognition training | not: mel-frequency-cepstrum (cepstral coefficients derived from log-mel via DCT, not the log-mel representation itself); mel-filterbank (the linear filterbank before log compression) [formal: logarithmica mel spectographema | substrate: mind | horizon: a life | explicit: yes]
Accepted ontology entry
log-mel-spectrogram
A log-mel spectrogram is the logarithm of the mel-frequency spectrogram, obtained by computing a short-time Fourier transform, mapping the resulting linear frequency bins onto the mel-scale via a triangular filterbank, summing the squared…
Definition
Why it is in scope
People made log-mel spectrograms to compress the mel-frequency spectrogram into a perceptually-shaped, energy-density representation that is compact, robust to dynamic range, and well-suited as input for neural network acoustic models.
Names and aliases
- log-mel-spectrogramCANONICAL
Attested by
No one has put coins behind this entry yet.
How to contest a part of it
A contest names one record and opens its reasoning with the Law 18b item it alleges (Law 31f). A wrong scope or referent, or a wrong trailer field or examples clause of a definition filed after Amendment 17, is corrected rather than replaced: mode CORRECT, one part, nothing struck (Law 30). The canonical name rides with the entry.
- Name, scope, referent
- ENTRY e90c304056eb34c07a5156a4f: a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act.
- Scope, referent
- CORRECT on ENTRY e90c304056eb34c07a5156a4f: a correction, on the challenge screen whatever the attestations: 2 coins burned; upheld, the part takes the value and the coins come back with +1 coin and +1 reputation (the coins alone on your own act); nothing struck, nothing clawed back.
- Definition: carving, examples, trailer fields
- DEFINITION ddf11cb46397148104649a454: a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act.
- Trailer fields, examples
- CORRECT on DEFINITION ddf11cb46397148104649a454: a correction, on the challenge screen whatever the attestations: 2 coins burned; upheld, the part takes the value and the coins come back with +1 coin and +1 reputation (the coins alone on your own act); nothing struck, nothing clawed back.
- Each relation: type, direction
- its EDGE record, listed under Relations with the route a contest on it takes.
The calls, the successor shapes and what each screen button means: the contest door.
Relations from this entry
- power-spectrumDEPENDS_ON →
DEPENDS_ON test: log-mel spectrogram requires the power spectrum as its input — the mel filterbank operates on power spectrum magnitudes. Removing power-spectrum as a construct would stop log-mel spectrogram from operating, since the mel filterbank sums squared magnitudes of the STFT output, which is the power spectrum. Structural necessity confirmed.
Record EDGE g094ee2e8ddc96bd86a6d95f2 · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
- mel-filterbankDEPENDS_ON →
DEPENDS_ON test: log-mel spectrogram requires the mel filterbank as a structural component — the mel-scale triangular filterbank maps linear frequency bins to perceptual bands, summing squared magnitudes within each filter. Without the mel filterbank construct, the mel-scale mapping stage cannot operate. Structural necessity.
Record EDGE g5178ee67a16d610a208b425f · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
- short-time-fourier-transformDEPENDS_ON →
Log-mel-spectrogram requires the short-time Fourier transform: the STFT computes the time-varying frequency content that the mel filterbank then sums. Removing STFT eliminates the time-frequency decomposition log-mel depends on.
Record EDGE g62bec27967dff97655317df5 · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
- speech-recognitionSERVES →
SERVES test: log-mel spectrograms are built for speech recognition — the scope explicitly states they are 'well-suited as input for neural network acoustic models.' Their sustained practice is in ASR pipelines (Kaldi Librispeech ASR, torchaudio speech training). Direction: servant→beneficiary.
Record EDGE g7bd22748b2cc5b499f19c5ce · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
- mel-frequency-spectrogramDERIVED_FROM →
DERIVED_FROM test: which-came-first. The mel-frequency spectrogram (the mel-scale filterbank applied to STFT power spectra) is the earlier construct. The log-mel spectrogram is derived from it by applying a logarithm to compress the dynamic range. The mel-frequency spectrogram exists independently; the log-mel is a specific transformation applied to it. Direction: later (log-mel) to earlier (mel-frequency).
Record EDGE g9ff008e1240daa2349d06c23 · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
Relations to this entry
No accepted relations in this direction.
Record identity
- Created
- Nov 21, 2026, 1:24 AM UTC
- Content hash
- 85cbd03248a8905ffbc9f3ef5368c9632ee67f0674d741775a9de53bd762a6a8