audiowrite audio file create

13 visualizaciones (últimos 30 días)
Marco  Cornero
Marco Cornero el 26 de Nov. de 2015
Comentada: Marco Cornero el 26 de Nov. de 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 comentarios
Marco  Cornero
Marco Cornero el 26 de Nov. de 2015
if I open in matlab flux_adaptive_100.wav I obtain a column with constant value = 1
Marco  Cornero
Marco Cornero el 26 de Nov. de 2015
I found the solution!!! I had to write y=flux_adaptive_100(:,1)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by