audiowrite audio file create

7 Ansichten (letzte 30 Tage)
Marco  Cornero
Marco Cornero am 26 Nov. 2015
Kommentiert: Marco Cornero am 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 Kommentare
Marco  Cornero
Marco Cornero am 26 Nov. 2015
if I open in matlab flux_adaptive_100.wav I obtain a column with constant value = 1
Marco  Cornero
Marco Cornero am 26 Nov. 2015
I found the solution!!! I had to write y=flux_adaptive_100(:,1)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by