Music theory is fun and great, but if you don't come from the background, it might seem intimidating. I wrote a blog post to help look at it in a programmatical way. Then I wrote another one. This repo holds the code I used if you want to make copy/pasting easier.
Beerware