alto.notation_excerpts
Public-domain piano excerpts available for offline notation practice.
Excerpt
Excerpt(
folder: Path,
credit: str,
targets: tuple[str, ...],
)
A versioned score and its visible notation components in SVG marker order.
excerpts
@cache
def excerpts() -> dict[str, Excerpt]
Read the bundled excerpt manifests.
Returns
- dict: Passages keyed by their permanent, versioned directory names.
passages_by_term
@cache
def passages_by_term() -> dict[str, dict[str, list[int]]]
Group score locations by term and passage so dense passages do not dominate the selection.
Returns
- dict: Matching marker indices for each term in each passage.