javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
Related Documentation
For overviews, tutorials, examples, and guides,
please see:
@since 1.3
|
Java Source File Name | Type | Comment |
AudioFileFormat.java | Class | An instance of the AudioFileFormat class describes
an audio file, including the file type, the file's length in bytes,
the length in sample frames of the audio data contained in the file,
and the format of the audio data.
The
AudioSystem class includes methods for determining the format
of an audio file, obtaining an audio input stream from an audio file, and
writing an audio file from an audio input stream.
An AudioFileFormat object can
include a set of properties. |
AudioFormat.java | Class | AudioFormat is the class that specifies a particular arrangement of data in a sound stream.
By examing the information stored in the audio format, you can discover how to interpret the bits in the
binary sound data.
Every data line has an audio format associated with its data stream. |
AudioInputStream.java | Class | An audio input stream is an input stream with a specified audio format and
length. |
AudioPermission.java | Class | The AudioPermission class represents access rights to the audio
system resources. |
AudioSystem.java | Class | The AudioSystem class acts as the entry point to the
sampled-audio system resources. |
BooleanControl.java | Class | A BooleanControl provides the ability to switch between
two possible settings that affect a line's audio. |
Clip.java | Interface | The Clip interface represents a special kind of data line whose
audio data can be loaded prior to playback, instead of being streamed in
real time.
Because the data is pre-loaded and has a known length, you can set a clip
to start playing at any position in its audio data. |
CompoundControl.java | Class | A CompoundControl , such as a graphic equalizer, provides control
over two or more related properties, each of which is itself represented as
a Control . |
Control.java | Class | Line Lines often have a set of controls, such as gain and pan, that affect
the audio signal passing through the line. |
DataLine.java | Interface | DataLine adds media-related functionality to its
superinterface,
Line . |
EnumControl.java | Class | A EnumControl provides control over a set of
discrete possible values, each represented by an object. |
FloatControl.java | Class | A FloatControl object provides control over a range of
floating-point values. |
Line.java | Interface | The Line interface represents a mono or multi-channel
audio feed. |
LineEvent.java | Class | The LineEvent class encapsulates information that a line
sends its listeners whenever the line opens, closes, starts, or stops.
Each of these four state changes is represented by a corresponding
type of event. |
LineListener.java | Interface | Instances of classes that implement the LineListener interface can register to
receive events when a line's status changes. |
LineUnavailableException.java | Class | A LineUnavailableException is an exception indicating that a
line cannot be opened because it is unavailable. |
Mixer.java | Interface | A mixer is an audio device with one or more lines. |
Port.java | Interface | Ports are simple lines for input or output of audio to or from audio devices. |
ReverbType.java | Class | The ReverbType class provides methods for
accessing various reverberation settings to be applied to
an audio signal.
Reverberation simulates the reflection of sound off of
the walls, ceiling, and floor of a room. |
SourceDataLine.java | Interface | A source data line is a data line to which data may be written. |
TargetDataLine.java | Interface | A target data line is a type of
DataLine from which
audio data can be read. |
UnsupportedAudioFileException.java | Class | An UnsupportedAudioFileException is an exception indicating that an
operation failed because a file did not contain valid data of a recognized file
type and format. |