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

View article
PeerJ Computer Science
The excerpt is from the Agnus of missa De Beata Marie Virginis (II), which is Agnus_0.krn in the music21 corpus, and stems from Humdrum. See also footnote 3.
A dissonant chord is any chord for which music21’s Chord.isConsonant() returns false. That function checks for two pitches whether the interval is a major or minor third, sixth or perfect fifth, and for three pitches whether the chord is a major or minor triad that is not in second inversion.
Casimiri edition (Da Palestrina, 1939), encoded by John Miller and converted to Humdrum by Bret Aarden.
Unfortunately, we have no way to automatically estimate the quality of our dissonance detection. Nevertheless, the interested reader can confirm in music notation the quality of the dissonance detection by examining the results in the data for this paper (available under digital object identifier (DOI) 10.5281/zenodo.2653502) in the folder Preprocessing Results, which includes MusicXML files of all pieces we used, and where detected dissonances are marked by x-shaped note heads.
Interested readers can investigate the unlabelled dissonances in music notation. In the MusicXML files mentioned in the previous footnote, the result of the ‘chordification’ process is included as an additional stave and all dissonances are always labelled in that stave. If the staves of the actual voices do not contain any simultaneous note with x-shaped note head, then that dissonance is not labelled in the score.
As future work, it might be worth exploring whether the low-complexity weights that Sapp proposed for major and minor—basically assigning 0 to all non-scale degrees and 1 to all scale degrees, but 2 to the tonic and fifth—could be adapted for Renaissance modes by assigning 2 to their respective tonics (and the fifths as appropriate).
The clustering results, along with all algorithms created, can also be found in the Supplemental Data, DOI: 10.5281/zenodo.2653502.
A melodic interval is always computed as the interval between a given note and its predecessor and positive when the next note is higher.
The evolved rules from all runs, together with their qualitative evaluatiuon, can be found in the file ‘Resulting rules.pdf’ in the Supplemental Data, DOI: 10.5281/zenodo.2653502.
The variable names where introduced above when discussing terminal nodes in the subsection ‘Learning process’ and their possible values earlier in the subsection ‘Data given to machine learning’.

Main article text

 

Introduction

Background

Inductive logic programming

Genetic programming

Dissonances in Palestrina’s music

Methods

Annotation of dissonances

A custom algorithm for dissonance detection in Renaissance music

Evaluation of the dissonance detection algorithm

Data given to machine learning

Cluster analysis of dissonance categories

Analysis With DBSCAN algorithm

Clustering results and discussion

Learning of rules

Training set

Learning process

Results

Quantitative evaluation

Qualitative evaluation

Examples of learnt rules

Discussion

Conclusions

Additional Information and Declarations

Competing Interests

The authors declare that they have no competing interests.

Author Contributions

Torsten Anders conceived and designed the experiments, performed the experiments, analysed the data, prepared figures and/or tables, performed the computation work, authored or reviewed drafts of the paper, approved the final draft.

Benjamin Inden conceived and designed the experiments, performed the experiments, analysed the data, prepared figures and/or tables, performed the computation work, authored or reviewed drafts of the paper, approved the final draft.

Data Availability

The following information was supplied regarding data availability:

Torsten Anders, & Benjamin Inden. (2019, October 17). Supplemental files for article: Machine learning of symbolic compositional rules with genetic programming: Dissonance treatment in Palestrina. Zenodo. DOI 10.5281/zenodo.3538295.

Funding

The authors received no funding for this work.

1 Citation 1,378 Views 591 Downloads