Construction of an Automatic Music Content Generation Model Based on Long Short-Term Memory Network

Automatic music generation (MG) is essential for video games, films, and other interactive media, especially when continuous soundtracks are needed to captivate audiences. However, developing music that is realistic, expressive, and stably stylistic is still challenging. Traditional rule-based or statistical methodologies often produce repetitive or mechanical music characterized by none of human feelings found in musical compositions. To design and develop an automatic MG model to learn musical patterns and produce music of high quality. This paper proposes an automatic MG based on Long Short-Term Memory (LSTM) networks, called MGLSTM. The model implements a distinct set of Musical Instrument Digital Interface (MIDI) files in classical, pop, and jazz genres. The music21 library processes the MIDI files to extract the subsequent chain of the notes and chords. Each musical entity, note, and chord, is converted into a numerical form appropriate for deep learning. The MGLSTM implements a sequence-to-sequence approach to train the model to learn relationships and patterns in the musical data. The MGLSTM also optimizes the Adam model for training to increase convergence speed and model performance. Once trained, the model is capable of the automatic generation of new musical compositions that define the style of the training dataset. Experimentally the MGLSTM produced a note prediction accuracy of 85%. In listening tests, the majority of participants all attributed the generated music as natural and musically pleasing. These findings underscore the efficacy of the LSTM models in generating high-quality music that adheres to styles and genres. The method proposed in this work provides a robust automatic music content generation approach with a higher structural cohesion and enjoyment value than traditional methods.

Authors

Institutions

Publication Details

Journal
International Journal of Computational Intelligence Systems
Published
2025-12-09
DOI
https://doi.org/10.1007/s44196-025-01077-y
Primary Topic
Music Technology and Sound Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Construction of an Automatic Music Content Generation Model Based on Long Short-Term Memory Network

Xianghui Chen
International Journal of Computational Intelligence Systems
Music Technology and Sound Studies
article

Construction of an Automatic Music Content Generation Model Based on Long Short-Term Memory Network

Xianghui Chen
article en

Abstract

Automatic music generation (MG) is essential for video games, films, and other interactive media, especially when continuous soundtracks are needed to captivate audiences. However, developing music that is realistic, expressive, and stably stylistic is still challenging. Traditional rule-based or statistical methodologies often produce repetitive or mechanical music characterized by none of human feelings found in musical compositions. To design and develop an automatic MG model to learn musical patterns and produce music of high quality. This paper proposes an automatic MG based on Long Short-Term Memory (LSTM) networks, called MGLSTM. The model implements a distinct set of Musical Instrument Digital Interface (MIDI) files in classical, pop, and jazz genres. The music21 library processes the MIDI files to extract the subsequent chain of the notes and chords. Each musical entity, note, and chord, is converted into a numerical form appropriate for deep learning. The MGLSTM implements a sequence-to-sequence approach to train the model to learn relationships and patterns in the musical data. The MGLSTM also optimizes the Adam model for training to increase convergence speed and model performance. Once trained, the model is capable of the automatic generation of new musical compositions that define the style of the training dataset. Experimentally the MGLSTM produced a note prediction accuracy of 85%. In listening tests, the majority of participants all attributed the generated music as natural and musically pleasing. These findings underscore the efficacy of the LSTM models in generating high-quality music that adheres to styles and genres. The method proposed in this work provides a robust automatic music content generation approach with a higher structural cohesion and enjoyment value than traditional methods.

International Journal of Computational Intelligence SystemsVol. 19(1)
Henan Institute of Education (CN)
Openalex Percentile: Top 59%
Music Technology and Sound Studies
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.