audiowrite audio file create

4 vues (au cours des 30 derniers jours)
Marco  Cornero
Marco Cornero le 26 Nov 2015
Commenté : Marco Cornero le 26 Nov 2015
I should create an audio file with audiowrite, to save the same sound I can hear with sound function. How should I set function parameters?
% code
load flux_adaptive_100
filename = 'flux_adaptive_100.wav';
audiowrite (filename,y,Fs);
clear y Fs
end
  10 commentaires
Marco  Cornero
Marco Cornero le 26 Nov 2015
if I open in matlab flux_adaptive_100.wav I obtain a column with constant value = 1
Marco  Cornero
Marco Cornero le 26 Nov 2015
I found the solution!!! I had to write y=flux_adaptive_100(:,1)

Connectez-vous pour commenter.

Réponses (0)

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