Generating music with sentiment using Transformer-GANs

Pedro Neves, Jose Fornari, João Florindo
12/21/2022
cs.SDcs.LGeess.AS
transformer-attention

Official code: pneves1051/Transformers_sentiment (12 stars, Python, last commit 2022-12-22).

Abstract

The field of Automatic Music Generation has seen significant progress thanks to the advent of Deep Learning. However, most of these results have been produced by unconditional models, which lack the ability to interact with their users, not allowing them to guide the generative process in meaningful and practical ways.

Show full abstract

Moreover, synthesizing music that remains coherent across longer timescales while still capturing the local aspects that make it sound ``realistic'' or ``human-like'' is still challenging. This is due to the large computational requirements needed to work with long sequences of data, and also to limitations imposed by the training schemes that are often employed. In this paper, we propose a generative model of symbolic music conditioned by data retrieved from human sentiment. The model is a Transformer-GAN trained with labels that correspond to different configurations of the valence and arousal dimensions that quantitatively represent human affective states. We try to tackle both of the problems above by employing an efficient linear version of Attention and using a Discriminator both as a tool to improve the overall quality of the generated music and its ability to follow the conditioning signals.

View on arXivView PDF

Code Implementations(1)

122PythonAug 13, 20213 years ago

Similar Papers

Cite this paper

@article{neves2022generating,
  title  = {Generating music with sentiment using Transformer-GANs},
  author = {Pedro Neves and Jose Fornari and João Florindo},
  year   = {2022},
  eprint = {2212.11134},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.11134}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.11134.svg)](https://codeofpaper.com/paper/2212.11134)

Discussion