Made a sound effect play when the volume is changed.