MATLAB Answers

How do i generate a sound directed to one headphone?

3 views (last 30 days)
Gabriele Testa
Gabriele Testa on 4 Dec 2019
Answered: Nicolas B. on 4 Dec 2019
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.

  0 Comments

Sign in to comment.

Answers (1)

Nicolas B.
Nicolas B. on 4 Dec 2019
try soundsc to do so.

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by