N/APosted on - 03/23/2013
Hi. I am working in Matlab and has created a 2 channel wave file. Now I am trying to change the file type from stereo to mono using different codes but the result is not correct as expected. Please suggest me how to convert stereo wav to mono Matlab. Any function or piece of code is available for it?
How to convert stereo wav file to mono Matlab?
If the stereo file you have is in from a .WAV file or is an mp3 file and is available from file exchange, you will see a two column matrix, Now, the channel on the left of the stereo you have is column 1 and on your right is column 2.
[Sound,Fs,Prec] = wavread('Myfile.wav');
Mono = (Sound(:,1)+Sound(:,2))/2;
Hope this will help you.