internalise music theory until you can hear it
type the notes, hear them back, then name them by ear