pyabc2.sources.hardy.load_meta¶
- pyabc2.sources.hardy.load_meta(key, *, redownload=False, remove_prefs=('%',))¶
Load ABC tune blocks from a Paul Hardy tunebook, no parsing.
- Parameters:
key (str) –
Tunebook key.
Key
Description
sessionPaul Hardy’s Session Tunebook (the main tunebook)
annexPaul Hardy’s Annex Tunebook (current edition; tunes awaiting next session edition)
basicPaul Hardy’s Basic Tunebook (subset of simpler/common session tunes)
xmasPaul Hardy’s Xmas Tunebook (Christmas tunes and carols)
possiblePaul Hardy’s Possible Tunebook (tunes not yet fully learned)
pete_macPaul Hardy’s Pete Mac Tunebook (CC0 tunes by Pete Mac)
clarkeWilliam Clarke of Feltwell Tunebook (19th century East Anglian manuscript)
See https://pghardy.net/tunebooks/ for more information.
redownload (bool) – Re-download the data file.
remove_prefs (str | tuple[str, ...] | Literal[False]) – Remove lines starting with these prefixes (applied at load time; cached file is unmodified). Defaults to
("%",), which strips all%comment and%%directive lines. PassFalseor()to keep all lines.
- Return type:
See also