Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina
We describe a method for automatically extracting symbolic compositional rules from music corpora. Resulting rules are expressed by a combination of logic and numeric relations, and they can therefore be studied by humans. These rules can also be used for algorithmic composition, where they can be c...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
PeerJ Inc.
2019-12-01
|
Series: | PeerJ Computer Science |
Subjects: | |
Online Access: | https://peerj.com/articles/cs-244.pdf |
id |
doaj-8035beba32c54731a016a1ce5ad62668 |
---|---|
record_format |
Article |
spelling |
doaj-8035beba32c54731a016a1ce5ad626682020-11-25T02:26:57ZengPeerJ Inc.PeerJ Computer Science2376-59922019-12-015e24410.7717/peerj-cs.244Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in PalestrinaTorsten Anders0Benjamin Inden1School of Media Arts and Performance, University of Bedfordshire, Luton, Bedfordshire, UKDepartment of Computer Science and Technology, Nottingham Trent University, Nottingham, UKWe describe a method for automatically extracting symbolic compositional rules from music corpora. Resulting rules are expressed by a combination of logic and numeric relations, and they can therefore be studied by humans. These rules can also be used for algorithmic composition, where they can be combined with each other and with manually programmed rules. We chose genetic programming (GP) as our machine learning technique, because it is capable of learning formulas consisting of both logic and numeric relations. GP was never used for this purpose to our knowledge. We therefore investigate a well understood case in this study: dissonance treatment in Palestrina’s music. We label dissonances with a custom algorithm, automatically cluster melodic fragments with labelled dissonances into different dissonance categories (passing tone, suspension etc.) with the DBSCAN algorithm, and then learn rules describing the dissonance treatment of each category with GP. Learning is based on the requirement that rules must be broad enough to cover positive examples, but narrow enough to exclude negative examples. Dissonances from a given category are used as positive examples, while dissonances from other categories, melodic fragments without dissonances, purely random melodic fragments, and slight random transformations of positive examples, are used as negative examples.https://peerj.com/articles/cs-244.pdfCounterpointRule learningPalestrinaGenetic programmingClusteringAlgorithmic composition |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Torsten Anders Benjamin Inden |
spellingShingle |
Torsten Anders Benjamin Inden Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina PeerJ Computer Science Counterpoint Rule learning Palestrina Genetic programming Clustering Algorithmic composition |
author_facet |
Torsten Anders Benjamin Inden |
author_sort |
Torsten Anders |
title |
Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina |
title_short |
Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina |
title_full |
Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina |
title_fullStr |
Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina |
title_full_unstemmed |
Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina |
title_sort |
machine learning of symbolic compositional rules with genetic programming: dissonance treatment in palestrina |
publisher |
PeerJ Inc. |
series |
PeerJ Computer Science |
issn |
2376-5992 |
publishDate |
2019-12-01 |
description |
We describe a method for automatically extracting symbolic compositional rules from music corpora. Resulting rules are expressed by a combination of logic and numeric relations, and they can therefore be studied by humans. These rules can also be used for algorithmic composition, where they can be combined with each other and with manually programmed rules. We chose genetic programming (GP) as our machine learning technique, because it is capable of learning formulas consisting of both logic and numeric relations. GP was never used for this purpose to our knowledge. We therefore investigate a well understood case in this study: dissonance treatment in Palestrina’s music. We label dissonances with a custom algorithm, automatically cluster melodic fragments with labelled dissonances into different dissonance categories (passing tone, suspension etc.) with the DBSCAN algorithm, and then learn rules describing the dissonance treatment of each category with GP. Learning is based on the requirement that rules must be broad enough to cover positive examples, but narrow enough to exclude negative examples. Dissonances from a given category are used as positive examples, while dissonances from other categories, melodic fragments without dissonances, purely random melodic fragments, and slight random transformations of positive examples, are used as negative examples. |
topic |
Counterpoint Rule learning Palestrina Genetic programming Clustering Algorithmic composition |
url |
https://peerj.com/articles/cs-244.pdf |
work_keys_str_mv |
AT torstenanders machinelearningofsymboliccompositionalruleswithgeneticprogrammingdissonancetreatmentinpalestrina AT benjamininden machinelearningofsymboliccompositionalruleswithgeneticprogrammingdissonancetreatmentinpalestrina |
_version_ |
1724845040890544128 |