Reading all the .wav files from a particular folder
조회 수: 9 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
KSSV
2019년 3월 22일
files = dir('*.wav') ;
N = length(files) ;
for i = 1:N
thisfile = files(i).name ;
% do what you want
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!