Intercepting OS's Sound Output
I am developing a desktop 'widget' system in java, and one of the widgets I plan to develop is a simple sound visualization display, similar to those found in many media players except that it would display any sound the OS outputs.
However, I am struggling to find a method of intercepting the operating system's sound output. The functionality I require is basically the same as that required for an application that can record "what you hear". Is it possible to do this using the javax.sound / jmf libraries?

