How to capture audio data in Java

I want to access the audio data that my microphone records using Java. How should I do it?

My goal is to save the recorded audio data and simultaneously play it back to the user.

+3
source share
2 answers

If you do not need any additional functions in JMF, I would avoid this, since the development cessation (the latest version since 2004), it has problems with compatibility with Java 6, has very limited functionality in the 64-bit version of VM and should be installed as a separate extension library.

, JavaSound (javax.sound), API Java.

+5

Java Media Framework

API Java Media Framework (JMF) , , , Java . , , , , , Java 2, Standard Edition (J2SE) , , - .

, .

+2

Source: https://habr.com/ru/post/1732840/


All Articles