Abstract
Octave equivalence serves as domain-knowledge in MIR systems, including chromagram, spiral convolutional networks, and harmonic CQT. Prior work has applied the Isomap manifold learning algorithm to unlabeled audio data to embed frequency sub-bands in 3-D space where the Euclidean distances are inversely proportional to the strength of their Pearson correlations. However, discovering octave equivalence via Isomap requires visual inspection and is not scalable. To address this problem, we define "helicality" as the goodness of fit of the 3-D Isomap embedding to a Shepherd-Risset helix. Our method is unsupervised and uses a custom Frank-Wolfe algorithm to minimize a least-squares objective inside a convex hull. Numerical experiments indicate that isolated musical notes have a higher helicality than speech, followed by drum hits.
Introduction
In music theory and psychoacoustics, "octave equivalence" describes the phenomenon where two notes separated by a frequency ratio of 2:1 are perceived as belonging to the same pitch class. While this concept is foundational to Western music and many global traditions, automatically detecting it from raw, unlabeled audio data remains a significant challenge.
Previous research utilized Isomap, a manifold learning technique, to visualize these relationships by projecting high-dimensional frequency correlations into a 3D space. For harmonic music, these projections often manifest as a helix—a spiral where a single rotation corresponds to one octave. However, evaluating these structures previously relied on subjective visual inspection. This paper introduces "helicality," a rigorous, unsupervised mathematical metric to quantify how closely an audio source's frequency relationships align with a perfect helix.
Methodology
The proposed pipeline calculates helicality through a multi-step unsupervised process:
- Feature Extraction: Audio is represented using a Constant-Q Transform (CQT), which utilizes logarithmically spaced frequency bins to mirror human pitch perception.
- Correlation Mapping: The system calculates Pearson correlations between frequency sub-bands. High correlation indicates that two bands (e.g., 440Hz and 880Hz) frequently co-occur.
- Manifold Learning: These correlations are treated as distances. Isomap finds a 3D embedding where Euclidean distances approximate the geodesic distances on the data manifold.
- The Helix Fit: The 3D points are projected onto a 2D plane representing chroma (pitch class), while the third dimension represents pitch height. A circle is fitted to the 2D projection using a custom Frank-Wolfe optimization algorithm, and a line is fitted to the vertical dimension via linear regression.
- Helicality Score ($H$): The final score is the inverse of the mean squared error between the data points and the idealized Shepherd-Risset helix.
Experimental Results
The metric was evaluated across three distinct datasets: TinySOL (2,913 individual musical notes), ENST drums (107 isolated hits), and the North Texas Vowel Dataset (3,190 recordings of voiced vowels).
Comparative Performance
The results confirmed that helicality effectively distinguishes between audio types based on their underlying harmonic structure:
- Music (General): Achieved a mid-to-high score of 0.54.
- Speech: Scored significantly lower at 0.30. While speech contains pitch, it lacks the strict octave-based periodicity of musical scales.
- Drums: Scored the lowest at 0.28. Percussive, non-harmonic sounds lack the periodic correlation necessary to form a coherent helix.
Instrument-Specific Analysis
A key finding was the wide variance in helicality among musical instruments. The Horn produced the most "perfect" helix with a score of 0.94. Conversely, the Trumpet yielded a surprisingly low score of 0.34. This suggests that helicality is influenced not just by the presence of overtones, but by the specific spectral envelope and playing style of the instrument.
Discussion and Future Work
Helicality provides a powerful tool for unsupervised discovery, identifying the circularity of pitch classes without requiring pre-labeled data. It effectively transforms a psychological model—the Shepard Tone paradox—into a measurable physical property of audio signals.
However, limitations remain. It is currently unclear how closely high helicality scores correlate with subjective human perception of musicality. Furthermore, the current study focused on isolated notes; future research will explore how the metric behaves in complex, polyphonic mixtures. Investigating the "Trumpet Anomaly" may also yield deeper insights into audio synthesis and recognition models.
Summary updated