Export Audio with Volume Automation
Afficher commentaires plus anciens
Dear Community,
I would like to print a sinewave with volume automation in mathlab. I am already able to print a stereo wave file with a fixed amplitude. Is it possible to set time points with corresponding amplitude values?
fs = 44100;
i=1/fs;
t = 0:i:2;
phi = 0;
A = 1;
f = 220.0000;
x = A*sin((2*pi*f*t) + phi);
f = 220.0000;
y = A*sin((2*pi*f*t) + phi);
stereo_mtx = [x(:), y(:)];
audiowrite('stereo sound 3.wav', stereo_mtx, fs);
Any help is much appreciated! Thanks
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Audio Processing Algorithm Design dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!