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 |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
0 replies
-
note: macOS has ScreenCaptureKit |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions