Eric Lippert
has an incredibly interesting five-part blogpost about the mathematical
essence of musical theory, along with some pretty nifty demonstrations.
I've dabbled a little in the more practical applications of musical
theory before (writing wave and module players and some basic software
synths) but honestly have never been really interested in its
mathematical/physical aspects.
This, ladies and gentleman, is interesting shit.