Basic Music Theory in ~200 Lines of Python
I’m a self-taught guitarist of many years, and like a lot of self-taught musicians, am woefully inept at (Western) music theory.
So naturally, I decided to write some code.
This article explains the very basics of Western music theory in around 200 lines of Python.
Source: Basic Music Theory in ~200 Lines of Python, an article by Manohar Vanga.