code: public void saveWaveform(Wave wave, int width, String filename) throws IOException {
  
      BufferedImage bufferedImage = renderWaveform(wave, width);
      saveWaveform(bufferedImage, filename);
    }
docs: Render a waveform of a wave file
  
  @param filename output file
  @throws IOException
  @see RGB graphic rendered