Introduction
Standard Music Information Retrieval (MIR) algorithms typically operate on raw PCM audio. However, most modern music is stored in compressed formats (MP3, AAC), requiring a computationally expensive decoding process before analysis can begin. This decoding bottleneck is particularly problematic for mobile devices or large-scale database processing. This paper proposes a method to perform MIR tasks—specifically beat tracking and chord recognition—directly within a sparse transform domain, bypassing the full synthesis stage.
Methodology
The core of the approach lies in using a specialized audio coder based on a union of eight Modified Discrete Cosine Transform (MDCT) bases with window sizes ranging from 128 to 16,384 samples. By employing Matching Pursuit (MP) for signal decomposition, the system represents audio as a collection of sparse "atoms."
The innovation is the extraction of mid-level representations by filtering these atoms based on their window size:
- Onset Detection: By selecting atoms from the smallest windows (128 and 256 samples), the system captures high-resolution temporal data necessary for identifying note attacks.
- Chromagram Generation: By selecting atoms from the largest windows (8192 and 16,384 samples), the system achieves the frequency resolution required for accurate pitch and chord recognition.
Results and Discussion
The proposed system was evaluated against the Hainsworth database for beat tracking and Beatles albums for chord recognition. Key findings include:
- Efficiency: The system achieves a 3x to 24x speedup compared to traditional PCM-based methods by skipping the Inverse MDCT and time-frequency synthesis steps.
- Accuracy: Performance remains competitive, with beat tracking within 5-12% and chord recognition within 5-7% of state-of-the-art reference systems at bitrates above 8 kbps.
- Robustness: The sparse representation remains effective for indexing down to very low bitrates, though performance degrades significantly below 8 kbps.
Conclusion
By leveraging the multi-scale nature of a sparse MDCT dictionary, MIR tasks can be performed efficiently in the transform domain. This approach significantly reduces computational overhead while maintaining acceptable accuracy, offering a viable path for low-power or high-throughput audio analysis. Future work may extend this technique to other features like MFCCs for broader classification tasks.
Summary updated