Navigate to Sound in Control Panel, and from the Sound window move the the “Sounds” tab. Scroll down to the Program Events and search for “Microsoft Visual Studio”
http://dailydotnettips.com/2016/01/11/did-you-know-you-can-play-sound-when-build-succeeded-or-failed-in-visual-studio/
http://dailydotnettips.com/2016/01/11/did-you-know-you-can-play-sound-when-build-succeeded-or-failed-in-visual-studio/