フィルターのクリア

Want to read sequence of audio file from a folder

3 ビュー (過去 30 日間)
Odrisso
Odrisso 2015 年 6 月 11 日
回答済み: Walter Roberson 2015 年 6 月 12 日
Hi, I have a folder full of audio file. For example: AA01.wav, AA02.wav and so on.
Now, I want to read the audio file by using the 'audioread' comment.
I already specify the audio file folder and also read the files this way:
wav_folder = {'c:\Data\ABC'};
for i=1:length(wav_folder)
aa = dir(fullfile(wav_folder{i}, '*.wav'));
for j=1:length(aa)
acq_fn = fullfile(wav_folder{i}, fn_lst(j).name);
[p name ext] = fileparts(acq_fn);
Now I want to read the audio files one by one. Please let me know, How can I read the files. Thanks

採用された回答

Walter Roberson
Walter Roberson 2015 年 6 月 12 日
[signal, fs] = audioread(acq_fn);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by