Java has a rich set of features for recording, mixing, and playing sound samples and MIDI sequences using a variety of classes that you will learn about in this chapter. You will learn about Java’s rich set of sound support classes for loading and playing audio files in a variety of formats through Java’s sound mixer. You will then learn about MIDI files and how to load and play them through Java’s MIDI sequencer.
Here is a rundown of the key topics in this chapter:
Loading and playing digital files
Loading and playing MIDI files
Writing some reusable audio classes
Java’s Sound API provides a package for working with digital sample files, which has methods for loading a sample file (AIFF, ...