code: public static AudioFormat createAudioFormat(EncodingName name, int sampleRate, int sampleSize, int channels) {
          AudioFormat fmt = createAudioFormat(name);
          fmt.setSampleRate(sampleRate);
          fmt.setSampleSize(sampleSize);
          fmt.setChannels(channels);
          return fmt;
      }
docs: Creates new format descriptor
  
  @param name the encoding
  @param sampleRate sample rate value in Hertz
  @param sampleSize sample size in bits
  @param channels number of channels