I am getting the error message "Error using audioread (line 135) Could not seek in file. Sample accurate seeking is not supported for this file on the current platform." How can I resolve this?

I am trying to read audio files using the audioread function. I have added the folder where the file (*.wav) is to the MATLAB current folder and I am still getting this error message. What should I do?

 Accepted Answer

I suspect that you are passing in a second argument to audioread to indicate which samples you want to read. Instead of doing that, read the entire file and then throw away the samples you do not want.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!