mirror of
https://github.com/kennethreitz/pytheory.git
synced 2026-06-21 23:10:57 +00:00
c79d1b97da
- Export `Hit` at the top level (alias `_Hit` kept for back-compat) so building a Pattern no longer needs a private import. - `score.drums()` accepts a `Pattern` object, not just a preset name — custom grooves get the same repeats/fill/split/layer options. - `layer=True` on `drums()`/`add_pattern()` overlays patterns instead of appending them, replacing the `_drum_pattern_beats` cursor hack — the supported way to stack grooves and polyrhythms. Adds tests and updates the drums guide + changelog. Refs #52, #55, #56. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>