Music theory and fretboard logic