Writer.to_wav_file
Create a writer to a file in WAV format with given number of channels, sample rate and file name.
method write : buffer -> int -> int -> unit
method close : unit