Find size of a audio file

조회 수: 2 (최근 30일)
Kishore
Kishore 2011년 12월 6일
Hi all,
i was working on an audio file and landed in a position where i have to find the size of the file. How can i get the size of the audio file in matlab ?

채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 6일
For the special case of .wav files, you can use wavread():
siz = wavread(filename,'size') returns the size of the audio data contained in filename instead of the actual audio data, returning the vector siz = [samples channels].
  댓글 수: 1
Kishore
Kishore 2011년 12월 9일
Thank you

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

추가 답변 (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