javax.sound (Java SE 25 & JDK 25)
Description: declaration: module: java.desktop, package: javax.sound
Keywords: javax.sound package

# Package javax.sound

package javax.sound
Provides interfaces and classes for the Java Sound API. The API is divided into sub-packages.

- Capture, processing and playback of sampled audio data is under `javax.sound.sampled`.
- Sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data is under `javax.sound.midi`.

## Related Documentation

For more information on using Java Sound see:

- The Java Sound Tutorial

Since:
  25

- Related Packages
  Package
  Description
  javax.sound.midi
  Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
  javax.sound.sampled
  Provides interfaces and classes for capture, processing, and playback of sampled audio data.
- Classes
  Class
  Description
  SoundClip
  The `SoundClip` class is a simple abstraction for playing a sound clip.