Skip to content

Conversation

@BeckerHanne
Copy link
Contributor

@BeckerHanne BeckerHanne commented Mar 9, 2025

This is a README file for a data repository originating from the DCML corpus initiative
and serves as welcome page for both

For information on how to obtain and use the dataset, please refer to this documentation page.

Arcangelo Corelli – Trio Sonatas (A corpus of annotated scores)

This corpus of annotated MuseScore files has been created within
the DCML corpus initiative and employs
the DCML harmony annotation standard. It was relased together with and as part
of the "workflow paper" (for the reference see below or the file CITATION.cff).

The corpus comprises 36 Sonate a tre, divided into 149 separate movements. Together they make up for
three of the four famous cycles of 12 trio sonatas each:

Opus Cycle Publication Included
1 12 sonate da chiesa Rome 1681 Yes
2 12 sonate da camera Rome 1685 No
3 12 sonate da chiesa Rome 1689 Yes
4 12 sonate da camera Rome 1694 Yes

Getting the data

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 trio sonata has the following files:

  • MS3/op01n01a.mscx: Uncompressed MuseScore 3.6.2 file including the music and annotation labels.
  • notes/op01n01a.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/op01n01a.measures.tsv: A table with relevant information about the measures in the score.
  • chords/op01n01a.chords.tsv: A table containing layer-wise unique onset positions with the musical markup (such as dynamics, articulation, lyrics, figured bass, etc.).
  • harmonies/op01n01a.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:

import ms3

labels = ms3.load_tsv("harmonies/op01n01a.harmonies.tsv")
notes = ms3.load_tsv("notes/op01n01a.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.

Cite as

Hentschel, J., Moss, F. C., Neuwirth, M., & Rohrmeier, M. A. (2021). A semi-automated workflow paradigm for the distributed creation and curation of expert annotations. Proceedings of the 22nd International Society for Music Information Retrieval Conference, ISMIR, 262–269. https://doi.org/10.5281/ZENODO.5624417

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

@BeckerHanne BeckerHanne requested a review from johentsch March 9, 2025 19:10
Copy link
Member

@johentsch johentsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @BeckerHanne, I've removed the wrong label.

@johentsch johentsch changed the title Eliminates Focused Warnings Addresses phrase and pedal incongruency warnings Mar 9, 2025
@johentsch
Copy link
Member

https://op-musicology.epfl.ch/projects/distant-listening-corpus/work_packages/1486/activity

Addresses phrase and pedal warnings for selected movements.

@johentsch johentsch merged commit 32bdc76 into main Mar 9, 2025
@johentsch johentsch deleted the focused_warnings branch March 9, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants