Skip to main content

Ensemble Model for Music Genre Classification

  • Conference paper
  • First Online:
Innovations in Data Analytics ( ICIDA 2022)

Abstract

Music Information Retrieval (MIR) has been a popular area of research since its inception. Music can be divided into some conventional categories, called music genres, based on a certain set of features such as orchestral instruments, rhythm, and tempo. The MIR community has made tremendous efforts to solve the problem of music genre classification. In this work, we have analysed how the number of genres affects the accuracy of various machine learning models. This paper also presents a novel approach towards the challenge of identifying the genre of a given audio clip using an ensemble model with an accuracy of 90.3%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. H. Raj, A. K. Dubey, V. Deep, Anuranjana, Music Genre Classification Using Machine Learning. Lecture Notes in Mechanical Engineering (2021), pp. 763–774. https://doi.org/10.1007/978-981-15-9956-9_74

  2. Y. Zhung, J. Zhou, A study on content-based music classification, in Proceedings of the 7th International Symposium on Signal Processing and Its Applications. ISSPA 2003, vol. 2 (2003), pp. 113–116. https://doi.org/10.1109/ISSPA.2003.1224828

  3. G. Tzanetakis, P. Cook, Musical genre classification of audio signals. IEEE Trans. Speech Audio Process. 10(5), 293–302 (2002). https://doi.org/10.1109/TSA.2002.800560

    Article  Google Scholar 

  4. T.G. Dietterich, Ensemble methods in machine learning. Mult. Classif. Syst. 1857, 1–15 (2000). https://doi.org/10.1007/3-540-45014-9

    Article  Google Scholar 

  5. D. Pye, Content-based methods for the management of digital music, in Proceedings of the International Conference on Acoustics, Speech, and Signal Processing (ICASSP), vol. 4 (2000), pp. 2437–2440. https://doi.org/10.1109/ICASSP.2000.859334

  6. M.F. Mckinney, Features for Audio and Music Classification (2013)

    Google Scholar 

  7. S. Zhang, Music Genre Classification: Near-Realtime Versus Sequential Approach (2019)

    Google Scholar 

  8. C. Science, et al., Music genre classification using deep learning, in ICCMC (2022), pp. 974–978

    Google Scholar 

  9. J.K. Bhatia, R.D. Singh, S. Kumar, Music genre classification, in 2021 5th International Conference on Information Systems and Computer Networks (ISCON) (2021), pp. 1–5. https://doi.org/10.1109/ISCON52037.2021.9702303

  10. A.B. Chan, A. Hon, W. Chun, T.L. Li, A.H. Chun, Automatic musical pattern feature extraction using convolutional neural network, in SmartPalette View Project FlexyFont View project Automatic Musical Pattern Feature Extraction Using Convolutional Neural Network, vol. I (2010), p. 2246, https://www.researchgate.net/publication/44260643

  11. “librosa - librosa 0.9.2 documentation”, https://librosa.org/doc/latest/index.html. Accessed 16 August 2022

  12. S. Sigurdsson, K.B. Petersen, T. Lehn-Schiøler, MEL frequency cepstral coefficients: an evaluation of robustness of MP3 encoded music, in ISMIR 2006–7th International Conference on Music Information Retrieval, vol. 5 (2006), pp. 286–289

    Google Scholar 

  13. M. Müller, S. Ewert, Chroma toolbox: Matlab implementations for extracting variants of chroma-based audio features, in 2011 Proceedings of the 12th International Society for Music Information Retrieval Conference (ISMIR) (2011), pp. 215–220

    Google Scholar 

  14. J. Shen, et al., Natural TTS synthesis by conditioning Wavenet on MEL spectrogram predictions, in Proceedings of the IEEE International Conference on Acoustics Speech Signal Processing (ICASSP), vol. 2018 (2018), pp. 4779–4783. https://doi.org/10.1109/ICASSP.2018.8461368

  15. D.N. Jiang, L. Lu, H.J. Zhang, J.H. Tao, L.H. Cai, Music type classification by spectral contrast feature, in Proceedings of the 2002 IEEE International Conference on Multimedia and Expo (ICME), vol. 1 (2002), pp. 113–116. https://doi.org/10.1109/ICME.2002.1035731

  16. D. Tymoczko, The generalized Tonnetz. J. Music Theory 56(1) (2012) https://doi.org/10.1215/00222909-1546958

  17. Precision vs Recall | Precision and Recall Machine Learning, https://www.analyticsvidhya.com/blog/2020/09/precision-recall-machine-learning/. Accessed 16 August 2022

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kriti Singhal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Singhal, K., Chawla, S., Agarwal, A., Goyal, P., Agarwal, A., Rana, P.S. (2023). Ensemble Model for Music Genre Classification. In: Bhattacharya, A., Dutta, S., Dutta, P., Piuri, V. (eds) Innovations in Data Analytics. ICIDA 2022. Advances in Intelligent Systems and Computing, vol 1442. Springer, Singapore. https://doi.org/10.1007/978-981-99-0550-8_32

Download citation

Publish with us

Policies and ethics