English

Modeling Baroque Two-Part Counterpoint with Neural Machine Translation

Sound 2022-01-21 v4 Machine Learning Audio and Speech Processing

Abstract

We propose a system for contrapuntal music generation based on a Neural Machine Translation (NMT) paradigm. We consider Baroque counterpoint and are interested in modeling the interaction between any two given parts as a mapping between a given source material and an appropriate target material. Like in translation, the former imposes some constraints on the latter, but doesn't define it completely. We collate and edit a bespoke dataset of Baroque pieces, use it to train an attention-based neural network model, and evaluate the generated output via BLEU score and musicological analysis. We show that our model is able to respond with some idiomatic trademarks, such as imitation and appropriate rhythmic offset, although it falls short of having learned stylistically correct contrapuntal motion (e.g., avoidance of parallel fifths) or stricter imitative rules, such as canon.

Keywords

Cite

@article{arxiv.2006.14221,
  title  = {Modeling Baroque Two-Part Counterpoint with Neural Machine Translation},
  author = {Eric P. Nichols and Stefano Kalonaris and Gianluca Micchi and Anna Aljanaki},
  journal= {arXiv preprint arXiv:2006.14221},
  year   = {2022}
}

Comments

International Computer Music Conference 2021, 5 pages

R2 v1 2026-06-23T16:36:54.425Z