AudioFormat.Encoding
Class AudioFormat.Encoding
- java.lang.Object
-
- javax.sound.sampled.AudioFormat.Encoding
- Enclosing class:
- AudioFormat
public static class AudioFormat.Encoding extends Object
The Encoding
class names the specific type of data representation used for an audio stream. The encoding includes aspects of the sound format other than the number of channels, sample rate, sample size, frame rate, frame size, and byte order.
One ubiquitous type of audio encoding is pulse-code modulation (PCM), which is simply a linear (proportional) representation of the sound waveform. With PCM, the number stored in each sample is proportional to the instantaneous amplitude of the sound