How do I record stereo from my sound card?
1 次查看(过去 30 天)
显示 更早的评论
Really simple title, oddly infuriating problem: I have my sound card set up to record stereo, and my {audiorecorder} object is =audiorecorder(44100,16,2,0). However, instead of the Y matrix being Y(:,1)=left part of signal and Y(:,2)=right part of signal, both columns of data are equal. After some testing, I found out that the "stereo" was actually a duplicated stereo mix of my L&R channels.
How do I take in both the L & R channels from my audio input without them mixing? Should I get another sound card (external)? What specs should I look for? To clarify, I'm 90% sure my internal sound card isn't capable of delivering unmixed channels to MATLAB.
0 个评论
回答(1 个)
Star Strider
2015-4-27
I would check your sound card driver and operating system sound recording options to be sure you are recording in stereo and not mixing.
Also, you obviously need two separate microphones or other different sound sources.
2 个评论
Star Strider
2015-4-28
I’m suggesting that you need two separate sound sources to record two separate and distinct channels in stereo. If MATLAB is only getting one signal, it will create two identical channels with the same data.
If you want to see your input capabilities, use the audiodevinfo function:
info = audiodevinfo
openvar info.input
Of course, you can also go into Control Panel (Windows) to see what your sound sources are. When I have my gaming headset connected, it reports two microphones; with it disconnected, one.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!