annotate jrp/README.md @ 2:1e94d64e1d9e tip

Many fixes to remove spurious notes, correct time signatures and clefs. Still some problems remain.
author samer
date Fri, 24 Apr 2015 18:19:47 +0100
parents 968db103ad92
children
rev   line source
samer@0 1 # JRP Digital Scores #
samer@0 2
samer@0 3 This repository contains digital music scores in the Humdrum data
samer@0 4 format from the [Josquin Research Project](http://josquin.stanford.edu).
samer@0 5 The primary web interface for these scores is http://josquin.stanford.edu
samer@0 6 which allows online searching and browsing, conversions into other
samer@0 7 data formats, such as MIDI and graphical notation, as well as
samer@0 8 interfaces to some online analysis tools. These scores encompass
samer@0 9 music of the early Renaissance (*c*1420 to *c*1520), mostly
samer@0 10 representing the [Franco-Flemish
samer@0 11 School](http://en.wikipedia.org/wiki/Franco-Flemish_School) and are
samer@0 12 mainly intended for computational analysis. As a result only a
samer@0 13 few works include text/lyrics suitable for vocal performance.
samer@0 14
samer@0 15 A peculiar aspect in music of the sixteenth century (from a modern
samer@0 16 viewpoint) is an incomplete notation of accidentals needed for
samer@0 17 performance. Editorial accidentals have been added to these scores
samer@0 18 to realize the performance practice of the time. An "i" character
samer@0 19 immediately following an accidental indicates that it was not written
samer@0 20 in the original notation. When written without an "i" after it,
samer@0 21 the accidental is found in the original notation, either from the
samer@0 22 key signature, or an explicit accidental written immediately before
samer@0 23 the note.
samer@0 24
samer@0 25 Another conceptual difference is the use of mensuration signs.
samer@0 26 These evolved (decayed) into time signatures. The most common
samer@0 27 mensuration in the music is Cut-C, from which modern cut-time
samer@0 28 originates. In this mensuration the *beat* is at the whole-note
samer@0 29 rhythmic level, and the metric cycle is two beats (a breve). Circle
samer@0 30 mensuration is the second most common mensuration in the music.
samer@0 31 This represents three whole-note beats per rhythmic cycle (dotted
samer@0 32 breve). Mensuration signs also convey tempo, so MIDI files on the
samer@0 33 [JRP](http://josquin.stanford.edu) website made from these scores
samer@0 34 typically interpret tempo from the mensuration signs in the data
samer@0 35 (with the tempo slowing down over the generations due to smaller
samer@0 36 rhythmic values becoming more common). Modern time signatures are
samer@0 37 present in the data as a result of using music notation software
samer@0 38 for data entry and are of secondary concern (notice that they are
samer@0 39 not displayed in the scores on the [JRP](http://josquin.stanford.edu)
samer@0 40 website.
samer@0 41
samer@0 42 Barlines had not yet been invented in the fifteenth century, so all
samer@0 43 barlines in the data are interpreted; however, these are less open
samer@0 44 to interpretation compared to editorial accidentals. Typically
samer@0 45 barlines represent breves (double whole notes) durations, although
samer@0 46 they sometimes represent longs (quadruple whole notes), and may
samer@0 47 include patterns of dashed and solid lines to indicate the implied
samer@0 48 long (solid lines) and breve (dash line) metric grid of the music.
samer@0 49
samer@0 50 All parts are encoded in modern notation that is sensitive to the
samer@0 51 original mensural notation intent of the fifteenth century. The
samer@0 52 main difference is that all rhythmic durations and augmentation
samer@0 53 dots are made explicit rather than dependent on a note's musical
samer@0 54 context. Since the original parts were not written in modern score
samer@0 55 layout during the fifteenth century (see an example of a
samer@0 56 [partbook](http://www.loc.gov/exhibits/vatican/images/music13.jpg)),
samer@0 57 mensuration changes sometimes do not occur at the same point in
samer@0 58 each part. For example, one part may have a whole note in Cut-C
samer@0 59 mensuration while another part has a dotted whole note in 3
samer@0 60 mensuration. This is represented in the data with the same rhythmic
samer@0 61 duration in each part, usually as a whole note and a triplet dotted
samer@0 62 whole note using an ```*rscale:3/2``` interpretation in the second
samer@0 63 part to indicate that it is to be displayed with a rhythmic duration
samer@0 64 3/2 longer (i.e., convert the triplet dotted whole note into a
samer@0 65 non-triplet dotted whole note).
samer@0 66
samer@0 67 In mensural music (particularly in masses) the voices are sometimes
samer@0 68 notated in conflicting note values. (Colloquially we refer to a
samer@0 69 voice being "augmented" or "diminished" relative to the others.)
samer@0 70 The most common situation is for a half-note in the tenor to have
samer@0 71 the same duration as a whole-note in another part. The ```*rscale```
samer@0 72 rhythmic-scaling interpretation will also be used in these cases.
samer@0 73 All parts in the data have a 1:1 rhythmic scaling against each other
samer@0 74 for analytic purposes. Applying the ```*rscale``` factor will cause
samer@0 75 a part to be displayed in its original rhythmic values (i.e., reverse
samer@0 76 the resolution of the autmentation/diminution).
samer@0 77
samer@0 78 Triplet brackets are given explicitly in the data using "V" and "Z"
samer@0 79 characters (this will change in the future). Triplet brackets
samer@0 80 indicate music that was originally in colored notation, which is a
samer@0 81 mensural equivalent of triplets. Music in 3 mensuration (an alternate
samer@0 82 mensural method of showing triplets) may be represented as modern
samer@0 83 rhythmic triplets in the data, but will not contain triplet brackets.
samer@0 84
samer@0 85 Ligatures are groups of notes with their heads attached to each other which
samer@0 86 typically gives information about the rhythm of the notes in mensural
samer@0 87 notation. Usually modern notation of mensural music will place brackets
samer@0 88 around individual notes which were originally part of a ligature group.
samer@0 89 However, ligatures are not indicated in this data.
samer@0 90
samer@0 91
samer@0 92 # Composers #
samer@0 93
samer@0 94 Individual composer's works are archived independently, and each of their
samer@0 95 repositories can be viewed by clicking in the first column of the
samer@0 96 table below. Each composer is assigned a unique three-letter code
samer@0 97 listed in the first column that is the name of the directory in
samer@0 98 the meta-repository which contains each composer's works.
samer@0 99
samer@0 100
samer@0 101 <table>
samer@0 102 <tr><td> <a href=https://github.com/josquin-research-project/Ano>Ano</a> </td><td> Anonymous </td><td> (<a href=http://josquin.stanford.edu/#Ano>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Anonymous_work>Wikipedia</a>) </td></tr>
samer@0 103 <tr><td> <a href=https://github.com/josquin-research-project/Agr>Agr</a> </td><td> Alexander Agricola </td><td> (<a href=http://josquin.stanford.edu/#Agr>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Alexander_Agricola>Wikipedia</a>) </td></tr>
samer@0 104 <tr><td> <a href=https://github.com/josquin-research-project/Bus>Bus</a> </td><td> Antoine Busnoys </td><td> (<a href=http://josquin.stanford.edu/#Bus>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Antoine_busnoys>Wikipedia</a>) </td></tr>
samer@0 105 <tr><td> <a href=https://github.com/josquin-research-project/Com>Com</a> </td><td> Loyset Comp&egrave;re </td><td> (<a href=http://josquin.stanford.edu/#Com>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Loyset_Comp%C3%A8re>Wikipedia</a>) </td></tr>
samer@0 106 <tr><td> <a href=https://github.com/josquin-research-project/Duf>Duf</a> </td><td> Guillaume Du Fay </td><td> (<a href=http://josquin.stanford.edu/#Duf>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Guillaume_Du_Fay>Wikipedia</a>) </td></tr>
samer@0 107 <tr><td> <a href=https://github.com/josquin-research-project/Jap>Jap</a> </td><td> Jean Japart </td><td> (<a href=http://josquin.stanford.edu/#Jap>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Jean_Japart>Wikipedia</a>) </td></tr>
samer@0 108 <tr><td> <a href=https://github.com/josquin-research-project/Jos>Jos</a> </td><td> Josquin des Prez </td><td> (<a href=http://josquin.stanford.edu/#Jos>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Josquin_des_Prez>Wikipedia</a>) </td></tr>
samer@0 109 <tr><td> <a href=https://github.com/josquin-research-project/Mar>Mar</a> </td><td> Johannes Martini </td><td> (<a href=http://josquin.stanford.edu/#Mar>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Johannes_Martini>Wikipedia</a>) </td></tr>
samer@0 110 <tr><td> <a href=https://github.com/josquin-research-project/Mou>Mou</a> </td><td> Jean Mouton </td><td> (<a href=http://josquin.stanford.edu/#Mou>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Jean_Mouton>Wikipedia</a>) </td></tr>
samer@0 111 <tr><td> <a href=https://github.com/josquin-research-project/Obr>Obr</a> </td><td> Jacob Obrecht </td><td> (<a href=http://josquin.stanford.edu/#Obr>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Jacob_Obrecht>Wikipedia</a>) </td></tr>
samer@0 112 <tr><td> <a href=https://github.com/josquin-research-project/Ock>Ock</a> </td><td> Johannes Ockeghem </td><td> (<a href=http://josquin.stanford.edu/#Ock>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Johannes_Ockeghem>Wikipedia</a>) </td></tr>
samer@0 113 <tr><td> <a href=https://github.com/josquin-research-project/Ort>Ort</a> </td><td> Marbrianus de Orto </td><td> (<a href=http://josquin.stanford.edu/#Ort>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Marbrianus_de_Orto>Wikipedia</a>) </td></tr>
samer@0 114 <tr><td> <a href=https://github.com/josquin-research-project/Pip>Pip</a> </td><td> Matthaeus Pipelare </td><td> (<a href=http://josquin.stanford.edu/#Pip>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Matthaeus_Pipelare>Wikipedia</a>) </td></tr>
samer@0 115 <tr><td> <a href=https://github.com/josquin-research-project/Reg>Reg</a> </td><td> Johannes Regis </td><td> (<a href=http://josquin.stanford.edu/#Reg>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Johannes_Regis>Wikipedia</a>) </td></tr>
samer@0 116 <tr><td> <a href=https://github.com/josquin-research-project/Rue>Rue</a> </td><td> Pierre de la Rue </td><td> (<a href=http://josquin.stanford.edu/#Rue>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Pierre_de_la_rue>Wikipedia</a>) </td></tr>
samer@0 117 <tr><td> <a href=https://github.com/josquin-research-project/Tin>Tin</a> </td><td> Johannes Tinctoris</td><td> (<a href=http://josquin.stanford.edu/#Tin>JRP</a>) </td><td> (<a href=http://en.wikipedia.org/wiki/Johannes_Tinctoris>Wikipedia</a>) </td></tr>
samer@0 118 </table>
samer@0 119
samer@0 120 Within each directory of the repository is a subdirectory
samer@0 121 called ```kern``` that contains the actual scores in the **kern data
samer@0 122 type of the Humdrum data file format.
samer@0 123
samer@0 124 Currently, composers with complete (or nearly complete) sets of
samer@0 125 encoded works include: Josquin, Ockeghem, La Rue and de Orto.
samer@0 126
samer@0 127
samer@0 128 # Filenames #
samer@0 129
samer@0 130 Each file in the database starts with a unique JRP catalog number.
samer@0 131 This consists of a three-letter composer ID as listed above,
samer@0 132 followed by a four-digit number to represent a specific work by
samer@0 133 that composer. Typically the first digit of the catalog number
samer@0 134 will indicate the genre of the work: 1 for masses, 2 for motets,
samer@0 135 and 3 for secular songs (see the ```!!!AGN``` reference record
samer@0 136 inside of the file for the actual genre designations). The music
samer@0 137 of Josquin is an exception, where the first two digits indicate its
samer@0 138 volume number in the New Josquin Edition, and the last two digits
samer@0 139 indicate the enumerated position of the work within that volume.
samer@0 140
samer@0 141 After the four-digit work number, an optional letter indicates that
samer@0 142 a *movement*-level encoding of a work is found in the file. This
samer@0 143 system is used for storing mass sections in separate files, where
samer@0 144 "a" is the first section (usually the Kyrie section), "b" is the
samer@0 145 second section (usually the Gloria section), and so on.
samer@0 146
samer@0 147 Work-level variants are indicated in the catalog number by adding
samer@0 148 a dot after the work number, followed by a variant number (of any
samer@0 149 digit length). Variants at the movement level are indicated by
samer@0 150 placing a dot after the variant letter(s) followed by a variant
samer@0 151 letter (or more than one lower-case letter). If a file contains
samer@0 152 an enumerable subsection of a movement, an optional digit will be
samer@0 153 appended to the catalog number (which may itself be followed by a
samer@0 154 dot and variant digits). Movement subsection numbers are not yet
samer@0 155 present in any datafile (and neither are Movement sub-subsections
samer@0 156 which would alternate back to letters like movement-level labels).
samer@0 157
samer@0 158 After the catalog number, each filename contains a dash followed
samer@0 159 by title information. The title information may have up to three
samer@0 160 fixed fields, each separated by a dash from the other. The first
samer@0 161 component of the title information is the title of the work. This
samer@0 162 is optionally followed by the title of the movement (i.e., mass
samer@0 163 section names, such as the standard sections: kyrie, gloria, credo,
samer@0 164 sanctus, and agnus [dei]). A third optional section of the title
samer@0 165 in the filename is variant information. Spaces in the title are
samer@0 166 encoded as underscore characters in the filenames. Two underscores
samer@0 167 in a row indicate a slash in the title. No accent marks are given
samer@0 168 in the filename titles since they are
samer@0 169 [POSIX](http://en.wikipedia.org/wiki/POSIX) compliant; see the
samer@0 170 ```!!!OTL``` reference record within each file for the proper
samer@0 171 accentuation of work titles.
samer@0 172
samer@0 173 Title information in filenames are a courtesy for human beings. As
samer@0 174 such they can be removed from filenames, leaving only the unique
samer@0 175 catalog numbers. (Removing catalog numbers will not result in
samer@0 176 unique filenames since a composer may write several songs with the
samer@0 177 same title).
samer@0 178
samer@0 179
samer@0 180 # Download #
samer@0 181
samer@0 182 To download this Github repository using
samer@0 183 [git](http://en.wikipedia.org/wiki/Git_%29software%29) in a terminal, type:
samer@0 184
samer@0 185 <code>git clone --recursive https://github.com/josquin-research-project/jrp-scores</code>
samer@0 186
samer@0 187 The ```--recursive``` option is needed to download each of the
samer@0 188 individual composer repositories inside of the meta-repository.
samer@0 189
samer@0 190 In a unix terminal, you can check to see if git is installed by
samer@0 191 typing ```which git```. If the terminal replies with a path to
samer@0 192 git, then you can proceed with the above cloning to download the
samer@0 193 repository. If not, then typically you can use a package manager
samer@0 194 to install git, such as ```apt-get install git``` or ```yum install
samer@0 195 git``` in linux. On Apple OS X computers, git can be installed
samer@0 196 directly from [here](http://git-scm.com/download/mac) or by more
samer@0 197 experienced users from a mac package manager such as
samer@0 198 [Homebrew](http://brew.sh). If you have a comicbook-like view of the
samer@0 199 computer world, you can download GUI interfaces for git
samer@0 200 [here](http://git-scm.com/downloads/guis). A [Github/git
samer@0 201 plugin](http://eclipse.github.com) is also available for the Eclipse
samer@0 202 IDE ([watch video](http://www.youtube.com/watch?v=ptK9-CNms98)).
samer@0 203
samer@0 204 This repository cannot be downloaded in a very useful format from
samer@0 205 the ZIP link on the Github website, since the included repositories
samer@0 206 for each composer will not be included in that ZIP file. You must
samer@0 207 either use [git](http://en.wikipedia.org/wiki/Git_%29software%29)
samer@0 208 software or separately download each of the individual composer's
samer@0 209 ZIP files linked from the table above. Use [this bash
samer@0 210 script](https://gist.github.com/josquin-research-project/8177804)
samer@0 211 to download manually using wget (usually for linux &
samer@0 212 [cygwin](http://www.cygwin.com)), or [this bash
samer@0 213 script](https://gist.github.com/josquin-research-project/8177884)
samer@0 214 for OS X.
samer@0 215
samer@0 216
samer@0 217 # Update #
samer@0 218
samer@0 219 After you have downloaded this repository with `git`, you can check
samer@0 220 periodically for updates for all composers' works using this command:
samer@0 221
samer@0 222 <code>
samer@0 223 git pull --recurse-submodules<br>
samer@0 224 git submodule foreach git checkout master
samer@0 225 </code>
samer@0 226
samer@0 227 Alternatively, the makefile in the base directory can be used to
samer@0 228 run this command:
samer@0 229
samer@0 230 <code>make update</code>
samer@0 231
samer@0 232 If the scores were downloaded manually with one of the two gist
samer@0 233 scripts below, you must re-download all files to check for updates.
samer@0 234 Re-run one of these two scripts using either
samer@0 235 [wget](https://gist.github.com/josquin-research-project/8177804)
samer@0 236 (linux & cygwin) or
samer@0 237 [curl](https://gist.github.com/josquin-research-project/8177884)
samer@0 238 (Apple OS X).
samer@0 239
samer@0 240 # Processing scores #
samer@0 241
samer@0 242 The digital scores in this repository are designed to work with the
samer@0 243 [Humdrum Toolkit](http://www.humdrum.org/Humdrum)
samer@0 244 ([github](https://github.com/kroger/humdrum)) as well as [Humdrum
samer@0 245 Extras](http://extra.humdrum.org)
samer@0 246 ([github](https://github.com/craigsapp/humextra)).
samer@0 247 A makefile in the base directory of the repository contains some
samer@0 248 basic processing commands which either require
samer@0 249 [Humdrum Extras](http://extras.humdrum.org) to manipulate the
samer@0 250 data files, or commands (starting with "web") which download data
samer@0 251 generated online by the [JRP website](http://josquin.stanford.edu).
samer@0 252
samer@0 253 Here are some of the make commands which you can run in the base directory
samer@0 254 of the downloaded repository:
samer@0 255
samer@0 256 <table>
samer@0 257 <tr><td width=200 colspan=2> No additional software needed: </td></tr>
samer@0 258 <tr><td><tt>make</tt></td>
samer@0 259 <td> List all of the possible make commands (i.e., this list).
samer@0 260 </tr>
samer@0 261 <tr><td><tt>make&nbsp;update</tt></td>
samer@0 262 <td> Download any updates to the online repository.
samer@0 263 </tr>
samer@0 264 <tr><td><tt>make&nbsp;clean</tt></td>
samer@0 265 <td> Delete directories of data created by this makefile, such as
samer@0 266 <tt>kern-reduced</tt>, <tt>midi</tt>, <tt>pdf</tt>,
samer@0 267 <tt>pdf-notext</tt>.
samer@0 268 </tr>
samer@0 269 <tr><td><tt>make&nbsp;notitle</tt></td>
samer@0 270 <td> Remove titles from files names and store in directory
samer@0 271 called kern-notitle in each composer's directory.
samer@0 272 </tr>
samer@0 273 <tr><td><tt>make&nbsp;web-pdf</tt></td>
samer@0 274 <td> Download PDF files for graphical music scores for each piece from the
samer@0 275 <a href=http://josquin.stanford.edu>JRP website</a>.
samer@0 276 </tr>
samer@0 277 <tr><td><tt>make&nbsp;web-pdf-notext</tt></td>
samer@0 278 <td> Download PDF files for graphical music scores for each piece from the
samer@0 279 <a href=http://josquin.stanford.edu>JRP website</a> with lyrics removed
samer@0 280 from all parts.
samer@0 281 </tr>
samer@0 282 <tr><td><tt>make&nbsp;web-reduced</tt></td>
samer@0 283 <td> Download version of the data file which divides all note durations
samer@0 284 by a factor of four. This data is useful for doing rhythmic
samer@0 285 analysis with the standard Humdrum Toolkit.
samer@0 286 </tr>
samer@0 287 <tr><td colspan=2> <a href=http://github.com/craigsapp/humextra>Humdrum Extras</a>
samer@0 288 installation required: </td></tr>
samer@0 289 <tr><td><tt>make&nbsp;reduced</tt></td>
samer@0 290 <td> Decrease all note durations by a factor of four. Output data
samer@0 291 will be stored in a directory called <tt>kern-reduced</tt> within
samer@0 292 each composer's directory. Similar to <tt>make web-reduced</tt>, but
samer@0 293 much faster.
samer@0 294 </tr>
samer@0 295 <tr><td><tt>make&nbsp;notext</tt></td>
samer@0 296 <td> Remove lyrics from all parts. Resulting data
samer@0 297 will be stored in a directory called <tt>kern-notext</tt> within
samer@0 298 each composer's directory.
samer@0 299 </tr>
samer@0 300 <tr><td><tt>make&nbsp;genres</tt></td>
samer@0 301 <td> Download works organized by genre from kernScores.
samer@0 302 </tr>
samer@0 303 <tr><td colspan=2> <a href=http://github.com/kroger/humdrum>Humdrum Toolkit</a>
samer@0 304 installation required: </td></tr>
samer@0 305 <tr><td><tt>make&nbsp;census</tt></td>
samer@0 306 <td> Run <tt>census&nbsp;-k</tt> on all works.
samer@0 307 </tr>
samer@0 308 </table>
samer@0 309
samer@0 310
samer@0 311
samer@0 312 ### Rhythm representation considerations ###
samer@0 313
samer@0 314 For proper rhythmic parsing in the Humdrum Toolkit, some files
samer@0 315 containing rational rhythmic values need to be diminuted by a factor
samer@0 316 of four to convert whole notes (typically the rhythmic level of a
samer@0 317 beat in the early Renaissance), into quarter notes (the typical
samer@0 318 modern rhythmic level for beats). This can be done with the
samer@0 319 [rscale](http://extras.humdrum.org/man/rscale) tool to apply a
samer@0 320 rhythmic scaling of 1/4 to all notes in all scores:
samer@0 321
samer@0 322 <code>rscale -f 1/4 oldfile > newfile</code>
samer@0 323
samer@0 324 A makefile in the base directory of this repository ([this
samer@0 325 one](https://github.com/josquin-research-project/jrp-scores/blob/master/Makefile)
samer@0 326 contains instructions to generate reduced rhythmic versions of all
samer@0 327 files. Type (if [Humdrum Extras](https://github.com/craigsapp/humextra)
samer@0 328 is installed):
samer@0 329
samer@0 330 <code>make reduced</code>
samer@0 331
samer@0 332 or if humextras is not installed, type:
samer@0 333
samer@0 334 <code>make web-reduced</code>
samer@0 335
samer@0 336 to download the reduced form from the JRP website ([example](http://josquin.stanford.edu/data?a=humdrumreduced&f=Jos2721-La_Bernardina)). This will create
samer@0 337 subdirectories in each composer directory named
samer@0 338 ```kern-reduced``` with the reduced rhythmic versions of the data files.
samer@0 339
samer@0 340
samer@0 341
samer@0 342 ### Other example processing ###
samer@0 343
samer@0 344 Here are some other interesting processing actions:
samer@0 345
samer@0 346 * Determine works that include text/lyrics: <code>grep -rl '\*\*text' \*/kern/\*</code>
samer@0 347
samer@0 348
samer@0 349 # Alternate data access #
samer@0 350
samer@0 351 ### JRP website ###
samer@0 352
samer@0 353 The website http://josquin.stanford.edu is a high-level interface
samer@0 354 to these scores, but also includes lower-level access to the data,
samer@0 355 data conversions, and analytic tools using URL parameters in the
samer@0 356 web address. On the JRP website, each score has a "work info" page
samer@0 357 generated with this format:
samer@0 358
samer@0 359 <code>http://jrp.stanford.edu/cgi-bin/jrp?a=info&f=Jos2721</code>
samer@0 360
samer@0 361 Where ```Jos2721``` is the JRP catalog number 2721 from Josquin's
samer@0 362 collection of works, and ```info``` is the *action* being applied
samer@0 363 to the given work (file) which causes the work-info page to be
samer@0 364 displayed. A title may optionally follow the catalog number (with
samer@0 365 exact spelling of the title in the database):
samer@0 366
samer@0 367 <code>http://jrp.stanford.edu/cgi-bin/jrp?a=info&f=Jos2721-La_Bernardina</code>
samer@0 368
samer@0 369 A file extension can also be given (.krn in this case) but will
samer@0 370 always be ignored. Example Humdrum data file access by setting the
samer@0 371 *action* to "humdrum":
samer@0 372
samer@0 373 <code>http://jrp.stanford.edu/cgi-bin/jrp?a=humdrum&f=Jos2721-La_Bernardina</code>
samer@0 374
samer@0 375 Example MIDI data file access by setting the *action* to "midi":
samer@0 376
samer@0 377 <code>http://jrp.stanford.edu/cgi-bin/jrp?a=midi&f=Jos2721-La_Bernardina</code>
samer@0 378
samer@0 379 Example graphical music scores in PDF format with four possible styles:
samer@0 380 * Without editorial accidentals or text: <code>http://jrp.stanford.edu/cgi-bin/jrp?a=notationnoedit&f=Duf1005a-Missa_Se_la_face_ay_pale-Kyrie</code>
samer@0 381 * Without editorial accidentals but with text: <code>http://jrp.stanford.edu/cgi-bin/jrp?a=notationnoeditwithtext&f=Duf1005a-Missa_Se_la_face_ay_pale-Kyrie</code>
samer@0 382 * With editorial accidentals but without text: <code>http://jrp.stanford.edu/cgi-bin/jrp?a=notationwitheditorial&f=Duf1005a-Missa_Se_la_face_ay_pale-Kyrie</code>
samer@0 383 * With editorial accidentals and with text: <code>http://jrp.stanford.edu/cgi-bin/jrp?a=notationwitheditorialwithtext&f=Duf1005a-Missa_Se_la_face_ay_pale-Kyrie</code>
samer@0 384
samer@0 385 Scores are generated from the original Humdrum **kern scores found
samer@0 386 in this repository for each work, so music notation in the PDF files
samer@0 387 should match exactly. Online PDF files of the scores are created
samer@0 388 using the [hum2muse](http://extra.humdrum.org/man/hum2muse) converter
samer@0 389 which translates Humdrum files into MuseData file which can then
samer@0 390 be converted into PostScript files with
samer@0 391 [muse2ps](http://muse2ps.ccarh.org).
samer@0 392
samer@0 393
samer@0 394 ### kernScores website ###
samer@0 395
samer@0 396 The [kernScores](http://kern.humdrum.org) library of musical scores
samer@0 397 for analysis in the Humdrum Toolkit has a page dedicated to the JRP
samer@0 398 scores:
samer@0 399
samer@0 400 <code>http://kern.humdrum.org/browse?l=jrp</code>
samer@0 401
samer@0 402
samer@0 403 ### Humdrum Extras tools/library ###
samer@0 404
samer@0 405 The [Humdrum Extras](http://extra.humdrum.org) tools/library
samer@0 406 ([github](https://github.com/craigsapp/humextra)) contains internal
samer@0 407 knowledge for how to download the digital scores on the command
samer@0 408 line. To download from the JRP website, the filename is prefixed
samer@0 409 by ```jrp://```. To download from the kernScores website, the
samer@0 410 prefix is ```humdrum://```, or ```h://``` for short. KernScores
samer@0 411 access requires the exact file name (catalog number, title, file
samer@0 412 extension), while JRP access requires only the catalog number.
samer@0 413
samer@0 414 Examples:
samer@0 415
samer@0 416 <code>humcat h://jrp/Jos/Jos2721-La_Bernardina.krn<br>
samer@0 417 humcat jrp://Jos2721-La_Bernardina.krn<br>
samer@0 418 humcat jrp://Jos2721</code>
samer@0 419
samer@0 420 Since it requires the full filename for accessing individual
samer@0 421 files, the kernScores downloading method is instead mostly useful
samer@0 422 for downloading an entire set of composer's works. Try the following
samer@0 423 humextra command to download all of the works for Ockeghem:
samer@0 424
samer@0 425 <code>mkdir Ock; cd Ock; humsplit h://jrp/Ock</code>
samer@0 426
samer@0 427 The kernScores website has five meta-collections of the scores: two for Josquin
samer@0 428 authenticity levels, and three for the main genres of mass, motet and song. These
samer@0 429 can be downloaded like this on the command line:
samer@0 430
samer@0 431 <table>
samer@0 432 <tr>
samer@0 433 <td>
samer@0 434
samer@0 435 Secure Josquin set:
samer@0 436 </td><td>
samer@0 437 <code>mkdir -p Joa/kern; (cd Joa/kern; humsplit h://jrp/Joa)</code>
samer@0 438 </td></tr><tr><td>
samer@0 439
samer@0 440 Not secure Josquin set:
samer@0 441 </td><td>
samer@0 442 <code>mkdir -p Job/kern; (cd Job/kern; humsplit h://jrp/Job)</code>
samer@0 443 </td></tr><tr><td>
samer@0 444
samer@0 445 All mass sections:
samer@0 446 </td><td>
samer@0 447 <code>mkdir -p Zma/kern; (cd Zma/kern; humsplit h://jrp/Zma)</code>
samer@0 448 </td></tr><tr><td>
samer@0 449
samer@0 450 All motets:
samer@0 451 </td><td>
samer@0 452 <code>mkdir -p Zmo/kern; (cd Zmo/kern; humsplit h://jrp/Zmo)</code>
samer@0 453 </td></tr><tr><td>
samer@0 454
samer@0 455 All songs:
samer@0 456 </td><td>
samer@0 457 <code>mkdir -p Zso/kern; (cd Zso/kern; humsplit h://jrp/Zso)</code>
samer@0 458 </td></tr>
samer@0 459
samer@0 460 </table>
samer@0 461
samer@0 462 Type ```make genres``` in the base directory of the repository if
samer@0 463 [Humdrum Extras](https://github.com/craigsapp/humextras) is installed to
samer@0 464 download the Zma, Zmo, and Zso genre groupings from the kernScores website.
samer@0 465
samer@0 466 Type ```make Joa; make Job``` in the base directory of the repository if
samer@0 467 [Humdrum Extras](https://github.com/craigsapp/humextras) is installed to
samer@0 468 download the secure and not secure groupings of Josquin music.
samer@0 469
samer@0 470
samer@0 471
samer@0 472