public WAVCreator(short formatAudio, short channels, int frequency, short bitspersample, uint time, int formWAV, string path) { Header = CreateHeader(formatAudio, channels, frequency, bitspersample); Form = (FormWAV)formWAV; CreateSamples(time); WAVFile.WriteFile(path, Header, Buffer); }