Package javax.sound.sampled

Interface Summary
Clip sample code for javax.sound.sampled.Clip definition code for javax.sound.sampled.Clip 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.
DataLine sample code for javax.sound.sampled.DataLine definition code for javax.sound.sampled.DataLine DataLine adds media-related functionality to its superinterface, Line sample code for javax.sound.sampled.Line definition code for javax.sound.sampled.Line .
Line sample code for javax.sound.sampled.Line definition code for javax.sound.sampled.Line The Line interface represents a mono or multi-channel audio feed.
LineListener sample code for javax.sound.sampled.LineListener definition code for javax.sound.sampled.LineListener Instances of classes that implement the LineListener interface can register to receive events when a line's status changes.
Mixer sample code for javax.sound.sampled.Mixer definition code for javax.sound.sampled.Mixer A mixer is an audio device with one or more lines.
Port sample code for javax.sound.sampled.Port definition code for javax.sound.sampled.Port Ports are simple lines for input or output of audio to or from audio devices.
SourceDataLine sample code for javax.sound.sampled.SourceDataLine definition code for javax.sound.sampled.SourceDataLine A source data line is a data line to which data may be written.
TargetDataLine sample code for javax.sound.sampled.TargetDataLine definition code for javax.sound.sampled.TargetDataLine A target data line is a type of DataLine sample code for javax.sound.sampled.DataLine definition code for javax.sound.sampled.DataLine from which audio data can be read.
 

Class Summary
AudioFileFormat sample code for javax.sound.sampled.AudioFileFormat definition code for javax.sound.sampled.AudioFileFormat 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.
AudioFileFormat.Type sample code for javax.sound.sampled.AudioFileFormat.Type definition code for javax.sound.sampled.AudioFileFormat.Type An instance of the Type class represents one of the standard types of audio file.
AudioFormat sample code for javax.sound.sampled.AudioFormat definition code for javax.sound.sampled.AudioFormat AudioFormat is the class that specifies a particular arrangement of data in a sound stream.
AudioFormat.Encoding sample code for javax.sound.sampled.AudioFormat.Encoding definition code for javax.sound.sampled.AudioFormat.Encoding The Encoding class names the specific type of data representation used for an audio stream.
AudioInputStream sample code for javax.sound.sampled.AudioInputStream definition code for javax.sound.sampled.AudioInputStream An audio input stream is an input stream with a specified audio format and length.
AudioPermission sample code for javax.sound.sampled.AudioPermission definition code for javax.sound.sampled.AudioPermission The AudioPermission class represents access rights to the audio system resources.
AudioSystem sample code for javax.sound.sampled.AudioSystem definition code for javax.sound.sampled.AudioSystem The AudioSystem class acts as the entry point to the sampled-audio system resources.
BooleanControl sample code for javax.sound.sampled.BooleanControl definition code for javax.sound.sampled.BooleanControl A BooleanControl provides the ability to switch between two possible settings that affect a line's audio.
BooleanControl.Type sample code for javax.sound.sampled.BooleanControl.Type definition code for javax.sound.sampled.BooleanControl.Type An instance of the BooleanControl.Type class identifies one kind of boolean control.
CompoundControl sample code for javax.sound.sampled.CompoundControl definition code for javax.sound.sampled.CompoundControl A CompoundControl, such as a graphic equalizer, provides control over two or more related properties, each of which is itself represented as a Control.
CompoundControl.Type sample code for javax.sound.sampled.CompoundControl.Type definition code for javax.sound.sampled.CompoundControl.Type An instance of the CompoundControl.Type inner class identifies one kind of compound control.
Control sample code for javax.sound.sampled.Control definition code for javax.sound.sampled.Control Lines sample code for javax.sound.sampled.Line definition code for javax.sound.sampled.Line often have a set of controls, such as gain and pan, that affect the audio signal passing through the line.
Control.Type sample code for javax.sound.sampled.Control.Type definition code for javax.sound.sampled.Control.Type An instance of the Type class represents the type of the control.
DataLine.Info sample code for javax.sound.sampled.DataLine.Info definition code for javax.sound.sampled.DataLine.Info Besides the class information inherited from its superclass, DataLine.Info provides additional information specific to data lines.
EnumControl sample code for javax.sound.sampled.EnumControl definition code for javax.sound.sampled.EnumControl A EnumControl provides control over a set of discrete possible values, each represented by an object.
EnumControl.Type sample code for javax.sound.sampled.EnumControl.Type definition code for javax.sound.sampled.EnumControl.Type An instance of the EnumControl.Type inner class identifies one kind of enumerated control.
FloatControl sample code for javax.sound.sampled.FloatControl definition code for javax.sound.sampled.FloatControl A FloatControl object provides control over a range of floating-point values.
FloatControl.Type sample code for javax.sound.sampled.FloatControl.Type definition code for javax.sound.sampled.FloatControl.Type An instance of the FloatControl.Type inner class identifies one kind of float control.
Line.Info sample code for javax.sound.sampled.Line.Info definition code for javax.sound.sampled.Line.Info A Line.Info object contains information about a line.
LineEvent sample code for javax.sound.sampled.LineEvent definition code for javax.sound.sampled.LineEvent The LineEvent class encapsulates information that a line sends its listeners whenever the line opens, closes, starts, or stops.
LineEvent.Type sample code for javax.sound.sampled.LineEvent.Type definition code for javax.sound.sampled.LineEvent.Type The LineEvent.Type inner class identifies what kind of event occurred on a line.
Mixer.Info sample code for javax.sound.sampled.Mixer.Info definition code for javax.sound.sampled.Mixer.Info The Mixer.Info class represents information about an audio mixer, including the product's name, version, and vendor, along with a textual description.
Port.Info sample code for javax.sound.sampled.Port.Info definition code for javax.sound.sampled.Port.Info The Port.Info class extends Line.Info sample code for javax.sound.sampled.Line.Info definition code for javax.sound.sampled.Line.Info with additional information specific to ports, including the port's name and whether it is a source or a target for its mixer.
ReverbType sample code for javax.sound.sampled.ReverbType definition code for javax.sound.sampled.ReverbType The ReverbType class provides methods for accessing various reverberation settings to be applied to an audio signal.
 

Exception Summary
LineUnavailableException sample code for javax.sound.sampled.LineUnavailableException definition code for javax.sound.sampled.LineUnavailableException A LineUnavailableException is an exception indicating that a line cannot be opened because it is unavailable.
UnsupportedAudioFileException sample code for javax.sound.sampled.UnsupportedAudioFileException definition code for javax.sound.sampled.UnsupportedAudioFileException 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.