audiorecorder - no real stereo sampling?

Hi all,
working with the Matlab audiorecorder class I just noticed an issue:
The audiorecorder object is configured to sample 2 channels. After recording getaudiodata actually returns a [siglen x 2] signal vector. However, the second column in this signal vector is just a plain copy of the first one, i.e. no real stereo signal is recorded.
Using the same mic input for a recording (e.g. in Audacity) actually creates a real stereo signal on my machine.
Has anyone noticed a similar behaviour?
Thanks for your suggestions, cheers,
Philipp
Hardware: HP EliteBook 8540w, IDT audio codec
Software: Matlab R2009b, Windows XP SP3

댓글 수: 2

Daniel Shub
Daniel Shub 2012년 11월 15일
Are you sure? Unless you have a very unusual mic, your mic is mono and I would expect either noise or an identical signal on the other channel.
Philipp
Philipp 2012년 11월 15일
Actually that seems to be the case. My laptop only supports a mono input also on the mic jack and no additional stereo line in. The Audacity recording only created the illusion of a stereo signal. With audiorecorder the readings of both channels actually are identical.
Thanks, Philipp

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

제품

질문:

2012년 11월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by