Is there a way to get the sound from the default audio output for the computer? I don't want to manipulate it, I just want to make a visual representation of the frequencies; much like an equalizer.
The AudioSystem class acts as the entry point to the sampled-audio system resources. This class lets you query and access the mixers that are installed on the system. AudioSystem includes a number of methods for converting audio data between different formats, and for translating between audio files and streams.
This question is duplicate of:
Real Time Audio Visualization Java
The java sound API lets you interact with the current audio output. You can find the reference here:
http://www.java-tips.org/java-se-tips/javax.sound/capturing-audio-with-java-sound-api.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With