mirror of
https://github.com/kennethreitz/pytheory.git
synced 2026-06-05 23:00:20 +00:00
d2058668a6
Flat keys now display flats (Bb, Eb, Ab) instead of sharps (A#, D#, G#). Uses the "no duplicate letter names" rule: if building a scale with sharps produces two notes with the same letter (e.g. C and C# in C minor), the scale is rebuilt with flat spellings instead. - Tone.add() and Tone.from_index() accept prefer_flats parameter - TonedScale detects flat vs sharp per-scale automatically - F major: Bb (not A#), Eb major: Ab Bb (not G# A#), etc. - All tests and docs updated to match Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>