Adioinfo of Sound File

2 visualizaciones (últimos 30 días)
Bilal
Bilal el 10 de En. de 2019
Comentada: Bilal el 27 de En. de 2019
Hi All Superb people,
I am trying to get information of audio file placed in Matlab directory but I am getting error, below is the short code.
[y,Fs]= audioread('C:\Program Files\MATLAB\sad panicky lamb separated from mother by fence directions mother Anhya and ivan.wav')
sound(y,Fs);
info = audioinfo('C:\Program Files\MATLAB\sad panicky lamb separated from mother by fence directions mother Anhya and ivan.wav');
info=
Any help would be apperciated.
  2 comentarios
Geoff Hayes
Geoff Hayes el 13 de En. de 2019
Bilal - what is the error message? One problem could be the length of your wav file name and all those spaces in it. Try replacing the name of the file to something simpler (one word?) and/or replace the spaces (in the actual file name) with underscores.
Bilal
Bilal el 27 de En. de 2019
Thanks Geoff, I tried with short file name and it worked. Sorry for replying bit late as was busy.
Have a nice day!

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by