Posts Tagged

Matlab

A. I. and musical composition in Matlab

This project presents a pipeline for the musical composition based on an algorithm implemented in MATLAB combining genetic programming and musical theory.

The first step is generating a population having as individuals small musical compositions created following harmonic rules.

Then the population passes through the evolutionary process until the final composition.

Given the lack of a computational method to measure the pleasantness of an instrumental piece the fitness function that decides if an individual survives or dies was refined by a listening test.

There’s room to improvement adding more complexity to the individuals generation/elimination conditions. Another improvement could be generating a polyphonic composition instead of a monophonic one.

Listening survey

Here’s the chosen composition: