The sounds will be played on the sound hardware of the Jenkins host. If you're not sure the hardware is present or correctly configured, use the 'Test sound' option in Advanced config.