Automatically Composing Music by a Genetic Algorithm, Emotional Musical Theory, and Machine Learning

Autores/as

  • Adriana Lara Instituto Politécnico Nacional
  • Giovanni Guzmán Instituto Politécnico Nacional
  • Natan Vilchis Instituto Politécnico Nacional

DOI:

https://doi.org/10.13053/cys-27-2-4646

Palabras clave:

Music composition, multiobjective optimization, evolutionary music

Resumen

This work proposes a mathematical model for computer-aided music composition as a multi-objective optimization problem. This work aims to create a framework to automatically generate a set of songs with two melodies by combining a genetic algorithm with machine learning. Musical patterns were studied [16, 6, 18, 2] to simplify them and apply them for the construction of the optimization model. This work uses recent emotional music theory to construct the optimization problem [11]. Three conflicting objective functions represent the desired characteristics of the melody to be created: (1) song happiness, (2) song minimalism, and (3) song genre. Two of these objectives are analytically designed, fulfilling well-studied features like those in [14, 25, 11]. The third objective function was developed using a machine learning model like in [5, 8, 27]. The software JSymbolic is used [15] for extracting features in real-time and getting the score with the machine learning model trainer in the present work. The results obtained by this work can be listened to by test examples presented in a video format.

Biografía del autor/a

Adriana Lara, Instituto Politécnico Nacional

Escuela Superior de Física y Matematicas

Giovanni Guzmán, Instituto Politécnico Nacional

Centro de Investigación en Computación

Natan Vilchis, Instituto Politécnico Nacional

Escuela Superior de Física y Matematicas

Descargas

Publicado

2023-06-15

Número

Sección

Artículos