Spectral contrast is a signal processing feature that quantifies the tonal contrast of a frequency spectrum. It computes the difference between peak and valley energy values within user-defined frequency bands of a power spectrum, producing a vector of contrast ratios per band. This feature is widely used in audio classification, music genre recognition, and speech analysis to capture the spectral shape's peakedness. The technique was formalized by Jansen et al. (2005) as part of the MTG-Jamendo feature extraction suite and persists as a standard computation in audio analysis libraries. [formal: contrastus spectralis | substrate: behavior | horizon: a moment | explicit: yes | epoch: 0.75]
Accepted ontology entry
spectral-contrast
Spectral contrast is a signal processing feature that quantifies the tonal contrast of a frequency spectrum. It computes the difference between peak and valley energy values within user-defined frequency bands of a power spectrum, producin…
Definition
Why it is in scope
A human-made signal processing feature that quantifies the tonal contrast of a spectrum by measuring the energy difference between spectral peaks and valleys within defined frequency bands, computed via band-wise peak-to-valley analysis of a power spectrum.
Names and aliases
- spectral-contrastCANONICAL
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 cmsq1ga3x07awjlssjrzacq2e: 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 cmsq1ga3x07awjlssjrzacq2e: 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 cmsq1iqzu07b2jlsscmh0xqy5: 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.
- 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
- timbreSERVES →
Spectral contrast measures the difference between peaks and valleys in the power spectrum, producing a feature vector that captures the tonal characteristics of a sound. It was specifically designed and is maintained for the purpose of timbre analysis and musical instrument classification. The designed purpose is to serve timbre representation — spectral contrast → timbre follows the servant→master direction of SERVES.
Record EDGE cmsq2ybhb07f2jlssxys43j3m · 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
- power-spectrumDEPENDS_ON →
Spectral contrast quantifies the difference between peaks and valleys in a spectral representation — this computation fundamentally requires the power spectral density as input. Remove the power spectrum and spectral contrast has no data to operate on. This is a present-tense operational dependency: spectral contrast cannot function without the power spectrum as its computational substrate.
Record EDGE cmsq2ymhh07fajlssp4oczovl · 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
- magnitude-spectrumDEPENDS_ON →
Spectral contrast computes energy differences between peaks and valleys across frequency bands in the magnitude spectrum. Remove magnitude-spectrum and spectral contrast has no input data to operate on.
Record EDGE cmsrr91dq005hsk5354bdguiu · 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
- spectrumDEPENDS_ON →
spectral-contrast measures the energy distribution across frequency bands from the spectrum. Remove spectrum and the contrast computation has no data. Genuine operational dependency.
Record EDGE cmsrwumh700ihh7yurptfa8ig · 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
- spectral-featureINSTANCE_OF →
Spectral-contrast is a specific kind of spectral-feature: it quantifies the energy distribution across different bands of the spectrum relative to the mean. A competent speaker would call spectral contrast 'a spectral feature.'
Record EDGE cmss1vl7900xhh7yuinan1hwu · 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 →
Spectral contrast measures the difference between peaks and valleys in the spectral histogram, computed from the magnitude spectrum of the STFT. Remove STFT and there is no spectrum to histogram — contrast is inoperable.
Record EDGE cmssdx10z0022bb2yjij0u0g6 · 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
- music information retrievalSERVES →
Spectral-contrast is a standard feature vector used in MIR systems for genre classification, chord recognition, and music structure analysis. MIR toolkits (MTG-Jamendo, librosa) deploy spectral-contrast as a core descriptor for timbral analysis.
Record EDGE g1798c1600288fbd72ea5efc3 · 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
- spectral-distributionDEPENDS_ON →
Spectral-contrast computes peak/valley energy differences within frequency bands. It requires the per-bin energy values — spectral-distribution — to identify peaks and valleys within each band. Remove the per-bin vector and contrast cannot compute. Removal test passes.
Record EDGE gb9d736df75dd768edca21e4d · 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
- Aug 12, 2026, 12:01 PM UTC
- Content hash
- 6b3b239f05f548ee87473bb56af540a34ccd5f43619bd1a77c9731720a9aa4c6