How is audio data stored in matlab?

1 回表示 (過去 30 日間)
Febin Benjamin
Febin Benjamin 2013 年 8 月 14 日
is it stored in simple arrays or multidimensional arrays?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 14 日
編集済み: Azzi Abdelmalek 2013 年 8 月 14 日
[y,Fs] = audioread('YourAudioFile');
%Y is a nx1 or nx2 array
% Fs is a sample rate
To get the info of your audio file you can use
audioinfo('YourAudioFile')

その他の回答 (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