Plays a sound when an input is recognized.