How do i generate a sound directed to one headphone?

1 次查看(过去 30 天)
Hi all, I need some help in order to generate a sound directed only to one headphone. I've already generated the sound wich i believe is in stereo:
amp=1 ;
Fs=10000 ;
t=0:1/Fs:2;
A=amp*sin(2*pi*440*t);
but i'm stuck here.
Thanx to all.

回答(1 个)

Nicolas B.
Nicolas B. 2019-12-4
try soundsc to do so.

类别

Help CenterFile Exchange 中查找有关 Code Generation and Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by