Interface WavSettings.Builder

  • Method Details

    • bitDepth

      WavSettings.Builder bitDepth(Integer bitDepth)
      Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
      Parameters:
      bitDepth - Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      WavSettings.Builder channels(Integer channels)
      Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
      Parameters:
      channels - Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      WavSettings.Builder format(String format)
      Specify the file format for your wave audio output. To use a RIFF wave format: Keep the default value, RIFF. If your output audio is likely to exceed 4GB in file size, or if you otherwise need the extended support of the RF64 format: Choose RF64. If your player only supports the extensible wave format: Choose Extensible.
      Parameters:
      format - Specify the file format for your wave audio output. To use a RIFF wave format: Keep the default value, RIFF. If your output audio is likely to exceed 4GB in file size, or if you otherwise need the extended support of the RF64 format: Choose RF64. If your player only supports the extensible wave format: Choose Extensible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      Specify the file format for your wave audio output. To use a RIFF wave format: Keep the default value, RIFF. If your output audio is likely to exceed 4GB in file size, or if you otherwise need the extended support of the RF64 format: Choose RF64. If your player only supports the extensible wave format: Choose Extensible.
      Parameters:
      format - Specify the file format for your wave audio output. To use a RIFF wave format: Keep the default value, RIFF. If your output audio is likely to exceed 4GB in file size, or if you otherwise need the extended support of the RF64 format: Choose RF64. If your player only supports the extensible wave format: Choose Extensible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sampleRate

      WavSettings.Builder sampleRate(Integer sampleRate)
      Sample rate in Hz.
      Parameters:
      sampleRate - Sample rate in Hz.
      Returns:
      Returns a reference to this object so that method calls can be chained together.