Need your HELP =(

3 views (last 30 days)
chewkaisheng
chewkaisheng on 8 Jun 2012
How can I play two sound together( x and y), if I'm started with this code:
[fname1,pathname]=uigetfile('.wav','choose a file'); [y,fs]=wavread(fname1);
[fname2,pathname]=uigetfile('.wav','choose a file'); [x,fs]=wavread(fname2);
How can I play x and y simultaneously ??
Thanks in advanced!!

Answers (1)

Thomas
Thomas on 8 Jun 2012
I do not think there is a way currently in Matlab to play two wav files simultaneously. It can be done by an external mixer and then saved as a single wav file that matlab can play.. (even then synchronization of the two sounds might be an issue..)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!