/chopin-preludes

Digital edition of Frédéric Chopin's preludes in the Humdrum file format.

Digital edition of Chopin preludes

This repository is a digital edition of the preludes composed by Frédéric Chopin, encoded in the Humdrum file format. Tools for processing the encodings in this format on the command-line can be found online at https://github.com/humdrum-tools

The encodings are located in the 'kern' directory. Scans of the source edition can be downloaded from kernScores with this command:

   make reference

These digital scores can also be found as a submodule in the humdrum-data repository.

Data processing tools and other resources

These digital scores may also be found on the kernScores website:

with mirrors at:

which includes dynamic conversions to other data formats.

The Humdrum Extras command-line programs can download these files from kernScores. A quick method of downloading:

    mkdir -p chopin/preludes
    cd chopin/preludes
    humsplit h://chopin/preludes

To get online access to a single movement, for example to transpose the first movement of mazurka in C# minor, Op. 63, No. 3 in C minor:

   transpose -k c h://chopin/preludes/mazurka63-3.krn

To interface to the Humdrum Toolkit commands, use the humcat command to download to standard input (the -s option is needed when downloading multiple files):

   humcat -s h://chopin/preludes | census -k

Makefile

The makefile provided in the base directory includes example data processing commands. Type make when in the same directory as the makefile to list commands that can be run with the makefile.

If the command which make reports that the make command cannot be found, then you must install it. In linux, this command might install it:

   sudo apt-get install build-essential
   # or
   sudo yum install build-essential

In OS X Mavericks or later, install the Xcode command-line tools:

   xcode-select --install

In Cygwin on MS Windows, re-run the cygwin install program and make sure that the development tools are included in the installation packages.