JOURNAL ARTICLE

Style-conditioned music generation with Transformer-GANs

W.X. WangJiahui LiYifan LiXiaofen Xing

Year: 2024 Journal:   Frontiers of Information Technology & Electronic Engineering Vol: 25 (1)Pages: 106-120   Publisher: Springer Science+Business Media

Abstract

Recently, various algorithms have been developed for generating appealing music. However, the style control in the generation process has been somewhat overlooked. Music style refers to the representative and unique appearance presented by a musical work, and it is one of the most salient qualities of music. In this paper, we propose an innovative music generation algorithm capable of creating a complete musical composition from scratch based on a specified target style. A style-conditioned linear Transformer and a style-conditioned patch discriminator are introduced in the model. The style-conditioned linear Transformer models musical instrument digital interface (MIDI) event sequences and emphasizes the role of style information. Simultaneously, the style-conditioned patch discriminator applies an adversarial learning mechanism with two innovative loss functions to enhance the modeling of music sequences. Moreover, we establish a discriminative metric for the first time, enabling the evaluation of the generated music's consistency concerning music styles. Both objective and subjective evaluations of our experimental results indicate that our method's performance with regard to music production is better than the performances encountered in the case of music production with the use of state-of-the-art methods in available public datasets.

Keywords:
Style (visual arts) Transformer Art Literature Electrical engineering Engineering

Metrics

10
Cited By
7.13
FWCI (Field Weighted Citation Impact)
48
Refs
0.95
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Music and Audio Processing
Physical Sciences →  Computer Science →  Signal Processing
Music Technology and Sound Studies
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Neuroscience and Music Perception
Life Sciences →  Neuroscience →  Cognitive Neuroscience
© 2026 ScienceGate Book Chapters — All rights reserved.