Classifying Classical Music Genres with Neural Networks

Current neural network models can process and interpret music for tasks such as melody completion and genre or style classification. However, previous classification tasks do not account specifically for distinct composition styles of different classical music periods, often focusing instead on modern genres. To bridge this gap, this project investigates the use of natural language processing techniques to classify musical excerpts from the Baroque, Classical, and Romantic periods. A curated dataset of samples representative of the three eras, converted to the OctupleMIDI format, was used to train a Sentence Transformers model to complete the classification task with maximum accuracy—62.5% when trained on all three categories and 90.5% when the Classical and Romantic labels were merged. These results indicate that the model was most effective at distinguishing Baroque music, suggesting clearer stylistic separation. These findings demonstrate the feasibility of using sentence-level embeddings for symbolic music classification, offering potential applications in musicological analysis, genre tagging for recommendation systems, and quantitative exploration of musical style beyond human perception.

Authors

Institutions

Publication Details

Journal
American journal of student research.
Published
2025-01-01
DOI
https://doi.org/10.70251/hyjr2348.335159
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classifying Classical Music Genres with Neural Networks

Maggie Liu
American journal of student research.
Music and Audio Processing
article

Classifying Classical Music Genres with Neural Networks

Maggie Liu
article en

Abstract

Current neural network models can process and interpret music for tasks such as melody completion and genre or style classification. However, previous classification tasks do not account specifically for distinct composition styles of different classical music periods, often focusing instead on modern genres. To bridge this gap, this project investigates the use of natural language processing techniques to classify musical excerpts from the Baroque, Classical, and Romantic periods. A curated dataset of samples representative of the three eras, converted to the OctupleMIDI format, was used to train a Sentence Transformers model to complete the classification task with maximum accuracy—62.5% when trained on all three categories and 90.5% when the Classical and Romantic labels were merged. These results indicate that the model was most effective at distinguishing Baroque music, suggesting clearer stylistic separation. These findings demonstrate the feasibility of using sentence-level embeddings for symbolic music classification, offering potential applications in musicological analysis, genre tagging for recommendation systems, and quantitative exploration of musical style beyond human perception.

American journal of student research.
Silicon Valley Independent Living Center (US), Silicon Valley University (US)
Openalex Percentile: Top 88%
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.