How to know which app is playing a sound? [duplicate]

There are a couple of sounds that my mac makes, which annoy the heck out of me.

However, I don't know which application that's running is making these (perhaps it's the system itself)

Is there a way to identify which app recently caused a sound to play?


Solution 1:

I was going to suggest WireTap products from Ambrosia

They had the ability to differentiate sounds from different applications, however due to the nature of Lion these products no longer do that and Apples sand boxing requirement is going to make it worse.