Chord, Scale and Harmonic Scale Analysis