From: Leah Magalang on
I'm using sound(y, Fs) for mono. What would be the format of y if it is stereo?
My mono y is in format y=10*sin(2*pi*[line1,line2]) where line 1 and line 2 are 1xn matrix of notes/rests. What would be the new format?
From: us on
"Leah Magalang" <leah_cim_pup(a)yahoo.com> wrote in message <i38hr3$sak$1(a)fred.mathworks.com>...
> I'm using sound(y, Fs) for mono. What would be the format of y if it is stereo?
> My mono y is in format y=10*sin(2*pi*[line1,line2]) where line 1 and line 2 are 1xn matrix of notes/rests. What would be the new format?

well...
a hint:
- carefully read

help sound;
% in particular section
%{
....
Stereo sounds are played, on platforms
that support it, when Y is an N-by-2 matrix.
....
%}
% then, think how to change your syntax...

us