Need your HELP =(

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

0 votes

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..)

Asked:

on 8 Jun 2012

Community Treasure Hunt

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

Start Hunting!