Skip to search boxSkip to navigationSkip to main content

Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina

  • Torsten Anders
    ,
  • Benjamin Inden
Research Output: Contribution to journal Article Peer-review

Open access

Abstract

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.

Publication Information

Output type

Research Output: Contribution to journal Article Peer-review

Original language

English

Journal (Volume, Issue Number)

PeerJ Computer Science (Volume 5, Issue e244)

Publication milestones

  • Accepted/In press - 08/11/2019
  • Published - 16/12/2019

Publication status

Published - 16/12/2019

External Publication IDs

  • handle.net: 10547/624093
  • Scopus: 85086513510

Publication metrics

Metrics

Download statistics
Download count
3