I know Windows itself has this capability via the Windows API functions like waveInOpen, waveOutOpen, and related functions. But I don't see anything similar in Java. The Java Sound API described here https://www.oracle.com/java/technolo...sound-api.html says "The Java Sound API specification provides low-level support for audio operations such as audio playback and capture (recording), mixing, MIDI sequencing, and MIDI synthesis in an extensible, flexible framework." but doesn't mention if this is just for playing sound files (where the functions take file names as parameters) or whether it actually allows you to play and read actual buffers of sound data (which would be very useful for DSP type software) for processing sound data.