I looked at NAudio classes, but could not see a class that converts an array of bytes into a WAV file. If there is no such class, how can I convert a byte array to a WAV file using NAudio?
I want to send the text in RS232 as bytes, then I will return these bytes to the byte[] buffer. After receiving the data, I want to save it as a WAV file using NAudio.
I tried using the WaveBuffer class, but I think I'm wrong.
source share