While going over all questions and answers related to "Mixing 2 wav files", most of the answers suggested - convert bytes from each wav file to shorts, get average of the shorts and write to output byte array. I also read that in multi channel uncompressed PCM wav files (2 channel 16 bit and 44100 samples per second ) in my case, the data for each channel is stored in interlaced format, so in the data chunk- the first byte would be for channel 1, second for channel 2, third for channle 1, 4th for ch2 and so on. To get the fastest conversion - most suggested using either Buffer.BlockCopy or Array.ConvertAll as options.
Won't this actually distort the data? As the 1st short value would actually be byte ch1 + byte ch2. And so also for the other file - when the addition is done- for the averaging- we are basically forcing the overflow from the channel 2 bytes to go onto channel1 bytes thus distorting data in both channels.
I tried the above options and I get a noticeable distortion of the signal at the area of overlap between 2 files that I want merged.
Once alternative I think which would keep the channel data separate is to first divide the byte data by 2 and then add..and write to the output, going to try this out now and will post.