Browse > Article
http://dx.doi.org/10.9717/kmms.2017.20.9.1502

Music Key Identification using Chroma Features and Hidden Markov Models  

Kanyange, Pamela (Department of IT Convergence and Applications Engineering, Pukyong National University)
Sin, Bong-Kee (Department of IT Convergence and Applications Engineering, Pukyong National University)
Publication Information
Abstract
A musical key is a fundamental concept in Western music theory. It is a collective characterization of pitches and chords that together create a musical perception of the entire piece. It is based on a group of pitches in a scale with which a music is constructed. Each key specifies the set of seven primary chromatic notes that are used out of the twelve possible notes. This paper presents a method that identifies the key of a song using Hidden Markov Models given a sequence of chroma features. Given an input song, a sequence of chroma features are computed. It is then classified into one of the 24 keys using a discrete Hidden Markov Models. The proposed method can help musicians and disc-jockeys in mixing a segment of tracks to create a medley. When tested on 120 songs, the success rate of the music key identification reached around 87.5%.
Keywords
Music Key; Hidden Markov Model; Chroma Features; Machine Learning;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 J.D. White, The Analysis of Music, Prentice-Hall, Englewood Cliffs, N.J., 1976.
2 A.M. Wisnu, M. Carmadi, S.P. Ary, and B.K. Sin, "Design of Music Learning Assistant Based On Audio Music and Music Score Recognition," Journal of Korea Multimedia Society, Vol. 19, No. 5, pp. 826-836, 2016.   DOI
3 C.M. Grinstead and J.L. Snell, Introduction to Probability, American Mathematical Society, 2003.
4 Circle of Fifths, Wikipedia, https://en.wikipedia.org/wiki/Circle_of_fifths, (accessed May, 01, 2017).
5 Y. Zhu and M.S. Kankanhalli, “Precise Pitch Profile Feature Extraction from Musical Audio for Key Detection,” IEEE Transactions on Multimedia, Vol. 8, No. 3, pp. 575-584, 2006.   DOI
6 S. Pauws, "Musical Key Extraction from Audio," Proceeding of the Fifth International Conference on Music Informational Retrieval, vol.4, pp.66-69, 2004.
7 C.L. Krumhansl, Cognitive Foundations of Musical Pitch, Oxford University Press, New York, 1990.
8 A. Shenoy, "Key Determination of Acoustic Musical Signals," Proceeding of IEEE International Conference on Multimedia and Expo, pp.1771-1744, 2004.
9 E. Chew, "The Spiral Array: An Algorithm for Determining Key Boundaries," Proceedings of the 2nd International Conference on Music and Artificial Intelligence, pp.18-31, 2002.
10 Y. Zhu, M.S. Kankanhalli, and S. Gao, "Music Key Detection for Musical Audio," Proceeding of 11th International Mathematical Modeling Challenge, pp. 30-37, 2005.
11 Z. Xinquan and L. Alexander, "Chord Detection Using Deep Learning," Proceedings of the 16th International Society for Music Information Retrieval Conference, pp. 26-30, 2015.
12 R.N. Shepard, "Circularity in Judgments of Relative Pitch," The Journal of the Acoustical Society of America, Vol. 36, pp. 2346, 1964.   DOI
13 L.R. Rabiner, “Hidden Markov Models for Speech Recognition,” Technometrics: American Statistical Association, Vol. 33, No. 3, pp. 251-272, 1991.   DOI
14 K. Murphy, Hidden Markov Model (HMM) Toolbox for Matlab, https://www.cs.ubc.-ca/-murphyk/Software/HMM/hmm.html (accessed May, 01, 2017).