Humdrum lab 4
This lab introduces the digital scores of the Josquin Research Project
Download the data
First download the data by genre:
cd ~/Desktop mkdir jrp cd jrp mkdir masses (cd masses; humsplit h://jrp/Zma) mkdir motets (cd motets; humsplit h://jrp/Zmo) mkdir songs (cd songs; humsplit h://jrp/Zso)
There are three basic genres: secular songs, religious songs (motets), and music for the mass ordinary.
You can also download works by composer, such as Jean Mouton:
Josquin securely attributed works:
Josquin not securely attributed works:
All of Josquin works:
Alternatively, the JRP database is available on github at https://github.com/josquin-research-project/jrp-scores
How much data is there?
How many files:
cd ~/Desktop/jrp ls masses motets songs | grep krn | wc -l
(Github is more recent).
How many notes:
cat */*.krn | extractx -i **kern | census -k
There are 803,046 notes
for i in masses motets songs do echo "$i:" cat $i/*.krn | extractx -i **kern | census -k | grep "Number of notes" done