I've done some reading, but I can't figure out how to blend 2 wav files into one. Someone suggested to get samples from both files (on the same position), then get average and write into new file (to the same position).
Could you give me an example? Especially about the average part.