CraigMason19/music_theory ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python package that helps me learn music theory by working things out for me.
I want it to handle note transposition, interval distances, building scales from different formulas, finding all the modes of a note, and listing the chords in a key, including parallel chords and dominant seventh chords. It should also be able to turn roman numeral progressions into the right chords. Please make it easy to use from a simple main file, and include a few tests for the core theory logic.
Keep it lightweight since no extra packages are needed. I’d also like the output to be easy to read when I print a scale or key, like the examples in the README. If anything is unclear, use the README as the guide and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit