Class WavUtil


  • public final class WavUtil
    extends Object
    Utilities for handling WAVE files.
    • Field Detail

      • RIFF_FOURCC

        public static final int RIFF_FOURCC
        Four character code for "RIFF".
        See Also:
        Constant Field Values
      • WAVE_FOURCC

        public static final int WAVE_FOURCC
        Four character code for "WAVE".
        See Also:
        Constant Field Values
      • FMT_FOURCC

        public static final int FMT_FOURCC
        Four character code for "fmt ".
        See Also:
        Constant Field Values
      • DATA_FOURCC

        public static final int DATA_FOURCC
        Four character code for "data".
        See Also:
        Constant Field Values
      • TYPE_PCM

        public static final int TYPE_PCM
        WAVE type value for integer PCM audio data.
        See Also:
        Constant Field Values
      • TYPE_FLOAT

        public static final int TYPE_FLOAT
        WAVE type value for float PCM audio data.
        See Also:
        Constant Field Values
      • TYPE_ALAW

        public static final int TYPE_ALAW
        WAVE type value for 8-bit ITU-T G.711 A-law audio data.
        See Also:
        Constant Field Values
      • TYPE_MLAW

        public static final int TYPE_MLAW
        WAVE type value for 8-bit ITU-T G.711 mu-law audio data.
        See Also:
        Constant Field Values
      • TYPE_IMA_ADPCM

        public static final int TYPE_IMA_ADPCM
        WAVE type value for IMA ADPCM audio data.
        See Also:
        Constant Field Values
      • TYPE_WAVE_FORMAT_EXTENSIBLE

        public static final int TYPE_WAVE_FORMAT_EXTENSIBLE
        WAVE type value for extended WAVE format.
        See Also:
        Constant Field Values