Music Genre Classification Based on Machine Learning Methods

Authors

  • Xundong Ma

DOI:

https://doi.org/10.54097/hset.v34i.5443

Keywords:

Machine learning, Deep learning, KNN, RFC, ANN, CNN, Music genre classification.

Abstract

A large portion of the population globally are actively downloading and streaming music from online platforms in recent years. In many parts of the world, music has become a lifestyle instead of a luxury. As a result of music’s growing popularity, the number of sounds and music released each day and also increased tremendously as the demand growth of music. Music genre is defined as a label that is descriptive of the music category which is used to categorize music based on several characteristics including: harmonic contents, pitch, instrumentation, and rhythmic structure. A classification model used to complete this task of classifying music genres is a machine learning system designed to classify using audio signals from song tracks into different musical genres. This paper aims to investigate the different approaches, including k-nearest neighbours algorithm, random forest, artificial neural network, and convolutional neural network, to classify music genres. Model performance analysis and confusion matrix analysis are applied to compare the advantages of the different algorithms applied on music genre classification problem.

Downloads

Download data is not yet available.

References

Brownlee, J. 2020. 4 Types of Classification Tasks in Machine Learning. https://machinelearningmastery.com/types-of-classification-in-machine-learning/#:~:text=In%20machine%20learning%2C%20classification%20refers,one%20of%20the%20known%20characters.

A NEW APPROACH FOR CLASSIFICATION OF GENERIC AUDIO DATA | International Journal of Pattern Recognition and Artificial Intelligence. 2021. https://www.worldscientific.com/doi/10.1142/S0218001405003958

Peeters, G., Cornu, F., Doukhan, D., & Regnier, L. 2015. When audio features reach machine learning. https://www.researchgate.net/publication/329878354_When_audio_features_reach_machine_learning

Scaringella, Nicolas & Zoia, Giorgio & Mlynek, Daniel. (2006). Automatic genre classification of music content: a survey. Signal Processing Magazine, IEEE. 23. 133 - 141. 10.1109/MSP.2006.1598089.

Tzanetakis, G., & Cook, P. 2002. Musical genre classification of audio signals. IEEE Transactions on Speech and Audio Processing. https://doi.org/10.1109/tsa.2002.800560

Verma, S. 2019, August 31. Understanding Input Output shapes in Convolution Neural Network | Keras. https://towardsdatascience.com/understanding-input-and-output-shapes-in-convolution-network-keras-f143923d56ca

Ram, S. 2020. Mastering Random Forests: A comprehensive guide - Towards Data Science. https://towardsdatascience.com/mastering-random-forests-a-comprehensive-guide-51307c129cb1

Rajan, S. 2020. An Introduction to Artificial Neural Networks - Towards Data Science. https://towardsdatascience.com/an-introduction-to-artificial-neural-networks-5d2e108ff2c3

Mishra, M. 2020. Convolutional Neural Networks, Explained - Towards Data Science. https://towardsdatascience.com/convolutional-neural-networks-explained-9cc5188c4939

Dwivedi, P. 2018. Using CNNs and RNNs for Music Genre Recognition - Towards Data Science. https://towardsdatascience.com/using-cnns-and-rnns-for-music-genre-recognition-2435fb2ed6af

Downloads

Published

28-02-2023

How to Cite

Ma, X. (2023). Music Genre Classification Based on Machine Learning Methods. Highlights in Science, Engineering and Technology, 34, 168-175. https://doi.org/10.54097/hset.v34i.5443