Skip to content

Commit 8145626

Browse files
authored
Updated paradata (#79)
This is a README file for a data repository originating from the [DCML corpus initiative](https://github.com/DCMLab/dcml_corpora) and serves as welcome page for both * the GitHub repo [https://github.com/DCMLab/cpe_bach_keyboard](https://github.com/DCMLab/cpe_bach_keyboard) and the corresponding * documentation page [https://dcmlab.github.io/cpe_bach_keyboard](https://dcmlab.github.io/cpe_bach_keyboard) For information on how to obtain and use the dataset, please refer to [this documentation page](https://dcmlab.github.io/cpe_bach_keyboard/introduction). When you use (parts of) this dataset in your work, please read and cite the accompanying data report: _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_ # Carl Philipp Emanuel Bach – Works for Keyboard (A corpus of annotated scores) This corpus of annotated [MuseScore](https://musescore.org) files has been created within the [DCML corpus initiative](https://github.com/DCMLab/dcml_corpora) and employs the [DCML harmony annotation standard](https://github.com/DCMLab/standards). The second surviving son of Johann Sebastian Bach, Carl Philipp Emanuel Bach charted his own course as an innovative composer in the "Empfindsamer Stil" (Sentimental Style) on the cusp of Baroque and Classical practice, and for a time, his fame surpassed his father's. Emanuel Bach's style is characterized by rapid, urgent, and often shocking juxtapositions of mood within a single movement; it is not hard to see why this music held a particular influence on a young Ludwig van Beethoven. This repository reflects a selection both of longer sonatas and rondos (including both single-movement and multi-movement sonatas) and of freeform Fantasias in order to reflect a cross-section of this composer's unique practice. Wq. 50 is a didactic group of "Sonaten mit veränderten Reprisen" (Sonatas with Varied Reprises) intended to instruct the performer in the proper method of ornamenting a repeated section. Wq. 55 through 57 come from Bach's "Kenner und Liebhaber" (Connoisseurs and Amateurs) series, whose wide circulation Bach supervised himself, and whose title is somewhat ironic given the virtuosity on showcase in these works. The remaining pieces in this repository are a selection of Free Fantasias, all of which are found in volumes that combine keyboard works in a variety of genres, such as Wq. 112, "Clavierstücke verschiedener Art" (Piano Pieces of Various Kinds). These Fantasias -- which, as their name implies, are not bound by formal conventions -- are themselves divided between concise etude-like miniatures like Wq. 113/3 and extended unmeasured soliloquies like Wq. 117/13. These scores were typeset especially for this project by Anna Yuferova following the critical editions from the Packard Institute, with the exception of Wq. 117/12 and 55/4, which were downloaded from the MuseScore catalogue. ## Getting the data * download repository as a [ZIP file](https://github.com/DCMLab/cpe_bach_keyboard/archive/main.zip) * download a [Frictionless Datapackage](https://specs.frictionlessdata.io/data-package/) that includes concatenations of the TSV files in the four folders (`measures`, `notes`, `chords`, and `harmonies`) and a JSON descriptor: * [cpe_bach_keyboard.zip](https://github.com/DCMLab/cpe_bach_keyboard/releases/latest/download/cpe_bach_keyboard.zip) * [cpe_bach_keyboard.datapackage.json](https://github.com/DCMLab/cpe_bach_keyboard/releases/latest/download/cpe_bach_keyboard.datapackage.json) * clone the repo: `git clone https://github.com/DCMLab/cpe_bach_keyboard.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 *Sonata in F Major*, Wq.50/1, has the following files: * `MS3/wq50n01a.mscx`: Uncompressed MuseScore 3.6.2 file including the music and annotation labels. * `notes/wq50n01a.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/wq50n01a.measures.tsv`: A table with relevant information about the measures in the score. * `chords/wq50n01a.chords.tsv`: A table containing layer-wise unique onset positions with the musical markup (such as dynamics, articulation, lyrics, figured bass, etc.). * `harmonies/wq50n01a.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](https://specs.frictionlessdata.io/tabular-data-resource/), 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](https://musescore.org). Please note that the scores have been edited, annotated and tested with [MuseScore 3.6.2](https://github.com/musescore/MuseScore/releases/tag/v3.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](https://www.libreoffice.org/download/download/). 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.load_tsv("harmonies/wq50n01a.harmonies.tsv") notes = ms3.load_tsv("notes/wq50n01a.notes.tsv") ``` ## Version history See the [GitHub releases](https://github.com/DCMLab/cpe_bach_keyboard/releases). ## Questions, Suggestions, Corrections, Bug Reports Please [create an issue](https://github.com/DCMLab/cpe_bach_keyboard/issues) and/or feel free to fork and submit pull requests. ## Cite as > 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 ## License Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)).
2 parents e346cb8 + 5edc128 commit 8145626

File tree

3 files changed

+149
-17
lines changed

3 files changed

+149
-17
lines changed

.zenodo.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22
"license": "CC-BY-NC-SA-4.0",
33
"contributors": [
44
{
5-
"orcid": "0000-0002-6329-7492",
6-
"type": "DataCollector",
7-
"name": "Amelia Brey"
5+
"name": "Brey, Amelia",
6+
"type": "Annotator",
7+
"orcid": "0000-0002-6329-7492"
88
},
99
{
10-
"orcid": "0000-0002-6588-2257",
11-
"type": "DataCollector",
12-
"name": "Davor Krkljus"
10+
"name": "Krkljus, Davor",
11+
"type": "Annotator",
12+
"orcid": "0000-0002-6588-2257"
1313
},
1414
{
15-
"orcid": "0000-0001-6254-2604",
16-
"type": "DataCollector",
17-
"name": "Sylvie Tran"
15+
"name": "Tran, Sylvie",
16+
"type": "Annotator",
17+
"orcid": "0000-0001-6254-2604"
1818
},
1919
{
20-
"orcid": "0009-0001-0954-4448",
21-
"type": "DataCollector",
22-
"name": "Victor Zheng"
20+
"name": "Zheng, Victor",
21+
"type": "Annotator",
22+
"orcid": "0009-0001-0954-4448"
2323
},
2424
{
25-
"orcid": "0000-0002-6329-7492",
25+
"name": "Brey, Amelia",
2626
"type": "DataCurator",
27-
"name": "Amelia Brey"
27+
"orcid": "0000-0002-6329-7492"
2828
},
2929
{
30-
"orcid": "0000-0002-1986-9545",
30+
"name": "Hentschel, Johannes",
3131
"type": "DataCurator",
32-
"name": "Johannes Hentschel"
32+
"orcid": "0000-0002-1986-9545"
3333
}
3434
],
3535
"title": "Carl Philipp Emanuel Bach – Works for Keyboard (A corpus of annotated scores)",

CITATION.cff

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
cff-version: 1.2.0
2+
title: 'Carl Philipp Emanuel Bach – Works for Keyboard (A corpus of annotated scores)'
3+
message: >-
4+
Please cite this dataset using the metadata from
5+
'preferred-citation'.
6+
type: dataset
7+
authors:
8+
- given-names: Johannes
9+
family-names: Hentschel
10+
email: johannes.hentschel@bruckneruni.at
11+
affiliation: Anton Bruckner University Linz
12+
orcid: 'https://orcid.org/0000-0002-1986-9545'
13+
- given-names: Yannis
14+
family-names: Rammos
15+
email: yannis.rammos@epfl.ch
16+
affiliation: École Polytechnique Fédérale de Lausanne
17+
orcid: 'https://orcid.org/0000-0003-1455-5990'
18+
- given-names: Markus
19+
family-names: Neuwirth
20+
email: markus.neuwirth@bruckneruni.at
21+
affiliation: Anton Bruckner University Linz
22+
orcid: 'https://orcid.org/0000-0003-1990-052X'
23+
- given-names: Martin
24+
family-names: Rohrmeier
25+
email: martin.rohrmeier@epfl.ch
26+
affiliation: École Polytechnique Fédérale de Lausanne
27+
orcid: 'https://orcid.org/0000-0002-4323-7257'
28+
identifiers:
29+
- type: doi
30+
value: 10.5281/zenodo.14996326
31+
- type: url
32+
value: 'https://zenodo.org/doi/10.5281/zenodo.14996326'
33+
url: 'https://zenodo.org/doi/10.5281/zenodo.14996326'
34+
doi: 10.5281/zenodo.14996326
35+
repository: 'https://github.com/DCMLab/cpe_bach_keyboard'
36+
abstract: >-
37+
<jats:p>This corpus of annotated MuseScore files has been
38+
created within the DCML corpus initiative and employs the
39+
DCML harmony annotation standard. It is one out of ~40
40+
similar corpora that have been grouped together to the
41+
"Distant Listening Corpus" which comes with the data
42+
report "A corpus and a modular infrastructure for the
43+
empirical study of (an)notated music":
44+
https://doi.org/10.1038/s41597-025-04976-z</jats:p>
45+
keywords:
46+
- expert-annotated dataset
47+
- tonal harmony
48+
- music research
49+
- music theory
50+
- music analysis
51+
- music history
52+
- computational musicology
53+
- corpus studies
54+
- corpora
55+
- symbolic dataset
56+
- scores
57+
- annotated dataset
58+
- harmony
59+
- key annotations
60+
- chord annotations
61+
- phrase annotations
62+
- cadence annotations
63+
- common practice
64+
- research data management
65+
license: CC-BY-NC-4.0
66+
version: v2.1
67+
date-released: '2025-03-15'
68+
preferred-citation:
69+
authors:
70+
- given-names: Johannes
71+
family-names: Hentschel
72+
email: johannes.hentschel@bruckneruni.at
73+
affiliation: Anton Bruckner University Linz
74+
orcid: 'https://orcid.org/0000-0002-1986-9545'
75+
- given-names: Yannis
76+
family-names: Rammos
77+
email: yannis.rammos@epfl.ch
78+
affiliation: École Polytechnique Fédérale de Lausanne
79+
orcid: 'https://orcid.org/0000-0003-1455-5990'
80+
- given-names: Markus
81+
family-names: Neuwirth
82+
email: markus.neuwirth@bruckneruni.at
83+
affiliation: Anton Bruckner University Linz
84+
orcid: 'https://orcid.org/0000-0003-1990-052X'
85+
- given-names: Martin
86+
family-names: Rohrmeier
87+
email: martin.rohrmeier@epfl.ch
88+
affiliation: École Polytechnique Fédérale de Lausanne
89+
orcid: 'https://orcid.org/0000-0002-4323-7257'
90+
title: >-
91+
A corpus and a modular infrastructure for the empirical study of (an)notated
92+
music
93+
doi: 10.1038/s41597-025-04976-z
94+
url: 'https://doi.org/10.1038/s41597-025-04976-z'
95+
identifiers:
96+
- type: doi
97+
value: 10.1038/s41597-025-04976-z
98+
- type: url
99+
value: 'https://doi.org/10.1038/s41597-025-04976-z'
100+
- type: other
101+
value: 'urn:issn:2052-4463'
102+
type: article
103+
journal: Scientific Data
104+
issn: 2052-4463
105+
publisher:
106+
name: Springer Nature
107+
volume: 12
108+
issue: 1
109+
year: 2025
110+
month: 4
111+
start: 685
112+
abstract: >-
113+
<jats:p>The present corpus is the outcome of a long-term collaborative effort
114+
to produce analytically annotated music scores suitable for the
115+
computer-assisted study of European compositions since 1600. With 1283
116+
analytically annotated, symbolically encoded music scores by 36 composers,
117+
our corpus amounts to one of the largest published resources of its kind. At
118+
the same time, it provides a modular digital infrastructure for the
119+
accountable, collaborative curation of annotated scores (“sheet music”). All
120+
annotations were created and reviewed by a team of trained music theorists,
121+
who collaborated online using the git version control software according to
122+
a formally codified workflow. To improve the consistency of analytical
123+
practices given the diversity of represented eras and genres, the corpus has
124+
been automatically parsed for notational well-formedness and cross-reviewed
125+
by annotators for adherence to our music-analytical guidelines. The
126+
computational infrastructure has been designed with “data persistence” and
127+
open access in mind.</jats:p>

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ and serves as welcome page for both
1212

1313
For information on how to obtain and use the dataset, please refer to [this documentation page](https://dcmlab.github.io/cpe_bach_keyboard/introduction).
1414

15+
When you use (parts of) this dataset in your work, please read and cite the accompanying data report:
16+
17+
_Hentschel, J., Rammos, Y., Neuwirth, M., & Rohrmeier, M. (2025). A corpus and a modular infrastructure for the
18+
empirical study of (an)notated music. Scientific Data, 12(1), 685. https://doi.org/10.1038/s41597-025-04976-z_
19+
1520
# Carl Philipp Emanuel Bach – Works for Keyboard (A corpus of annotated scores)
1621

1722

@@ -105,7 +110,7 @@ Please [create an issue](https://github.com/DCMLab/cpe_bach_keyboard/issues) and
105110

106111
## Cite as
107112

108-
> Johannes Hentschel, Yannis Rammos, Markus Neuwirth, & Martin Rohrmeier. (2025). Carl Philipp Emanuel Bach – Works for Keyboard (A corpus of annotated scores) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.14996326
113+
> 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
109114
110115
## License
111116

0 commit comments

Comments
 (0)