Can someone give me some info/background info on how I might go about writing an application that 'listens' to the sounds being made by the computer's sound card or a specific other program.
For example, if I kicked off a long-running 3rd party app that gives no indication of when it is done, except a loud 'DING!' sound. Is there anyway my application could 'listen' for that 'DING!' and then take some action?
I realize there are probably ways to avoid using sound in most situations, but I'm more curious than anything else.