Getting an Outside Line: Working with Low-Level Java Sound

For those of you who want to work with low-level signal processing (and individual sound samples), the Java Sound API provides the ability to do this. You can read and write data streams to and from audio ports, convert audio files between types, and process audio data in real time. In this section we will see how to obtain an audio line and use it to send or receive raw audio data. The details of real-time signal processing are beyond the scope of this book, and here we will be working only with the basics of getting an audio channel.

Java Sound's AudioSystem class provides access ...

Get Wicked Cool Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.