遇见数据集

Leopold Koželuch – Piano Sonatas (A corpus of annotated scores)

收藏
Zenodo2025-04-27 更新2026-05-26 收录
官方服务:

资源简介:

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/kozeluh_sonatas and the corresponding documentation page https://dcmlab.github.io/kozeluh_sonatas For information on how to obtain and use the dataset, please refer to this documentation page. Leopold Koželuch – Piano Sonatas (A corpus of annotated scores) Bohemian composer Leopold Koželuch had a way of repeatedly crossing paths with Mozart. Both composers were successively offered the same court position in two different instances (by the Archbishop of Salzburg and by Emperor Franz II). Koželuch's own music is however radically different, with many passages in these sonatas foreshadowing instead the tragic drama of Beethoven and von Weber. The annotations here investigate the chromatic shocks that support this tortured expression, incorporating disjunct successions and augmented sonorities that enact a significant break from the elegant and genteel vocabulary usually associated with Viennese classicism. 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, and harmonies) and a JSON descriptor: kozeluh_sonatas.zip kozeluh_sonatas.datapackage.json clone the repo: git clone https://github.com/DCMLab/kozeluh_sonatas.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 C, op. 8 no. 1, has the following files: MS3/09op08no1a.mscx: Uncompressed MuseScore 3.6.2 file including the music and annotation labels. notes/09op08no1a.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/09op08no1a.measures.tsv: A table with relevant information about the measures in the score. chords/09op08no1a.chords.tsv: A table containing layer-wise unique onset positions with the musical markup (such as dynamics, articulation, lyrics, figured bass, etc.). harmonies/09op08no1a.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/09op08no1a.harmonies.tsv") notes = ms3.load_tsv("notes/09op08no1a.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 Johannes Hentschel, Yannis Rammos, Markus Neuwirth, & Martin Rohrmeier. (2025). Leopold Koželuch – Piano Sonatas (A corpus of annotated scores) [Data set]. Zenodo. https://doi.org/{{ concept_doi }} License Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

本文件为DCML语料库计划(DCML corpus initiative)下属数据集仓库的README文档,同时作为GitHub仓库https://github.com/DCMLab/kozeluh_sonatas及其对应文档页面https://dcmlab.github.io/kozeluh_sonatas的欢迎页。 有关该数据集的获取与使用方式,请参阅上述文档页面。 # 利奥波德·科泽鲁赫(Leopold Koželuch)钢琴奏鸣曲集(带标注乐谱语料库) 波西米亚作曲家利奥波德·科泽鲁赫与莫扎特曾多次产生交集:两位作曲家曾先后在两次不同的机遇中被萨尔茨堡大主教与弗朗茨二世皇帝授予同一宫廷职位。然而科泽鲁赫的创作风格截然不同,其钢琴奏鸣曲的诸多段落反而预示了贝多芬与韦伯式的悲剧性戏剧张力。本语料库的标注旨在剖析支撑这种沉郁表现力的半音化冲击手法,其中包含了非级进音程连续与增和弦音响,与维也纳古典主义通常所关联的优雅精致的音乐语汇形成了显著割裂。 ## 数据集获取方式 1. 以ZIP压缩包形式下载整个仓库 2. 下载Frictionless数据包(Frictionless Datapackage),该包包含四个文件夹(measures、notes、chords与harmonies)内TSV文件的合并版本,以及一个JSON描述文件: - kozeluh_sonatas.zip - kozeluh_sonatas.datapackage.json 3. 克隆仓库:`git clone https://github.com/DCMLab/kozeluh_sonatas.git` ## 数据格式 本语料库中的每一首作品均由五个同名前缀的文件表示,分别存储于各自的文件夹中。以C大调第八号第一首奏鸣曲(作品8第1号)的第一乐章为例,其包含如下文件: - MS3/09op08no1a.mscx:未压缩的MuseScore 3.6.2格式文件,包含乐谱内容与标注标签 - notes/09op08no1a.notes.tsv:记录乐谱中所有符头及其相关属性的表格(并非每个符头均对应一个起始点,部分符头为连音状态) - measures/09op08no1a.measures.tsv:记录乐谱小节相关信息的表格 - chords/09op08no1a.chords.tsv:记录分层唯一起始位置及相关音乐标记(如力度、演奏法、歌词、通奏低音数字等)的表格 - harmonies/09op08no1a.harmonies.tsv:记录乐谱中包含的和声标签(包括终止式与乐句)及其位置的表格 每个TSV文件均配有专属JSON描述文件,用于说明其所含列(即“字段”)的含义与数据类型,该描述符合Frictionless规范,可用于验证并正确加载对应的数据文件。 ## 乐谱打开方式 在本地克隆仓库后,可通过免费开源的乐谱编辑软件MuseScore打开MS3文件夹中的乐谱。请注意,本套乐谱均使用MuseScore 3.6.2进行编辑、标注与测试,后续发布的MuseScore 4虽可正确渲染乐谱,但无法以原格式保存文件。 ## 电子表格软件打开TSV文件 制表符分隔值(TSV,Tab-separated value)文件与逗号分隔值(CSV,Comma-separated value)文件类似,可通过绝大多数现代文本编辑器打开。但若需正确显示列格式,建议使用电子表格软件或对应文本编辑器的插件。以Excel为例,其可能会将分数误识别为日期,可通过“数据→自文本/CSV”功能规避该问题,或使用免费替代软件LibreOffice Calc。除此之外,所有现代编程语言均可加载TSV格式数据。 ## Python环境加载TSV文件 由于本仓库的TSV文件包含空值、列表、分数及需按字符串处理的数值,若使用Python加载相关TSV文件,可采用如下代码。首先通过`pip install -U ms3`完成依赖安装(需Python 3.10及以上版本),随后即可按如下方式加载TSV文件: python import ms3 labels = ms3.load_tsv("harmonies/09op08no1a.harmonies.tsv") notes = ms3.load_tsv("notes/09op08no1a.notes.tsv") ## 版本历史 请参阅GitHub发布页面。 ## 问题咨询、建议与bug反馈 请提交Issue,或自由派生仓库并提交拉取请求。 ## 引用格式 约翰内斯·亨策尔、亚尼斯·拉莫斯、马库斯·纽沃斯与马丁·罗伊尔迈尔. (2025). 利奥波德·科泽鲁赫钢琴奏鸣曲集(带标注乐谱语料库)[数据集]. Zenodo. https://doi.org/{{ concept_doi }} ## 许可协议 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议(CC BY-NC-SA 4.0)。

提供机构:
Zenodo
创建时间:
2025-03-09
二维码
社区交流群
二维码
科研交流群
商业服务