Respuesta aceptada

Ameer Hamza
Ameer Hamza el 26 de Nov. de 2020

1 voto

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 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by