Effacer les filtres
Effacer les filtres

How do i generate a sound directed to one headphone?

2 vues (au cours des 30 derniers jours)
Gabriele Testa
Gabriele Testa le 4 Déc 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.

Réponses (1)

Nicolas B.
Nicolas B. le 4 Déc 2019
try soundsc to do so.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by