audiowrite audio file create

조회 수: 10 (최근 30일)
Marco  Cornero
Marco Cornero 2015년 11월 26일
댓글: Marco Cornero 2015년 11월 26일
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
Marco  Cornero
Marco Cornero 2015년 11월 26일
if I open in matlab flux_adaptive_100.wav I obtain a column with constant value = 1
Marco  Cornero
Marco Cornero 2015년 11월 26일
I found the solution!!! I had to write y=flux_adaptive_100(:,1)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by