Filter löschen
Filter löschen

how to calculate the compression ration of audio file?

7 Ansichten (letzte 30 Tage)
saf asalah
saf asalah am 14 Dez. 2016
Kommentiert: José-Luis am 14 Dez. 2016
i'm doing compression to some audio files how to calculate the compression ration of audio file?

Antworten (1)

Jan
Jan am 14 Dez. 2016
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 Kommentare
saf asalah
saf asalah am 14 Dez. 2016
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 am 14 Dez. 2016
Pretty much, provided you are happy to include the header information in the ratio.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by