I have matlab ala stereo audio input:
aud=analoginput('winsound',0); addchannel(aud,1:2)
When I finished doing this and ask
aud_data=getdata(aud);
I get an array showing all the data from both channels. I have confirmed that this data is, in fact, the actual stereo signal that I want.
However, if I run
aud_peek=peekdata(aud,some_number_of_samples);
while the data is being collected, it seems to me that I only get data with one channel, although MathWorks says I need to get two .
Any thoughts on why this is happening?
I am using Matlab 7.
source share