Error using audioDatastore/read (line 25) Range requested is greater than the total number of samples in the file. TotalSamples is 0.
1 次查看(过去 30 天)
显示 更早的评论
When Im trying to classify gender of child, I extracted MFCC and f0 and trained the classifier with these features, but MY PROBLEM is when I want to use this trained model for test data sets its showing this error
Range requested is greater than the total number of samples in the file. TotalSamples is 0."
line 25: [audioIn,dsInfo] = read(adsTest);
Please help me out I was stucked here from few days.
5 个评论
jibrahim
2021-8-18
Let me clarify what I mean by using audioread:
Call audioread with the file name: audioread('myfile.wav'). Do not pass the datastore to audioread. I suspect something is wrong with one of your files.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!