audiowrite audio file create

6 ビュー (過去 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 Center および File ExchangeAudio 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