The :CueCat people were doing that too!
They had a thing that would MITM the sound card ports, just like they MITMed the PS/2 port. The idea was to get your audio card listening to ambient sounds to identify sub-audible tones in TV ads, so that you could watch matching ads on your PC while the television was on.