WesterParse: A Transition-based Dependency Parser for Tonal Species Counterpoint
Robert Snarrenberg
2021
Abstract
This article describes the syntax parser that is a principal component of WesterParse, a software program designed to evaluate tonal species counterpoint in the version developed by Peter Westergaard (1975). The parser produces interpretations of the pitch-syntactic structure of simple tonal lines. The parser is written in Python and relies on the music21 toolkit. Given a simple tonal line of the sort found in Westergaardian counterpoint, the parser can evaluate its structure and report whether the line is valid. To do so, the parser compiles a set of possible syntactic interpretations. If asked, the program can display the interpretations in a notation program such as MuseScore. (A separate component of WesterParse is a voice-leading evaluator that can test the counterpoint of both simple and combined species for compliance with Westergaard’s rules of voice leading.) After providing a synopsis of Westergaard’s definition of simple tonal lines, the article describes the architecture of the software parser, the scanning process, and the central concept of dependency relations. The parsing operation is then illustrated using Fux’s Dorian cantus firmus, and a closer look is taken at the process for parsing transitions.
DownloadPaper Citation
in Harvard Style
Snarrenberg R. (2021). WesterParse: A Transition-based Dependency Parser for Tonal Species Counterpoint. In Proceedings of the 13th International Conference on Computer Supported Education - Volume 1: CSME, ISBN 978-989-758-502-9, pages 669-679. DOI: 10.5220/0010482606690679
in Bibtex Style
@conference{csme21,
author={Robert Snarrenberg},
title={WesterParse: A Transition-based Dependency Parser for Tonal Species Counterpoint},
booktitle={Proceedings of the 13th International Conference on Computer Supported Education - Volume 1: CSME,},
year={2021},
pages={669-679},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010482606690679},
isbn={978-989-758-502-9},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 13th International Conference on Computer Supported Education - Volume 1: CSME,
TI - WesterParse: A Transition-based Dependency Parser for Tonal Species Counterpoint
SN - 978-989-758-502-9
AU - Snarrenberg R.
PY - 2021
SP - 669
EP - 679
DO - 10.5220/0010482606690679