Pitch Estimation With Mean Averaging Smoothed Product Spectrum And Musical Consonance Evaluation Using MASP
Murat Yasar Baskin
TL;DR
The paper proposes MASP, a Mean Averaging Smoothed Product Spectrum, to robustly estimate pitch even when spectra are deceptive or inharmonic, by smoothing each subharmonic component before forming a multiplicative product. It also extends MASP to musical consonance evaluation through a harmonicity measure H, linking periodicity in the MASP spectrum to perceived consonance and showing consistency with traditional theories. MASP includes normalization and a logarithmic reformulation to align with perceptual scales and uses a Constant-Q/Mel-like representation to capture frequency uncertainty across the spectrum. Demonstrations on artificially generated tones and real instruments show improved pitch detection, while MASP-based consonance analysis yields interpretable peaks at common intervals, suggesting a shared spectral basis for pitch and consonance with potential for robust audio analysis and music-theory applications.
Abstract
This study introduces Mean Averaging Smoothed Product (MASP) Spectrum, which is a modified version of the Harmonic Product Spectrum, designed to enhance pitch estimation for many algorithm-wise deceptive frequency spectra that still lead clear pitches, for both harmonic and inharmonic cases. By introducing a global mean based smoothing for spectrum, the MASP algorithm diminishes the unwanted sensitivity of HPS for spectra with missing partials. The method exhibited robust pitch estimations consistent with perceptual expectations. Motivated upon the strong correlation between consonance and periodicity, the same algorithm is extended and, with the proposition of a harmonicity measure (H), used to evaluate musical consonance for two and three tones; yielding consonance hierarchies that align with perception and practice of music theory. These findings suggest that perception of pitch and consonance may share a similar underlying mechanism that depend on spectrum.
