Reading the audio output from soundcard with java

1k views Asked by At

Is there anyway to read the audio outputted by a program/the soundcard? Sort of like, reading the audio output of itunes, or firefox. I've searched around and I can't find any way to do this as it requires interfacing with the soundcard.

Any help is appreciated!

1

There are 1 answers

0
James Black On

Once you send music to a sound card, it will be beyond java to connect to the sound card, as that will be low-level programming, so you will need to do some kernel level programming, which won't be trivial to do.

But, even if you go low-level, I doubt you will be able to tap after the sound card, and before the speaker.

You may be able to intercept before the sound card, but that depends on your OS and your sound card type.