Adioinfo of Sound File

조회 수: 2 (최근 30일)
Bilal
Bilal 2019년 1월 10일
댓글: Bilal 2019년 1월 27일
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
Geoff Hayes
Geoff Hayes 2019년 1월 13일
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 2019년 1월 27일
Thanks Geoff, I tried with short file name and it worked. Sorry for replying bit late as was busy.
Have a nice day!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by