Accepted Answer

audioread() needs to read complete audio file. You can get 200 samples after the file is loaded
[y, fs] = audioread(filename);
y200 = y(1:200);

2 Comments

Thank you so much brother. It works
I am glad to be of help!

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!