I am doing my project on audio classification using machine learning algorithms. I have audio dataset which contains many folders i want to use folder names as labels but i am not able to use audioDatastore in MATLAB 2017a. Can anyone please help?

I used fileDatastore to store data ads= fileDatastore(filename,'ReadFcn',@importAudioFile,'FileExtensions','.wav','IncludeSubfolders',1)

Answers (1)

i have test this code: fileDatastore(filename,'ReadFcn',@load,'FileExtensions','.wav','IncludeSubfolders',1) it may help you

2 Comments

Thank you for answering. I loaded data and my data contains few folders. My question is how can i use those folder names as labels to classify in MATLAB 2017a?
Af of now 2017a doesnot support AudioDatastore. so i am working in project voice recognition i use alexnet for train image . i extract audio feature in some way then resize it write it back to image save in folder as same labels. then use it for train in my network. hope u can use it as a way to approach to ur solution

Sign in to comment.

Categories

Asked:

on 4 Oct 2018

Commented:

on 26 Oct 2018

Community Treasure Hunt

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

Start Hunting!