The shortest distance between two notes in the keyboard