Generating Polyphonic Symbolic Emotional Music in the Style of Bach Using Convolutional Conditional Variational Autoencoder
Author:
Open Access
- 29 August 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 93019-93031
Abstract
In times of increasing human-machine interaction, the implementation of emotional intelligence in machines should not only recognize and track emotions during human interaction, but also respond with appropriate emotional content. Machines should be able to react and respond to human emotions. Music generation with a specific emotion is part of this task. This article presents the process of building a system generating polyphonic music content of a specified emotion using a conditional variational autoencoder and convolutional layers. The process of preparing a database of training examples with compositions by Johann Sebastian Bach, selecting and conducting transformations of musical examples was described. Annotation with emotion labels was done by music experts with a university music education. The four emotion labels - happy, angry, sad, relaxed - corresponding to the four quadrants of Russell’s model were used. The process of coding symbolic music examples into a time-pitch matrix representation, but also the structure of the built variational autoencoder, was described. Experiments on the implementation of different convolutional layers intended for visual analysis of the representation of music examples were presented. The generated emotional music files were evaluated using metrics and expert opinions.Keywords
Funding Information
- Politechnika Bialostocka (WZ/WI-IIT/3/2023)
- Ministry of Science and Higher Education of the Russian Federation
This publication has 24 references indexed in Scilit:
- From Content-based Music Emotion Recognition to Emotion Maps of Musical Pieces2018
- A Functional Taxonomy of Music Generation SystemsACM Computing Surveys, 2017
- Developing a benchmark for emotional analysis of musicPLOS ONE, 2017
- Labeling data and developing supervised framework for hindi music mood analysisJournal of Intelligent Information Systems, 2016
- Audio Features Dedicated to the Detection of Four Basic Emotions2015
- Investigating affect in algorithmic composition systemsPsychology of Music, 2014
- Machine Recognition of Music EmotionACM Transactions on Intelligent Systems and Technology, 2012
- Automatic mood detection and tracking of music audio signalsIEEE Transactions on Audio, Speech, and Language Processing, 2005
- Emotion perceived and emotion felt: Same or different?Musicae Scientiae, 2001
- A circumplex model of affect.Journal of Personality and Social Psychology, 1980