Search code examples
javaaudiojavafxjavafx-8audio-capture

does javafx has built in audio capture?


I know there is a duplicate question right here, but it's obsolete, so does javafx support audio capture.

Does it have any audio capturing API or interfaces, i know of AudioClip in javafx.scene.media. but it's only for playback.


Solution

  • No, JavaFX 8 does not have an audio capture API.

    There is an existing feature request (currently scheduled for implementation in Java 9):

    For now, you can use the existing javax.sound API (which will probably work just fine from a JavaFX application), as suggested in Robin Jonsson's coment.