Réponse acceptée

Ameer Hamza
Ameer Hamza le 26 Nov 2020

1 vote

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 commentaires

S.M. Miran-Ul-Hasan Sajoy
S.M. Miran-Ul-Hasan Sajoy le 26 Nov 2020
Thank you so much brother. It works
Ameer Hamza
Ameer Hamza le 26 Nov 2020
I am glad to be of help!

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by