필터 지우기
필터 지우기

how to calculate the compression ration of audio file?

조회 수: 7 (최근 30일)
saf asalah
saf asalah 2016년 12월 14일
댓글: José-Luis 2016년 12월 14일
i'm doing compression to some audio files how to calculate the compression ration of audio file?
  댓글 수: 1
José-Luis
José-Luis 2016년 12월 14일
Isn't it a matter of comparing file size before and after?

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

답변 (1개)

Jan
Jan 2016년 12월 14일
The compression ratio is the ratio between the size of tzhe compressed file or data and the uncompressed version. If you re-compress an MP3 file, it does not only concern the both file sizes.
You have to define, if the header information (e.g. tags etc) of MP3 files is included or not.
  댓글 수: 2
saf asalah
saf asalah 2016년 12월 14일
thanks Simon my audio file is a wav file i need matlab code for compression ratio? is it size(compressed)/size(uncompressed)?
José-Luis
José-Luis 2016년 12월 14일
Pretty much, provided you are happy to include the header information in the ratio.

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

카테고리

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