abc
Annotated Beethoven Corpus (ABC): A dataset of harmonic analyses with standardized labels
Science Score: 75.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 13 DOI reference(s) in README -
✓Academic publication links
Links to: frontiersin.org, zenodo.org -
○Academic email domains
-
✓Institutional organization owner
Organization dcmlab has institutional domain (www.epfl.ch) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.8%) to scientific vocabulary
Keywords
Repository
Annotated Beethoven Corpus (ABC): A dataset of harmonic analyses with standardized labels
Basic Info
- Host: GitHub
- Owner: DCMLab
- License: other
- Default Branch: main
- Homepage: https://www.frontiersin.org/articles/10.3389/fdigh.2018.00016/full
- Size: 163 MB
Statistics
- Stars: 46
- Watchers: 8
- Forks: 15
- Open Issues: 2
- Releases: 8
Topics
Metadata Files
README.md
This is a README file for a data repository originating from the DCML corpus initiative and serves as welcome page for both
- the GitHub repo https://github.com/DCMLab/ABC and the corresponding
- documentation page https://dcmlab.github.io/ABC
For information on how to obtain and use the dataset, please refer to this documentation page.
When you use (parts of) this dataset in your work, please read and cite the accompanying data report:
Neuwirth, M., Harasim, D., Moss, F. C., & Rohrmeier, M. (2018). The Annotated Beethoven Corpus (ABC): A Dataset of Harmonic Analyses of All Beethoven String Quartets. Frontiers in Digital Humanities, 5(July), 1–5. https://doi.org/10.3389/fdigh.2018.00016
The ABC forms part of the larger Distant Listening Corpus which constitutes a data infrastructure the data report of which has implications for the present corpus, too:
Hentschel, J., Rammos, Y., Neuwirth, M., & Rohrmeier, M. (2025). A corpus and a modular infrastructure for the empirical study of (an)notated music. Scientific Data, 12(1), 685. https://doi.org/10.1038/s41597-025-04976-z
The Annotated Beethoven Corpus (ABC) (A corpus of annotated scores)
The ABC dataset consists of expert harmonic analyses of all Beethoven string quartets (opp. 18, 59, 74, 95, 127, 130, 131, 132, 135, composed between 1800 and 1826), encoded in a human- and machine-readable format (MuseScore format). Using a modified Roman Numeral notation (the DCML harmony annotation standard), the dataset includes the common music-theoretical set of harmonic features such as key, chordal root, chord inversion, chord extensions, suspensions, and others.
Getting the data
- download repository as a ZIP file
- download a Frictionless Datapackage that includes concatenations
of the TSV files in the four folders (
measures,notes,chords, andharmonies) and a JSON descriptor: - clone the repo:
git clone https://github.com/DCMLab/ABC.git
Data Formats
Each piece in this corpus is represented by five files with identical name prefixes, each in its own folder. For example, the first movement of the first quartet, op. 18/1, has the following files:
MS3/n01op18-1_01.mscx: Uncompressed MuseScore 3.6.2 file including the music and annotation labels.notes/n01op18-1_01.notes.tsv: A table of all note heads contained in the score and their relevant features (not each of them represents an onset, some are tied together)measures/n01op18-1_01.measures.tsv: A table with relevant information about the measures in the score.chords/n01op18-1_01.chords.tsv: A table containing layer-wise unique onset positions with the musical markup (such as dynamics, articulation, lyrics, figured bass, etc.).harmonies/n01op18-1_01.harmonies.tsv: A table of the included harmony labels (including cadences and phrases) with their positions in the score.
Each TSV file comes with its own JSON descriptor that describes the meanings and datatypes of the columns ("fields") it contains, follows the Frictionless specification, and can be used to validate and correctly load the described file.
Opening Scores
After navigating to your local copy, you can open the scores in the folder MS3 with the free and open source score
editor MuseScore. Please note that the scores have been edited, annotated and tested with
MuseScore 3.6.2.
MuseScore 4 has since been released which renders them correctly but cannot store them back in the same format.
Opening TSV files in a spreadsheet
Tab-separated value (TSV) files are like Comma-separated value (CSV) files and can be opened with most modern text
editors. However, for correctly displaying the columns, you might want to use a spreadsheet or an addon for your
favourite text editor. When you use a spreadsheet such as Excel, it might annoy you by interpreting fractions as
dates. This can be circumvented by using Data --> From Text/CSV or the free alternative
LibreOffice Calc. Other than that, TSV data can be loaded with
every modern programming language.
Loading TSV files in Python
Since the TSV files contain null values, lists, fractions, and numbers that are to be treated as strings, you may want
to use this code to load any TSV files related to this repository (provided you're doing it in Python). After a quick
pip install -U ms3 (requires Python 3.10 or later) you'll be able to load any TSV like this:
```python import ms3
labels = ms3.loadtsv("harmonies/n01op18-101.harmonies.tsv") notes = ms3.loadtsv("notes/n01op18-101.notes.tsv") ```
Version history
See the GitHub releases.
Questions, Suggestions, Corrections, Bug Reports
Please create an issue and/or feel free to fork and submit pull requests.
Publications
- The accompanying Data Report has been published in Neuwirth, M., Harasim, D., Moss, F. & Rohrmeier M. (2018).
- An evaluation of the dataset can be found in this Moss, F., Neuwirth M., Harasim, D. & Rohrmeier, M. (2019).
- The latest version of the annotation standard has been described in Hentschel, J., Neuwirth, M. & Rohrmeier, M. (2021)
Cite as
Neuwirth, M., Harasim, D., Moss, F. C., & Rohrmeier, M. (2018). The Annotated Beethoven Corpus (ABC): A Dataset of Harmonic Analyses of All Beethoven String Quartets. Frontiers in Digital Humanities, 5(July), 1–5. https://doi.org/10.3389/fdigh.2018.00016
License
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

Remarks
Hybrid version of annotations
v1.0 of this dataset used version 1.0.0 of the DCML harmony annotation standard,
with the version number attributed only in hindsight. Some of the labels that were corrected in the meantime, however,
use features available only in later versions, such as recursive reference to a secondary ('tertiary') key as in V7/V/V.
However, changes have been applied conservatively in order to keep the data as homogeneous as possible.
Possible annotation errors
While the annotation process (as detailed in the Data Report) was conducted very carefully, and all annotated symbols have been automatically checked for syntactic correctness, the authors cannot entirely rule out the possibility of typograpical errors or misinterpretations (e.g., due to ambiguities in the score or underspecification in the musical texture). After all, music analysis is not a deterministic process but involves interpretation. If you encounter anything that seems not right to you, please create an issue here.
Missing bars
The original XML file for Op. 132 No. 15, mov. 5 from Project Gutenberg did not contain measures 194-241. We added them manually.
File naming convention
regex
n(?P<quartet>\d{2}) # quartet number, e.g. n01
op(?P<op>\d{2,3}) # opus number, e.g. op18
(?:-(?P<no>\d))? # (optional) number within the opus, e.g. -1
_(?P<mvt>\d{2}) # movement number, e.g. _01
Overview
| filename |measures|labels|standard| annotators |reviewers | |------------|-------:|-----:|--------|---------------|----------| |n01op18-101| 313| 405|1.0.0 |Markus Neuwirth| | |n01op18-102| 110| 263|1.0.0 |Markus Neuwirth| | |n01op18-103| 145| 203|1.0.0 |Markus Neuwirth| | |n01op18-104| 381| 598|1.0.0 |Markus Neuwirth| | |n02op18-201| 249| 486|1.0.0 |Markus Neuwirth| | |n02op18-202| 86| 177|1.0.0 |Markus Neuwirth| | |n02op18-203| 87| 138|1.0.0 |Markus Neuwirth| | |n02op18-204| 412| 468|1.0.0 |Markus Neuwirth| | |n03op18-301| 269| 383|1.0.0 |Markus Neuwirth| | |n03op18-302| 151| 394|1.0.0 |Markus Neuwirth| | |n03op18-303| 168| 278|1.0.0 |Markus Neuwirth| | |n03op18-304| 364| 569|1.0.0 |Markus Neuwirth| | |n04op18-401| 219| 554|1.0.0 |Markus Neuwirth| | |n04op18-402| 261| 369|1.0.0 |Markus Neuwirth| | |n04op18-403| 98| 145|1.0.0 |Markus Neuwirth| | |n04op18-404| 217| 386|1.0.0 |Markus Neuwirth| | |n05op18-501| 225| 430|1.0.0 |Markus Neuwirth| | |n05op18-502| 105| 168|1.0.0 |Markus Neuwirth| | |n05op18-503| 139| 247|1.0.0 |Markus Neuwirth| | |n05op18-504| 300| 567|1.0.0 |Markus Neuwirth| | |n06op18-601| 264| 374|1.0.0 |Markus Neuwirth| | |n06op18-602| 79| 265|1.0.0 |Markus Neuwirth| | |n06op18-603| 68| 168|1.0.0 |Markus Neuwirth| | |n06op18-604| 296| 465|1.0.0 |Markus Neuwirth| | |n07op59-101| 400| 482|1.0.0 |Markus Neuwirth| | |n07op59-102| 476| 635|1.0.0 |Markus Neuwirth| | |n07op59-103| 132| 374|1.0.0 |Markus Neuwirth| | |n07op59-104| 327| 604|1.0.0 |Markus Neuwirth| | |n08op59-201| 255| 445|1.0.0 |Markus Neuwirth| | |n08op59-202| 157| 326|1.0.0 |Markus Neuwirth| | |n08op59-203| 134| 262|1.0.0 |Markus Neuwirth| | |n08op59-204| 409| 567|1.0.0 |Markus Neuwirth| | |n09op59-301| 269| 516|1.0.0 |Markus Neuwirth| | |n09op59-302| 207| 481|1.0.0 |Markus Neuwirth| | |n09op59-303| 96| 177|1.0.0 |Markus Neuwirth| | |n09op59-304| 428| 699|1.0.0 |Markus Neuwirth| | |n10op7401 | 262| 446|1.0.0 |Markus Neuwirth| | |n10op7402 | 169| 304|1.0.0 |Markus Neuwirth| | |n10op7403 | 467| 447|1.0.0 |Markus Neuwirth| | |n10op7404 | 195| 322|1.0.0 |Markus Neuwirth| | |n11op9501 | 151| 245|1.0.0 |Markus Neuwirth| | |n11op9502 | 192| 353|1.0.0 |Markus Neuwirth| | |n11op9503 | 207| 364|1.0.0 |Markus Neuwirth| | |n11op9504 | 175| 326|1.0.0 |Markus Neuwirth| | |n12op12701 | 282| 558|1.0.0 |Markus Neuwirth| | |n12op12702 | 126| 542|1.0.0 |Markus Neuwirth| | |n12op12703 | 289| 428|1.0.0 |Markus Neuwirth| | |n12op12704 | 299| 689|1.0.0 |Markus Neuwirth| | |n13op13001 | 236| 723|1.0.0 |Markus Neuwirth| | |n13op13002 | 107| 181|1.0.0 |Markus Neuwirth| | |n13op13003 | 89| 450|1.0.0 |Markus Neuwirth| | |n13op13004 | 150| 295|1.0.0 |Markus Neuwirth| | |n13op13005 | 66| 189|1.0.0 |Markus Neuwirth| | |n13op13006 | 493| 626|1.0.0 |Markus Neuwirth| | |n14op13101 | 120| 334|1.0.0 |Markus Neuwirth| | |n14op13102 | 197| 354|1.0.0 |Markus Neuwirth| | |n14op13103 | 10| 30|1.0.0 |Markus Neuwirth| | |n14op13104 | 276| 659|1.0.0 |Markus Neuwirth| | |n14op13105 | 499| 599|1.0.0 |Markus Neuwirth| | |n14op13106 | 27| 68|1.0.0 |Markus Neuwirth| | |n14op13107 | 387| 522|1.0.0 |Markus Neuwirth| | |n15op13201 | 264| 622|1.0.0 |Markus Neuwirth| | |n15op13202 | 238| 479|1.0.0 |Markus Neuwirth| | |n15op13203 | 211| 506|1.0.0 |Markus Neuwirth| | |n15op13204 | 46| 113|1.0.0 |Markus Neuwirth| | |n15op13205 | 404| 732|1.0.0 |Markus Neuwirth|JH (1.0.0)| |n16op13501 | 193| 398|1.0.0 |Markus Neuwirth| | |n16op13502 | 272| 376|1.0.0 |Markus Neuwirth| | |n16op13503 | 54| 178|1.0.0 |Markus Neuwirth| | |n16op135_04 | 282| 563|1.0.0 |Markus Neuwirth| |
Overview table automatically updated using ms3.
Owner
- Name: Digital and Cognitive Musicology Lab
- Login: DCMLab
- Kind: organization
- Location: Lausanne, CH
- Website: https://www.epfl.ch/labs/dcml/
- Repositories: 26
- Profile: https://github.com/DCMLab
The Digital and Cognitive Musicology Lab at École Polytechnique Fédérale de Lausanne (EPFL)
Citation (CITATION.cff)
cff-version: 1.2.0
message: "Please cite this dataset using the metadata from 'preferred-citation'."
title: "The Annotated Beethoven Corpus (ABC) (A corpus of annotated scores)"
type: dataset
abstract: >-
<jats:p>The ABC dataset consists of expert harmonic analyses of all Beethoven string
quartets (opp. 18, 59, 74, 95, 127, 130, 131, 132, 135, composed between 1800
and 1826), encoded in a human- and machine-readable format (MuseScore format).
Using a modified Roman Numeral notation, the dataset includes the common
music-theoretical set of harmonic features such as key, chordal root, chord
inversion, chord extensions, suspensions, and others.
The accompanying Data Report has been published by Frontiers in Digital
Humanities: https://doi.org/10.3389/fdigh.2018.00016</jats:p>
doi: 10.5281/zenodo.7441343
url: https://zenodo.org/doi/10.5281/zenodo.7441343
repository: https://github.com/DCMLab/ABC
identifiers:
- type: doi
value: 10.5281/zenodo.7441343
- type: url
value: https://zenodo.org/doi/10.5281/zenodo.7441343
authors:
- given-names: Markus
family-names: Neuwirth
email: markus.neuwirth@bruckneruni.at
affiliation: "Bruckner University Linz"
orcid: "https://orcid.org/0000-0003-1990-052X"
- given-names: Daniel
family-names: Harasim
- given-names: Fabian C.
family-names: Moss
email: fabian.moss@uni-wuerzburg.de
affiliation: "Julius Maximilian University Würzburg"
orcid: "https://orcid.org/0000-0001-9377-2066"
- given-names: Martin
family-names: Rohrmeier
email: martin.rohrmeier@epfl.ch
affiliation: "École Polytechnique Fédérale de Lausanne"
orcid: "https://orcid.org/0000-0002-4323-7257"
version: v2.6
date-released: 2025-04-27
keywords:
- "expert-annotated dataset"
- "tonal harmony"
- "music research"
- "music theory"
- "music analysis"
- "music history"
- "corpus studies"
- "corpora"
- "symbolic dataset"
- "scores"
- "annotated dataset"
- "harmony"
- "key annotations"
- "chord annotations"
- "phrase annotations"
- "cadence annotations"
- "Beethoven"
license: "CC-BY-NC-4.0"
preferred-citation:
authors:
- given-names: Markus
family-names: Neuwirth
email: markus.neuwirth@bruckneruni.at
affiliation: "Anton Bruckner University Linz"
orcid: "https://orcid.org/0000-0003-1990-052X"
- given-names: Daniel
family-names: Harasim
- given-names: Fabian C.
family-names: Moss
email: fabian.moss@uni-wuerzburg.de
affiliation: "Julius Maximilian University Würzburg"
orcid: "https://orcid.org/0000-0001-9377-2066"
- given-names: Martin
family-names: Rohrmeier
email: martin.rohrmeier@epfl.ch
affiliation: "École Polytechnique Fédérale de Lausanne"
orcid: "https://orcid.org/0000-0002-4323-7257"
title: >-
The Annotated Beethoven Corpus (ABC): A Dataset of Harmonic Analyses of All
Beethoven String Quartets
doi: 10.3389/fdigh.2018.00016
url: http://dx.doi.org/10.3389/fdigh.2018.00016
identifiers:
- type: doi
value: 10.3389/fdigh.2018.00016
- type: url
value: http://dx.doi.org/10.3389/fdigh.2018.00016
- type: other
value: urn:issn:2297-2668
type: article
journal: Frontiers in Digital Humanities
issn: 1559-5749
publisher:
name: Frontiers Media SA
volume: 5
issue: 16
year: 2018
month: 7
abstract: "This report describes a publicly available dataset of harmonic analyses of all Beethoven string quartets together with a new annotation scheme."
GitHub Events
Total
- Create event: 6
- Release event: 2
- Issues event: 6
- Watch event: 1
- Delete event: 3
- Issue comment event: 1
- Push event: 12
- Pull request event: 4
- Fork event: 1
Last Year
- Create event: 6
- Release event: 2
- Issues event: 6
- Watch event: 1
- Delete event: 3
- Issue comment event: 1
- Push event: 12
- Pull request event: 4
- Fork event: 1
Dependencies
- actions/checkout v3 composite
- ncipollo/release-action v1 composite