Information and Resources for Technical Users

Digital scores

Digital scores in the JRP database are encoded in Humdrum syntax. The scores can be accessed in multiple ways, such as viewing directly on the website: http://josquin.stanford.edu/data?id=Ano3001&a=humdrum where Ano3001 is the JRP catalog number of the desired work. Similarly a matching PDF version of the graphical score generated from the Humdrum digital score is also available for each work: http://josquin.stanford.edu/data?id=Ano3001&a=notation

Also an archive of all digital scores in the JRP database can also be downloaded/browsed from Github: https://github.com/josquin-research-project/jrp-scores by using this git command: git clone --recursive https://github.com/josquin-research-project/jrp-scores Also run these commands to update to the latest versions of the scores: cd jrp-scores make update Special groupings of the scores can also be made: make genres This will create the directories "Zma" containing mass sections of all composers, and likewise "Zmo" for motets and "Zso" for songs. make joab This will create the directory "Joa" containing securely attributed works by Josquin, and "Job" for other Josquin works.

Digital score translations

The primary Humdrum format of the digital scores can be translated into other formats. Most of the translations listed below are available as links throughout the website, particularly in the "Downloads" section of the Work pages.

Translations into graphical music notation are available with several options to show data with/without editorial accidentals and text underlay: http://josquin.stanford.edu/data?id=Ano3001&a=notationEditText http://josquin.stanford.edu/data?id=Ano3001&a=notationEditNoText http://josquin.stanford.edu/data?id=Ano3001&a=notationNoEditText http://josquin.stanford.edu/data?id=Ano3001&a=notationNoEditNoText MuseData file translations are used to render the musical data into graphical scores as PDF files with muse2ps: http://josquin.stanford.edu/data?id=Ano3001&a=musedata MIDI files: http://josquin.stanford.edu/data?id=Ano3001&a=midi MP3 files: http://josquin.stanford.edu/data?id=Ano3001&a=mp3 MEI files: http://josquin.stanford.edu/data?id=Ano3001&a=mei

Website

Source files for the client-side of the website can be viewed on Github. The files are served with the Apache webserver, using server-side includes and Google's Pagespeed module for Apache which automates caching of files and automatic minimizing of JavaScript code for up to 50% faster webpage viewing. The following JavasScript libraries are used on the website:

Select2

A jQuery plugin. Web browsers currently do not allow applying CSS styles to most form elements. Therefore the JRP website uses plugin for styling selection menus. This for all drop-down menus on the website, such as on the Browse page.

ezMark

Another jQuery plugin used to style check boxes and radio buttons.

qTip

Another jQuery plugin used to manage tooltips.

Handlebars

Used for content templating, such as for creating the tables on the Census page and the list of error reports on the Error reports page.

D3

D3 is used to visualize analysis data, such as on the Ribbon plot page.