{"title":"Music genre classification using deep neural networks and data augmentation","authors":"Thanh Chu Ba , Thuy Dao Thi Le , Loan Trinh Van","doi":"10.1016/j.entcom.2025.100929","DOIUrl":null,"url":null,"abstract":"<div><div>Music is an indispensable part of spiritual life. Today, humanity’s musical treasure is truly huge and precious, and the number of musical works is constantly increasing. Computers, machine learning, and deep learning have greatly aided in the storing, organizing, searching, and enjoying of musical works in priceless treasures. Many music databases have been built for such music-data processing studies. One operation that needs to be handled automatically for musical works is musical genre classification (MGC). This paper presents new research results on MGC for GTZAN music data. Deep neural networks, such as convolutional neural networks (CNN), long short-term memory (LSTM), gated recurrent units (GRU), and capsule neural networks (CSN), have produced excellent results when combined with data augmentation methods such as splitting audio files, noise addition, and pitch shifting. A classification accuracy of 99.91% for the ten musical genres of GTZAN was achieved using the CSN model with the Mel spectrogram as input features and data enhanced by the aforementioned methods. This classification accuracy outperformed that of all previous GTZAN classification accuracy studies.</div></div>","PeriodicalId":55997,"journal":{"name":"Entertainment Computing","volume":"53 ","pages":"Article 100929"},"PeriodicalIF":2.8000,"publicationDate":"2025-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Entertainment Computing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1875952125000096","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, CYBERNETICS","Score":null,"Total":0}
引用次数: 0
Abstract
Music is an indispensable part of spiritual life. Today, humanity’s musical treasure is truly huge and precious, and the number of musical works is constantly increasing. Computers, machine learning, and deep learning have greatly aided in the storing, organizing, searching, and enjoying of musical works in priceless treasures. Many music databases have been built for such music-data processing studies. One operation that needs to be handled automatically for musical works is musical genre classification (MGC). This paper presents new research results on MGC for GTZAN music data. Deep neural networks, such as convolutional neural networks (CNN), long short-term memory (LSTM), gated recurrent units (GRU), and capsule neural networks (CSN), have produced excellent results when combined with data augmentation methods such as splitting audio files, noise addition, and pitch shifting. A classification accuracy of 99.91% for the ten musical genres of GTZAN was achieved using the CSN model with the Mel spectrogram as input features and data enhanced by the aforementioned methods. This classification accuracy outperformed that of all previous GTZAN classification accuracy studies.
期刊介绍:
Entertainment Computing publishes original, peer-reviewed research articles and serves as a forum for stimulating and disseminating innovative research ideas, emerging technologies, empirical investigations, state-of-the-art methods and tools in all aspects of digital entertainment, new media, entertainment computing, gaming, robotics, toys and applications among researchers, engineers, social scientists, artists and practitioners. Theoretical, technical, empirical, survey articles and case studies are all appropriate to the journal.