Reading all the .wav files from a particular folder

조회 수: 9 (최근 30일)
aditya chiruvolu
aditya chiruvolu 2019년 3월 22일
답변: KSSV 2019년 3월 22일
I am working on a project, where i am determining the Emotion of a Person based on his speech. Now I am having a folder with 100 voices. I am able to process for 1 .wav file, but I need to do that for all the .wav files present in that folder. How can I read all these .wav files, from that folder at once.

답변 (1개)

KSSV
KSSV 2019년 3월 22일
files = dir('*.wav') ;
N = length(files) ;
for i = 1:N
thisfile = files(i).name ;
% do what you want
end

카테고리

Help CenterFile Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by