Chris Huang-Leaver
Chris Huang-Leaver

Reputation: 6089

Make a silly sound when build succeeds

I was thinking of adding a 'Post build' step, which plays a silly fan fair effect when a build succeeds.

Is there a command line utility to play the sound effect or an easier way of achieving this vital programming goal!

Upvotes: 11

Views: 3073

Answers (4)

vmg
vmg

Reputation: 10576

There is Visual Studio Ding extension.

This small extension will play notification sounds when following events occur:

Build Complete

Entering debugger mode (breakpoint hit, etc) Unit tests finished to run

https://visualstudiogallery.msdn.microsoft.com/941d0ed0-1218-452e-8585-d3ac693cda17

Upvotes: 2

ds27680
ds27680

Reputation: 1993

You could also take a look at this since it is actually an older duplicate of your question with more sugestions that might just work:

How can I get Visual Studio to beep at me if a build succeeds?

For VS 2008 and newer you should look at this (some people mention they have the options in Sounds and Audio Devices dialog with 2005 SP1 installed while others say with 2005 it never works/worked- but who knows maybe you just get lucky ;-)):

http://weblogs.asp.net/rrobbins/archive/2007/11/02/sound-events-for-visual-studio.aspx

Upvotes: 5

Lixas
Lixas

Reputation: 7318

you could use command line audio players like http://www.mpg123.de/

Upvotes: 1

Mac
Mac

Reputation: 8339

If you don't mind the Windows Media Player popping up (and staying open), you could either try

"%ProgramFiles%\Windows Media Player\wmplayer.exe" foo.wav

or

start foo.wav

Or I guess you would have to use a custom sound player (or build your own).

Upvotes: 3

Related Questions