Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer

This paper presents a procedure which composes music pieces through handling four layers in music, namely pitches, rhythms, dynamics, and timber. As an innovative feature, the procedure uses the combination of a genetic algorithm with a synergetic variable neighbourhood search. Uniform and one-point...

Full description

Bibliographic Details
Main Author: Reza Zamani
Format: Article
Language:English
Published: Taylor & Francis Group 2019-07-01
Series:Connection Science
Subjects:
Online Access:http://dx.doi.org/10.1080/09540091.2019.1603200
_version_ 1797684080409575424
author Reza Zamani
author_facet Reza Zamani
author_sort Reza Zamani
collection DOAJ
description This paper presents a procedure which composes music pieces through handling four layers in music, namely pitches, rhythms, dynamics, and timber. As an innovative feature, the procedure uses the combination of a genetic algorithm with a synergetic variable neighbourhood search. Uniform and one-point crossover operators as well as two mutation operators conduct the search in the employed genetic algorithm. The key point with these four operators is that the uniform crossover operator and the first mutation operator are indiscriminate, in the sense of using no knowledge of music theory, whereas the employed one-point crossover operator and the second mutation operator are musically informed. Music theory is used for finding the suitability of its generated pieces. The method starts with generating an initial sequence of pitches with a musically informed module and then calculates the suitability of the pitch sequence through the embedded rules. The employed genetic algorithm applies the variable neighbourhood search method to its generated offspring genomes for increasing their quality. Pieces can be composed in major, minor, and harmonic minor scales based on the user’s request. As well as composing the main notes, the procedure generates up to three chord notes associated with each main note and plays the result in a novel multithreading environment through running four threads concurrently.
first_indexed 2024-03-12T00:24:24Z
format Article
id doaj.art-8d09e7825def4969afd6aedef1c9d9b7
institution Directory Open Access Journal
issn 0954-0091
1360-0494
language English
last_indexed 2024-03-12T00:24:24Z
publishDate 2019-07-01
publisher Taylor & Francis Group
record_format Article
series Connection Science
spelling doaj.art-8d09e7825def4969afd6aedef1c9d9b72023-09-15T10:47:58ZengTaylor & Francis GroupConnection Science0954-00911360-04942019-07-0131326729310.1080/09540091.2019.16032001603200Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composerReza Zamani0University of WollongongThis paper presents a procedure which composes music pieces through handling four layers in music, namely pitches, rhythms, dynamics, and timber. As an innovative feature, the procedure uses the combination of a genetic algorithm with a synergetic variable neighbourhood search. Uniform and one-point crossover operators as well as two mutation operators conduct the search in the employed genetic algorithm. The key point with these four operators is that the uniform crossover operator and the first mutation operator are indiscriminate, in the sense of using no knowledge of music theory, whereas the employed one-point crossover operator and the second mutation operator are musically informed. Music theory is used for finding the suitability of its generated pieces. The method starts with generating an initial sequence of pitches with a musically informed module and then calculates the suitability of the pitch sequence through the embedded rules. The employed genetic algorithm applies the variable neighbourhood search method to its generated offspring genomes for increasing their quality. Pieces can be composed in major, minor, and harmonic minor scales based on the user’s request. As well as composing the main notes, the procedure generates up to three chord notes associated with each main note and plays the result in a novel multithreading environment through running four threads concurrently.http://dx.doi.org/10.1080/09540091.2019.1603200genetic algorithmsmultithreadingartificial intelligencemusic theoryevolutionary computationartificial music compositionlocal searchvariable neighbourhood searchlocal optimality
spellingShingle Reza Zamani
Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
Connection Science
genetic algorithms
multithreading
artificial intelligence
music theory
evolutionary computation
artificial music composition
local search
variable neighbourhood search
local optimality
title Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
title_full Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
title_fullStr Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
title_full_unstemmed Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
title_short Combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
title_sort combining evolutionary computation with the variable neighbourhood search in creating an artificial music composer
topic genetic algorithms
multithreading
artificial intelligence
music theory
evolutionary computation
artificial music composition
local search
variable neighbourhood search
local optimality
url http://dx.doi.org/10.1080/09540091.2019.1603200
work_keys_str_mv AT rezazamani combiningevolutionarycomputationwiththevariableneighbourhoodsearchincreatinganartificialmusiccomposer