mirror of
https://github.com/kennethreitz/pytheory.git
synced 2026-07-21 18:19:30 +00:00
4f3ca84965
Add reharmonize_progression(chords, key, technique): three techniques — "secondary_dominants" (insert V7/x before each diatonic non-tonic chord, the cycle-of-dominants reharm), "tritone" (swap dominants for their tritone subs), and "diatonic" (common-tone substitution throughout). The CLI `pytheory reharmonize` now takes one chord (substitution ideas) or several (reharmonize the progression, --technique selectable), both with --json/--play. Documented in the chords guide, CLI guide, and chord-lab skill; +4 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ijpMiuST8kXnBoB5pSu8t