MUGEN – a music generator

Abstract. Music composition is a creative yet complex process that demands an understanding of musical theory, structure, and emotional dynamics. For many, the barriers to composing original melodies—such as lack of training or access to musical tools—limit creative expression. With the advancement of artificial intelligence and deep learning, especially in the field of sequence modeling, new opportunities have emerged for automated and accessible music generation. This study introduces MuGen, a real-time music generator that leverages a custom Transformer-based model trained on symbolic music data, including MIDI and Kern files. MuGen is designed to generate monophonic melodies with structural coherence and stylistic diversity. In this work, we detail the architecture of the model, including its encoder-decoder structure, self-attention mechanisms, and positional encoding, optimized for musical sequence prediction. The system also provides a web-based interface allowing users to input melody parameters, upload seed MIDI files, and download generated outputs in MIDI format. We evaluate MuGen’s performance using standard metrics such as BLEU score, perplexity, and diversity index, and compare its capabilities to other models like Music Transformer and MuseNet. Results demonstrate that MuGen delivers a balance of accuracy, speed, and user interactivity, making it a practical tool for musicians, students, and content creators. Future enhancements include polyphonic generation, genre conditioning, and emotion-aware composition for more personalized musical outputs. Keywords: Music generation, Transformer model, deep learning, symbolic music, melody generation, AI composition.

Authors

Publication Details

Journal
International Scientific Journal of Engineering and Management
Published
2025-05-09
DOI
https://doi.org/10.55041/isjem03262
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

MUGEN – a music generator

Ashmit Agarwal
International Scientific Journal of Engineering and Management
Music Technology and Sound Studies
article

MUGEN – a music generator

Ashmit Agarwal
article en

Abstract

Abstract. Music composition is a creative yet complex process that demands an understanding of musical theory, structure, and emotional dynamics. For many, the barriers to composing original melodies—such as lack of training or access to musical tools—limit creative expression. With the advancement of artificial intelligence and deep learning, especially in the field of sequence modeling, new opportunities have emerged for automated and accessible music generation. This study introduces MuGen, a real-time music generator that leverages a custom Transformer-based model trained on symbolic music data, including MIDI and Kern files. MuGen is designed to generate monophonic melodies with structural coherence and stylistic diversity. In this work, we detail the architecture of the model, including its encoder-decoder structure, self-attention mechanisms, and positional encoding, optimized for musical sequence prediction. The system also provides a web-based interface allowing users to input melody parameters, upload seed MIDI files, and download generated outputs in MIDI format. We evaluate MuGen’s performance using standard metrics such as BLEU score, perplexity, and diversity index, and compare its capabilities to other models like Music Transformer and MuseNet. Results demonstrate that MuGen delivers a balance of accuracy, speed, and user interactivity, making it a practical tool for musicians, students, and content creators. Future enhancements include polyphonic generation, genre conditioning, and emotion-aware composition for more personalized musical outputs. Keywords: Music generation, Transformer model, deep learning, symbolic music, melody generation, AI composition.

International Scientific Journal of Engineering and ManagementVol. 04(05)
Openalex Percentile: Top 92%
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.

MUGEN – a music generator — Ashmit Agarwal · International Scientific Journal of Engineering and Management (2025) | TGRS Research Map | TGRS