Replies: 3 comments 3 replies
|
see https://www.baeldung.com/java-sound-api-capture-mic byte[] buf = new byte[1024];
int l;
while (audioStream.available() > 0) {
l = audioStream.read(buf, 0, buf.length);
// buf is PCM you can DSP here
// then output DSP-ed buf to what you want
}and a DSP library https://github.com/psambit9791/jdsp |
3 replies
|
I can successfully capture system sound using the xt-audio library, but after capturing, the original sound is still exist, which means I have taken a copy of the sound and it is meaningless. I have searched for many methods, but I will continue to search for other methods. Thank you for your answer |
0 replies
|
note: macOS has ScreenCaptureKit |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to use Java to create a global DSP on Windows, which requires capturing sound card data and filtering the sound before outputting it. Do you have any methods to implement this
All reactions