The table below lists shortcuts in the location fields for data access.
This list is primarily for users of the humdrum:// URI,
as implemented in the Humdrum
Extras programs.
For example, accessing the 185 Cantata chorales by J.S. Bach from:
https://kern.humdrum.org/cgi-bin/ksbrowse?l=/musedata/bach/chorales
can also be done with a shorter location string:
https://kern.humdrum.org/cgi-bin/ksbrowse?l=185chorales
Example usages of the humdrum:// URI in command-line programs:
keycor humdrum://185chorales/chor-001.krn
is equivalent to the long-form:
keycor humdrum://musedata/bach/chorales/chor-001.krn
To interface the humdrum:// syntax with the classical Humdrum Toolkit
commands, you can use the
humcat program, as in:
humcat humdrum://185chorales/chor-001.krn | census -k
Some shortcuts combine multiple sources. For example
the
wtc1
namespace contains all of the
Well-Tempered Clavier, book 1 by J.S. Bach. This shortcut contains the union
of two separate sources,
wtc1p for the preludes from book 1, and
wtc1f for the fugues from book 1.
For example, the Humdrum URI:
humdrum://wtc1/wtc1p01.krn
maps to the full name:
humdrum://musedata/bach/keyboard/wtc-1/wtc1p01.krn
while
humdrum://wtc1/wtc1f01.krn
maps to the full name:
humdrum://osu/classical/bach/wtc1/wtc1f01.krn
|