journal article·2022-11-07Open access

A Comparison of the Music Key Detection Approaches Utilizing Key-Profiles with a New Method Based on the Signature of Fifths

Michalina Kania, Tomasz Łukaszewicz, Dariusz Kania, Katarzyna Mościńska, Józef Kulisz

Applied Sciences· Volume 12· Issue 21

Abstract

This paper compares approaches to music key detection based on popular key-profiles with a new key detection method that utilizes the concept of the signature of fifths. The signature of fifths is a geometrical music harmonic-content descriptor. Depending on the scenario, it may reflect either the multiplicities of occurrences or the aggregated durations of individual pitch-classes of the chromatic scale in a given fragment of music. In this study, we compare the efficacies of a few strictly correlational key recognition approaches based on music key-profiles (i.e., Krumhansl–Kessler, Temperley, and Albrecht–Shanahan) with a new method that implements the concept of the signature of fifths. All the experiments were performed in a collection of music pieces comprised of preludes by J. S. Bach (The Well-Tempered Clavier-Book I), preludes by F. Chopin (Op. 28), and songs by The Beatles (from the album A Hard Day’s Night). In the scenario implementing the aggregate durations of individual pitch-classes, based on the analysis of the shortest initial fragments of music for which the key was indicated in all the considered approaches, the key detection efficacy obtained with the method using the signature of fifths was greater than the efficacies obtained with the strictly correlational approaches utilizing key-profiles (on average by 9.27 pp). In the case of the analogous analysis carried out for the scenario implementing the multiplicities of occurrences of individual pitch-classes, on average, greater efficacy was observed for the strictly correlational approaches based on key-profiles (by 2.7 pp). The conducted experiments confirmed the new key-detecting method offers advantages in computational simplicity, stability of decision making, and the ability to successfully determine the key based on a very short fragment of music.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Music and Audio Processing · Neuroscience and Music Perception · Music Technology and Sound Studies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Electrical Engineering, Silesian University of Technology, 44-100 Gliwice, Poland

Faculty of Automatic Control, Electronics and Computer Science, Silesian University of Technology, 44-100 Gliwice, Poland

Funding

the Polish Ministry of Science and Higher Education

References (45)

