Class SoundUtils

java.lang.Object
org.luwrain.util.SoundUtils

public class SoundUtils extends Object
  • Constructor Details

    • SoundUtils

      public SoundUtils()
  • Method Details

    • createWaveHeader

      public static byte[] createWaveHeader(int sampleRate, int bitsPerSample, int numChannels, int dataLen)
    • createWaveHeader

      public static byte[] createWaveHeader(AudioFormat audioFormat, int dataLen)
    • createAudioFormat

      public static AudioFormat createAudioFormat(String params)
    • setLineMasterGanePercent

      public static boolean setLineMasterGanePercent(SourceDataLine line, int percent)