The musician's guide to perception and cognition