How do i generate a sound directed to one headphone?

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Nicolas B.
Nicolas B. il 4 Dic 2019
try soundsc to do so.

Categorie

Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by