How does resonance affect the sound quality of a musical instrument?