Article Menu
Browse this journal
Navigation
Journal Article
An open access journal
Journal Article
Application of Python-Based Music Spectrum Analysis and Machine Learning Regression Models in Music Classification
1
Shanghai Fu Dan High School
*
Author to whom correspondence should be addressed.
JEIT 2024 6(3):248; https://doi.org/10.69610/j.eit.20240810
Received: 14 June 2024 / Accepted: 31 July 2024 / Published Online: 10 August 2024
Abstract
This paper aims to investigate the analysis of audio waveforms, spectrograms, amplitude spectra after Fast Fourier Transform (FFT), and Mel spectrograms of different genres of music in the Python programming environment. By quantifying music, the paper seeks to achieve classification of various music genres. Regression models in machine learning are employed to analyze the amplitude spectra and classify different genres of music. The paper trains the model using several common music genres, validates its feasibility through testing, and concludes by applying the insights from the analysis to guide the composition of music and classify musical compositions.
Keywords:
Mel spectrogram;
Fourier Transform;
machine learning;
regression model;
music classification;
Copyright: © 2024 by Mo. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY) (Creative Commons Attribution 4.0 International License). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
Share and Cite
ACS Style
Mo, D. Application of Python-Based Music Spectrum Analysis and Machine Learning Regression Models in Music Classification. Journal of Engineering Innovations & Technology, 2024, 6, 248. doi:10.69610/j.eit.20240810
AMA Style
Mo D. Application of Python-Based Music Spectrum Analysis and Machine Learning Regression Models in Music Classification. Journal of Engineering Innovations & Technology; 2024, 6(3):248. doi:10.69610/j.eit.20240810
Chicago/Turabian Style
Mo, Dinghao 2024. "Application of Python-Based Music Spectrum Analysis and Machine Learning Regression Models in Music Classification" Journal of Engineering Innovations & Technology 6, no.3:248. doi:10.69610/j.eit.20240810
Article Metrics
Article Access Statistics
References
- Drugman T, Urbain J, Bauwens N, et al. Audio and contact microphones for cough detection[J]. arXiv preprint arXiv:2005.05313, 2020.
- Yang Y H, Lin Y C, Su Y F, et al. Music emotion classification: A regression approach[C]//2007 IEEE International Conference on Multimedia and Expo. IEEE, 2007: 208-211.
- Kumar D P, Sowmya B J, Srinivasa K G. A comparative study of classifiers for music genre classification based on feature extractors[C]//2016 IEEE Distributed Computing, VLSI, Electrical Circuits and Robotics (DISCOVER). IEEE, 2016: 190-194.
- Zhao Kaihua, Luo Weiyin. New Concept Physics Teaching, Mechanics [M]. Higher Education Press,1995. (in Chinese)
- Logistic Regression (Logistic Regression). [EB/OL]. https://blog.csdn.net/weixin_55073640/article/details/124683459, 2023-06-04. (in Chinese)
- Luyouqi11. Machine Learning (10) Logistic regression Multivariate classification (Multi - class classification). [EB/OL]. https://blog.csdn.net/luyouqi11/article/details/132080943, 2023-08-03. (in Chinese)