Style-conditioned music generation with Transformer-GANs

Weining WANG, Jiahui LI, Yifan LI, Xiaofen XING

PDF(4887 KB)
PDF(4887 KB)
Front. Inform. Technol. Electron. Eng ›› 2024, Vol. 25 ›› Issue (1) : 106-120. DOI: 10.1631/FITEE.2300359

Style-conditioned music generation with Transformer-GANs

Author information +
History +

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

Music generation / Style-conditioned / Transformer / Music emotion

Cite this article

Download citation ▾
Weining WANG, Jiahui LI, Yifan LI, Xiaofen XING. Style-conditioned music generation with Transformer-GANs. Front. Inform. Technol. Electron. Eng, 2024, 25(1): 106‒120 https://doi.org/10.1631/FITEE.2300359

RIGHTS & PERMISSIONS

2024 Zhejiang University Press
PDF(4887 KB)

Accesses

Citations

Detail

Sections
Recommended

/