Research Article

Music Emotion Recognition with Machine Learning Based on Audio Features

Volume: 6 Number: 3 December 1, 2021
EN TR

Music Emotion Recognition with Machine Learning Based on Audio Features

Abstract

Understanding the emotional impact of music on its audience is a common field of study in many disciplines such as science, psychology, musicology and art. In this study, a method based on acoustic features is proposed to predict the emotion of different samples from Turkish Music. The proposed method consists of 3 steps: preprocessing, feature extraction and classification on selected music pieces. As a first step, the noise in the signals is removed in the pre-process and all the signals in the data set are brought to the equal sampling frequency. In the second step, a 1x34 size feature vector is extracted from each signal, reflecting the emotional content of the music. The features are normalized before the classifiers are trained. In the last step, the data are classified using Support Vector Machines (SVM), K-Nearest Neighbor (K-NN) and Artificial Neural Network (ANN). Accuracy, precision, sensitivity and F-score are used as classification metrics. The model was tested on a new 4-class data set consisting of Turkish music data. 79.30% Accuracy, 78.77% sensitivity, 78.94% specificity and 79.03% F-score are obtained from the proposed model.

Keywords

References

  1. Chauhan, P. M., & Desai, N. (2014). "Mel Frequency Cepstral Coefficients (MFCC) based speaker identification in noisy environment using wiener filter. 2014 International Conference on Green Computing Communication and Electrical Engineering (ICGCCEE), (s. 1-5). Coimbatore.
  2. Chien, S., ASCE, M., Ding, Y., & Wei, C. (2002). Dynamic Bus Arrival Time Prediction with Artificial Neural Networks. Journal of Transportation Engineering, 128(5), 429-438.
  3. Cristianini, N., & Ricci, E. (1992). Support Vector Machines. Encyclopedia of Algorithms.
  4. Davies, M. E., & Plumbley , M. (2007). Context-Dependent Beat Tracking of Musical Audio. IEEE Transactions on Audio, Speech, and Language Processing, 15(3), 1009-1020.
  5. Delbouys, R., Hennequin, R., Piccoli, F., Royo-Letelier, J., & Moussallam, M. (2018). Music Mood Detection Based On Audio And Lyrics With Deep Neural Net. ISMIR 2018.
  6. Hevner, K. (1936). Experimental Studies of the Elements of Expression in Music. The American Journal of Psychology, 48(2), 246-268.
  7. Huq, A., Bello, J., & Rowe, R. (2010). Automated Music Emotion Recognition: A Systematic Evaluation. Journal of New Music Research, 39(3), 227-244.
  8. Jégou, H., Matthijs, D., & Schmid, C. (2010). Product Quantization for Nearest Neighbor Search. IEEE Transactions on Pattern Analysis and Machine Intelligence, 33(1), 117-1128.

Details

Primary Language

English

Subjects

Computer Software

Journal Section

Research Article

Publication Date

December 1, 2021

Submission Date

June 3, 2021

Acceptance Date

July 7, 2021

Published in Issue

Year 2021 Volume: 6 Number: 3

APA
Er, M. B., & Esin, E. M. (2021). Music Emotion Recognition with Machine Learning Based on Audio Features. Computer Science, 6(3), 133-144. https://doi.org/10.53070/bbd.945894
AMA
1.Er MB, Esin EM. Music Emotion Recognition with Machine Learning Based on Audio Features. JCS. 2021;6(3):133-144. doi:10.53070/bbd.945894
Chicago
Er, Mehmet Bilal, and Emin Murat Esin. 2021. “Music Emotion Recognition With Machine Learning Based on Audio Features”. Computer Science 6 (3): 133-44. https://doi.org/10.53070/bbd.945894.
EndNote
Er MB, Esin EM (December 1, 2021) Music Emotion Recognition with Machine Learning Based on Audio Features. Computer Science 6 3 133–144.
IEEE
[1]M. B. Er and E. M. Esin, “Music Emotion Recognition with Machine Learning Based on Audio Features”, JCS, vol. 6, no. 3, pp. 133–144, Dec. 2021, doi: 10.53070/bbd.945894.
ISNAD
Er, Mehmet Bilal - Esin, Emin Murat. “Music Emotion Recognition With Machine Learning Based on Audio Features”. Computer Science 6/3 (December 1, 2021): 133-144. https://doi.org/10.53070/bbd.945894.
JAMA
1.Er MB, Esin EM. Music Emotion Recognition with Machine Learning Based on Audio Features. JCS. 2021;6:133–144.
MLA
Er, Mehmet Bilal, and Emin Murat Esin. “Music Emotion Recognition With Machine Learning Based on Audio Features”. Computer Science, vol. 6, no. 3, Dec. 2021, pp. 133-44, doi:10.53070/bbd.945894.
Vancouver
1.Mehmet Bilal Er, Emin Murat Esin. Music Emotion Recognition with Machine Learning Based on Audio Features. JCS. 2021 Dec. 1;6(3):133-44. doi:10.53070/bbd.945894

Cited By

The Creative Commons Attribution 4.0 International License 88x31.png is applied to all research papers published by JCS and

A Digital Object Identifier (DOI) Logo_TM.png is assigned for each published paper