public WaveFile(int channels, int bitsPerSample, int sampleRate) { header = new WaveHeader(); fmt = new WavefmtSubChunk(channels, bitsPerSample, sampleRate); }