Is it possible to capture soundoutput of the computer in Java?
It is possible to capture the microphone but that’s not what I need, I need to capture parts of sound that the computer is playing and I can’t figure it out.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think it’s possible only if you have virtual audiodevice (native soundcard driver with “What U Hear” feature, Virtual Audio Cable, Virtual Audio Streaming or similar). After that you just find a mixer that corresponds to virtual audiodevice and create TargetDataLine.
You can do it by modifying the following code example: