Classification of Music Genres based on Machine Learning SVM and CNN

This study aims to compare the performance of two classification methods—Support Vector Machine (SVM) and Convolutional Neural Network (CNN)—in identifying music genres based on audio data from the GTZAN dataset. Data in a 30-second audio file is converted into a numerical and visual representation (Mel Spectrogram) for each model. The evaluation used precision, recall, and f1-score metrics and was supported by a confusion matrix. Results showed that SVM had higher accuracy (75%) than CNN (71.5%), with more stable performance in most genres. CNN showed superiority in certain genres, such as classical and hip-hop, but experienced a decline in accuracy in genres such as disco and rock. This analysis confirms that the selection of classification models should consider the characteristics of data and genres and open up opportunities for hybrid approaches or the use of more complex architectures in music classification.

Authors

Institutions

Publication Details

Published
2025-05-14
DOI
https://doi.org/10.1109/icpcsn65854.2025.11035544
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classification of Music Genres based on Machine Learning SVM and CNN

Andri Pranolo, Sularso Sularso, Aji Prasetya Wibawa, Agung Bella Putra Utama et al.
Music and Audio Processing
article

Classification of Music Genres based on Machine Learning SVM and CNN

Andri Pranolo, Sularso Sularso, Aji Prasetya Wibawa, Agung Bella Putra Utama, Nuril Anwar, Rafi Aulia Rachman
article en

Abstract

This study aims to compare the performance of two classification methods—Support Vector Machine (SVM) and Convolutional Neural Network (CNN)—in identifying music genres based on audio data from the GTZAN dataset. Data in a 30-second audio file is converted into a numerical and visual representation (Mel Spectrogram) for each model. The evaluation used precision, recall, and f1-score metrics and was supported by a confusion matrix. Results showed that SVM had higher accuracy (75%) than CNN (71.5%), with more stable performance in most genres. CNN showed superiority in certain genres, such as classical and hip-hop, but experienced a decline in accuracy in genres such as disco and rock. This analysis confirms that the selection of classification models should consider the characteristics of data and genres and open up opportunities for hybrid approaches or the use of more complex architectures in music classification.

State University of Malang (ID), Universitas Ahmad Dahlan (ID)
Universitas Ahmad Dahlan
Openalex Percentile: Top 84%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.