code: public int openForWrite(String Filename, WaveFile OtherWave)
  	{
  		return openForWrite(Filename, OtherWave.getSamplingRate(), OtherWave.getBitsPerSample(), OtherWave.getNumChannels());
  	}
docs: Open for write using another wave file's parameters...