Show source-provided references
1. Improving Music Genre Classification Using Automatically Induced Harmony Rules10.1080/09298215.2010.525654 ↗
2. Genre classification of music by tonal harmony10.3233/IDA-2010-0437 ↗
3. Dai, J. (2022, January 25–27). Intelligent Music Style Classification System Based on K-Nearest Neighbor Algorithm and Artificial Neural Network. Proceedings of the 2022 IEEE International Conference on Electrical Engineering, Big Data and Algorithms (EEBDA), Changchun, China.10.1109/EEBDA53927.2022.9744822 ↗
4. Chapin, H., Jantzen, K., Kelso, J.S., Steinberg, F., and Large, E. (2010). Dynamic Emotional and Neural Responses to Music Depend on Performance Expression and Listener Experience. PLoS ONE, 5.10.1371/journal.pone.0013812 ↗
5. Yang, S., Reed, C., Chew, E., and Barthet, M. (2021). Examining emotion perception agreement in live music performance. IEEE Trans. Affect. Comput.
6. Yanase, A., and Nakanishi, T. (2021, January 11–16). Musical impression extraction method by discovering relationships between acoustic features and impression terms. Proceedings of the 10th International Congress on Advanced Applied Informatics (IIAI-AAI), Niigata, Japan.10.1109/IIAI-AAI53430.2021.00142 ↗
7. Zhao, J., Ru, G., Yu, Y., Wu, Y., Li, D., and Li, W. (2022, January 18–22). Multimodal music emotion recognition with hierarchical cross-modal attention network. Proceedings of the 2022 IEEE International Conference on Multimedia and Expo (ICME), Taipei, Taiwan.10.1109/ICME52920.2022.9859812 ↗
8. Chacon, C.E.C., Lattner, M.S., and Grachten, M. (2014, January 27–31). Developing tonal perception through unsupervised learning. Proceedings of the 15th International Society for Music Information Retrieval Conference, Taipei, Taiwan.
9. Harmonic Visualizations of Tonal Music
10. The geometry of musical chords10.1126/science.1126287 ↗
11. Milošević, I., Bogavac, Ž.M., Regodić, D., and Milošević, B. (2022, January 16–18). Visualization of Music-MIDI Content. Proceedings of the 57th International Scientific Conference on Information, Communication and Energy Systems and Technologies (ICEST), Ohrid, North Macedonia.10.1109/ICEST55168.2022.9828738 ↗
12. Huang, C.Z.A., Duvenaud, D., and Gajos, K.Z. (2016, January 7–10). Chordripple: Recommending chords to help novice composers go beyond the ordinary. Proceedings of the 21st International Conference on Intelligent User Interfaces, Sonoma, CA, USA.10.1145/2856767.2856792 ↗
13. Sabathé, R., Coutinho, E., and Schuller, B. (2017, January 14–19). Deep recurrent music writer: Memory-enhanced variational autoencoder-based musical score composition and an objective measure. Proceedings of the 2017 International Joint Conference on Neural Networks, Anchorage, AK, USA.10.1109/IJCNN.2017.7966292 ↗
14. Tseng, B., Shen, Y., and Chi, T. (2021, January 6–11). Extending music based on emotion and tonality via generative adversarial network. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada.10.1109/ICASSP39728.2021.9413365 ↗
15. Weiẞ, C. (August, January 30). Global key extraction from classical music audio recording based on final chord. Proceedings of the 10th Sound and Music Computing Conference, Stockholm, Sweden.
16. Automatic melody composition based on a probabilistic model of music style and harmonic rules10.1016/j.knosys.2014.08.018 ↗
17. Deng, J., and Kwok, Y.-K. (2017). Large vocabulary automatic chord estimation using deep neural nets: Design framework, system variations and limitations. arXiv.
18. Dawson, M. (2018). Connectionist Representations of Tonal Music: Discovering Musical Patterns by Interpreting Artificial Neural Networks, AU Press, Athabasca University.10.15215/aupress/9781771992206.01 ↗
19. Korzeniowski, F., and Widmer, G. (2017–02, January 28). End-to-end musical key estimation using a convolutional neural network. Proceedings of the 25th European Signal Processing Conference (EUSIPCO), Kos, Greece.10.23919/EUSIPCO.2017.8081351 ↗
20. Masada, K., and Bunescu, R. (2017, January 23–27). Chord recognition in symbolic music using semi-markov conditional random fields. Proceedings of the 18th International Society for Music Information Retrieval Conference, Suzhou, China.
21. McFee, B., and Bello, J.P. (2017, January 23–27). Structured training for large-vocabulary chord recognition. Proceedings of the 18th International Conference on Music Information Retrieval (ISMIR), Suzhou, China.
22. Zhou, X., and Lerch, A. (2015, January 26–30). Chord Detection Using Deep Learning. Proceedings of the 16th ISMIR Conference, Malaga, Spain.
23. Geometrical approximations to the structure of musical pitch10.1037/0033-295X.89.4.305 ↗
24. Chew, E. (2000). Towards a Mathematical Model of Tonality. [Ph.D. Thesis, Massachusetts Institute of Technology].
25. Out of the Grid and Into the Spiral: Geometric Interpretations of and Comparisons with the Spiral-Array Model
26. Mauch, M., and Dixon, S. (2010, January 9–13). Approximate note transcription for the improved identification of difficult chords. Proceedings of the 11th International Society for Music Information Retrieval Conference, Utrecht, The Netherlands.
27. Osmalskyj, J., Embrechts, J., Piérard, S., and Van Droogenbroeck, M. (2012, January 9–11). Neural Networks for Musical Chords Recognition. Proceedings of the Actes des Journées d’Informatique Musicale (JIM 2012), Mons, Belgique.
28. Sigtia, S., Boulanger-Lewandowski, N., and Dixon, S. (2015, January 26–30). Audio chord recognition with a hybrid recurrent neural network. Proceedings of the 16th International Society for Music Information Retrieval Conference, Malaga, Spain.
29. Chuan, C.-H., and Chew, E. (2005, January 6). Polyphonic Audio Key Finding Using the Spiral Array CEG Algorithm. Proceedings of the 2005 IEEE International Conference on Multimedia and Expo, Amsterdam, The Netherlands.
30. Chuan, C.-H., and Chew, E. (2007). Audio Key Finding: Considerations in System Design and Case Studies on Chopin’s 24 Preludes. EURASIP J. Adv. Audio Signal Process., 1–15.10.1155/2007/56561 ↗
31. Letter to a musical friend
32. Second letter to a musical friend
33. The Use of Large Corpora to Train a New Type of Key-Finding Algorithm: An Improved Treatment of the Minor Mode10.1525/mp.2013.31.1.59 ↗
34. Gomez, E., and Herrera, P. (2004, January 10–14). Estimating the tonality of polyphonic audio files: Cognitive versus machine learning modeling strategies. Proceedings of the 5th International Conference on Music Information Retrieval, Barcelona, Spain.
35. A key-finding algorithm based on music signature
36. Tracing the dynamic changes in perceived tonal organization in a spatial representation of musical keys10.1037/0033-295X.89.4.334 ↗
37. Krumhansl, C.L. (1990). Cognitive Foundations of Musical Pitch, Oxford University Press.
38. Bayesian models of musical structure and cognition10.1177/102986490400800204 ↗
39. Pitch-Class Distribution and Key Identification10.1525/mp.2008.25.3.193 ↗
40. Aarden, B. (2003). Dynamic Melodic Expectancy. Unpublished. [Ph.D. Thesis, Ohio State University].
41. Bellman, H. (2005). About the determination of key of a musical excerpt. Proceedings of Computer Music Modeling and Retrieval, Springer.10.1007/11751069_7 ↗
42. The KUSC classical music dataset for audio key finding10.5121/ijma.2014.6401 ↗
43. Kania, P., Kania, D., and Łukaszewicz, T. (2021). A hardware-oriented algorithm for real-time music key signature recognition. Appl. Sci. Comput. Artif. Intell., 11.10.3390/app11188753 ↗
44. Trajectory of fifths in music data mining10.1109/ACCESS.2021.3049266 ↗
45. Sygnatura utworu w procesie reprezentacji i analizy treści utworu muzycznego